Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set PendingIntent flag explicitly as required by Google for API31+ #65

Merged
merged 1 commit into from
Jan 16, 2023

Conversation

emilsaj
Copy link
Contributor

@emilsaj emilsaj commented Jan 7, 2023

How to reproduce:
Startup app with the plugin on device running Android 12 API31 (or higher) and it will give the following error on startup and crash the app entirely:

Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent

I have also mentioned this in discussion for #25

@emilsaj
Copy link
Contributor Author

emilsaj commented Jan 7, 2023

This is also dependent on pull request #26 as it will still not work if that is request is not merged.

@phiamo phiamo merged commit a689adc into phiamo:main Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants