Skip to content

Conversation

@tarigo
Copy link
Contributor

@tarigo tarigo commented May 26, 2021

Fixes #532.

@tarigo tarigo self-assigned this May 26, 2021
@tarigo tarigo force-pushed the tarigo_android_12_fixes branch 2 times, most recently from 261d615 to 00c7817 Compare May 26, 2021 14:44
@tarigo tarigo requested a review from tobrun May 26, 2021 14:45
@tarigo tarigo force-pushed the tarigo_android_12_fixes branch from 00c7817 to f22b39f Compare May 26, 2021 15:42
@tarigo tarigo added the bug label May 26, 2021
@tarigo tarigo requested review from mr1sunshine and nagineni May 26, 2021 15:56
Copy link
Member

@tobrun tobrun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@tarigo tarigo merged commit 44f0159 into main May 27, 2021
@tarigo tarigo deleted the tarigo_android_12_fixes branch May 27, 2021 06:27
return PendingIntent.getBroadcast(applicationContext, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT);
int flags = PendingIntent.FLAG_UPDATE_CURRENT;
if (BuildCompat.isAtLeastS()) {
flags |= 33554432; //TODO: replace with PendingIntent.FLAG_MUTABLE after Android 12 release
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tarigo Should we cut a ticket so we don't forget? BTW Android 12 is officially released 🎉

@wangyijenny
Copy link

I'm updating an app that used a very old version of mapbox. Do you know what the earliest version of Mapbox that would work with Android 12 is?

@tarigo
Copy link
Contributor Author

tarigo commented Aug 4, 2022

I'm updating an app that used a very old version of mapbox. Do you know what the earliest version of Mapbox that would work with Android 12 is?

https://github.com/mapbox/mapbox-events-android/releases/tag/telem-8.0.0-core-5.0.0

@Guardiola31337 Guardiola31337 changed the title [telemetry] Android 12 compartibility fixes. [telemetry] Android 12 compatibility fixes. Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐞 Android 12: PendingIntent mutability

4 participants