Trail Connect(com.tracedetrail.trailconnect): app does not load the map
- /e/ version: 1.7
- Device model(s): FP4
Summary
Trail connect map does not load with /e/OS. This app is developed with Flutter. The app seems to crash due to the mapbox telemetry. tested with Advanced Privacy tackers ON and OFF then it leads to the same crash.
The problem
Steps to reproduce
Open the app and tap on Map section.
What is the current behavior?
The map is not loaded.
What is the expected correct behavior?
The mapbox map is loaded.
Technical informations
Relevant logs (adb logcat
)
01-12 11:25:11.085 14648 14648 D GmsDynamiteLoaderImpl: createModuleContext for com.google.android.gms.maps_dynamite at version 1
01-12 11:25:11.087 14648 14648 W il.trailconnec: Unsupported class loader
01-12 11:25:11.198 14648 14648 W il.trailconnec: Unsupported class loader
01-12 11:25:11.205 14648 14648 D GmsMapCreator: initV2 12451000
01-12 11:25:11.208 14648 14648 D GmsMapCreator: Mapbox-based Map initialized (preferred renderer was 0)
01-12 11:25:11.208 14648 14648 D e : loadedRenderer: LATEST
01-12 11:25:11.208 14648 14648 D e0 : preferredRenderer: null
01-12 11:25:11.214 14648 14648 D GmsMapView: onCreate: lat/lng: (46.377254,2.592773)
01-12 11:25:11.245 14648 14992 W CrashReporter: Root directory doesn't exist
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: Error occurred while initializing telemetry
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: java.lang.IllegalArgumentException: com.tracedetrail.trailconnect: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at android.app.PendingIntent.checkFlags(PendingIntent.java:375)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at android.app.PendingIntent.getBroadcastAsUser(PendingIntent.java:645)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at android.app.PendingIntent.getBroadcast(PendingIntent.java:632)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at com.mapbox.android.telemetry.AlarmSchedulerFlusher.register(AlarmSchedulerFlusher.java:31)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at com.mapbox.android.telemetry.MapboxTelemetry.startAlarm(MapboxTelemetry.java:375)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at com.mapbox.android.telemetry.MapboxTelemetry.startTelemetry(MapboxTelemetry.java:369)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at com.mapbox.android.telemetry.MapboxTelemetry.enable(MapboxTelemetry.java:113)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at com.mapbox.mapboxsdk.module.telemetry.TelemetryImpl.<init>(TelemetryImpl.java:33)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at com.mapbox.mapboxsdk.ModuleProviderImpl.obtainTelemetry(ModuleProviderImpl.java:22)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at com.mapbox.mapboxsdk.Mapbox.initializeTelemetry(Mapbox.java:167)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at com.mapbox.mapboxsdk.Mapbox.getInstance(Mapbox.java:64)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at org.microg.gms.maps.mapbox.GoogleMapImpl$1.invoke(GoogleMap.kt:128)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at org.microg.gms.maps.mapbox.GoogleMapImpl$1.invoke(GoogleMap.kt:127)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at org.microg.gms.maps.mapbox.GoogleMapKt.runOnMainLooper(GoogleMap.kt:65)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at org.microg.gms.maps.mapbox.GoogleMapImpl.<init>(GoogleMap.kt:127)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at org.microg.gms.maps.mapbox.MapViewImpl.onCreate(MapView.kt:37)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at com.google.android.gms.maps.internal.IMapViewDelegate$Stub.onTransact(IMapViewDelegate.java:110)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at org.microg.gms.maps.mapbox.MapViewImpl.onTransact(MapView.kt:60)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at android.os.Binder.transact(Binder.java:1064)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at b3.a.W(Unknown Source:7)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at g3.i0.S(Unknown Source:8)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at f3.l.S(Unknown Source:10)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at u2.g.a(Unknown Source:8)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at u2.f.a(Unknown Source:33)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at f3.m.q(Unknown Source:46)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at f3.m.a(Unknown Source:2)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at u2.a.o(Unknown Source:44)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at u2.a.c(Unknown Source:5)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at f3.d.b(Unknown Source:22)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at io.flutter.plugins.googlemaps.GoogleMapController.j(Unknown Source:8)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at androidx.lifecycle.FullLifecycleObserverAdapter.l(Unknown Source:52)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at androidx.lifecycle.h$a.a(Unknown Source:14)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at androidx.lifecycle.h.a(Unknown Source:92)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at io.flutter.plugins.googlemaps.GoogleMapController.e0(Unknown Source:6)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at io.flutter.plugins.googlemaps.f.a(Unknown Source:12)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at io.flutter.plugins.googlemaps.i.a(Unknown Source:116)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at io.flutter.plugin.platform.o$a.f(Unknown Source:50)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at k6.k$a.c(Unknown Source:116)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at k6.k$a.Q(Unknown Source:175)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at l6.k$a.a(Unknown Source:17)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at y5.c.l(Unknown Source:18)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at y5.c.m(Unknown Source:20)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at y5.c.i(Unknown Source:0)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at y5.b.run(Unknown Source:12)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at android.os.Handler.handleCallback(Handler.java:938)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at android.os.Handler.dispatchMessage(Handler.java:99)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at android.os.Looper.loopOnce(Looper.java:201)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at android.os.Looper.loop(Looper.java:288)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at android.app.ActivityThread.main(ActivityThread.java:7870)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at java.lang.reflect.Method.invoke(Native Method)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
01-12 11:25:11.246 14648 14648 E Mbgl-Mapbox: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
01-12 11:25:11.261 14648 14648 D GmsMultiArchLoader: Loading mapbox-gl from /data/user/0/com.tracedetrail.trailconnect/cache/.gmscore/lib/arm64-v8a/libmapbox-gl.so
01-12 11:25:11.264 14648 14648 W il.trailconnect: type=1400 audit(0.0:26065): avc: granted { execute } for path="/data/data/com.tracedetrail.trailconnect/cache/.gmscore/lib/arm64-v8a/libmapbox-gl.so" dev="dm-44" ino=188248 scontext=u:r:untrusted_app:s0:c18,c256,c512,c768 tcontext=u:object_r:app_data_file:s0:c18,c256,c512,c768 tclass=file app=com.tracedetrail.trailconnect
Edited by Nicolas Gelot