react-native-background-geolocation
react-native-background-geolocation copied to clipboard
Android 12 Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE crash
We are facing an issue which is Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. 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.
The error comes from -> com.intentfilter.androidpermissions.PermissionManager.notificationDismissIntent (PermissionManager.java:103)
com.transistorsoft.locationmanager.util.c$i.run (Unknown Source:15)
Does that library still not support Android 12?
Environment
- Plugin version: 4.4.4
- Platform: Android
- OS version: Android 12
- Device manufacturer / model: Samsung, Oppo, Xiaomi, Vivo
- React Native version (
react-native -v): 0.64.0
If you've purchased a license, the private repo has an updated version of android-permissions
Thanks for the reply @christocracy. You mean the 4.4.6 version right?
No, I mean 4.5.0, in the private repo, available to customers who've purchased a license.
Have you purchased a license?
Yes, we have purchased the license. We got the key to being able to use the SDK, However, I realized that we are using the version which is not required a license. I am shocked. Thanks for enlightening us. We will start using private repo.
We are in the same situation! We purchased the license. However, I did not know that there was a private repo. I searched the README for the information regarding this private repo and unfortunately I did not find anything.
Simply append "-android" to this gut repo url to hit the private repo (if you have access).
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You may also mark this issue as a "discussion" and I will leave this open.
Yes, we have purchased the license. We got the key to being able to use the SDK, However, I realized that we are using the version which is not required a license. I am shocked. Thanks for enlightening us. We will start using private repo.
I'm facing the same issue. So, We use the email when we purchase to access to the private repo. Is that right? Thanks cc: @christocracy
@christocracy how do we access the private repo? the email used to purchase the license needs to match with GitHub profile email, we can't use the npm package directly for android?
Using the following, but if I look into package android folder I see tslocationmanager-v21, what is the latest version? "react-native-background-geolocation": "^4.10.0",
The product admin can grant access to members in the Customer Dashboard, where keys are managed.