Tap Mapbox > Mapbox Telemetry > Accept while targeting Android 31+, running on Android 12+.
You will get the following exception:
E Unity : AndroidJavaException: java.lang.IllegalArgumentException: com.x.x: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
E Unity : 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.
E Unity : java.lang.IllegalArgumentException: com.x.x: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
E Unity : 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.
E Unity : at android.app.PendingIntent.checkPendingIntent(PendingIntent.java:461)
E Unity : at android.app.PendingIntent.getBroadcastAsUser(PendingIntent.java:764)
E Unity : at android.app.PendingIntent.getBroadcast(PendingIntent.java:751)
E Unity : at com.mapbox.andro
I know this project is dead but documenting here in case anybody has resolved, or in case I do later.
Tap Mapbox > Mapbox Telemetry > Accept while targeting Android 31+, running on Android 12+.
You will get the following exception:
E Unity : AndroidJavaException: java.lang.IllegalArgumentException: com.x.x: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. E Unity : 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. E Unity : java.lang.IllegalArgumentException: com.x.x: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. E Unity : 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. E Unity : at android.app.PendingIntent.checkPendingIntent(PendingIntent.java:461) E Unity : at android.app.PendingIntent.getBroadcastAsUser(PendingIntent.java:764) E Unity : at android.app.PendingIntent.getBroadcast(PendingIntent.java:751) E Unity : at com.mapbox.andro
I know this project is dead but documenting here in case anybody has resolved, or in case I do later.