-
Notifications
You must be signed in to change notification settings - Fork 564
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
SDK 31 - Android 12 specify an explicit value for android:exported
#571
Comments
If anyone is experiencing the same problem, I solved it by patching this package with :
|
I tried this one, unlucky for me not working on my end. Do you have any suggestion? |
I solved it by
OR add android:exported="true" in /node_modules/@mauron85/react-native-background-geolocation/android/lib/src/main/AndroidManifest.xml I hope it's working. |
This
I have tried this but still i'm getting this error
|
|
Solved using this thanks ! |
hi, is there a way we can get this in the library and not update the AndroidManifest.xml manually? |
@fatinfarzanaazizan You can update your react native version if you don't want to update manually |
@avaiyakapil thanks. can you help to explain how would that help? would it also help solving |
@fatinfarzanaazizan Did you find a solution to the |
@adewalebanjo no, still having this issue unfortunately. |
@fatinfarzanaazizan the same issue for me |
Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE Any solution? |
Your Environment
Context
I am trying to run my app on Android after installing the package. I had a few errors that I solved with answers of other issues but I'm stuck with this one :
Not like the example app, I'm trying to compile with the SDK 31. I couldn't find any example using higher than 28 but it is mandatory for me. My build.gradle ext looks like :
My dependencies are (I'm using react-native-maps if that could be a problem) :
I also added :
to the setting.gradle to solve another issue.
Expected Behavior
Build successfully
Actual Behavior
Error
Possible Fix
No idea.
Steps to Reproduce
Context
Debug logs
The text was updated successfully, but these errors were encountered: