-
Notifications
You must be signed in to change notification settings - Fork 87
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
[Bug]: com.braze:android-sdk-location:+ causes crash #264
Comments
you need to remove this implementation "com.braze:android-sdk-ui:+" |
@amitmehtacode don't have that line in our code |
@marc-technocrat We'll look into how to make the location match the shipped version better. For now, can you set the location version to the Android SDK version that's specified in the release notes of the Braze React Native SDK? |
@bryanlogan Which version? This is working Would this be a temporary solution until you fix it on your backend? |
Yes, that would be a temporary solution. |
Hello @marc-technocrat et al, For each SDK wrapper, we do compatibility testing with each released version of the core native (android and iOS) Braze SDKs. You can see that version here. Until we make an official release of the upstream wrapper (in this case React), we do not recommend using a different version of the underlying native SDK. However, in order to fix your crash and be able to use the location library, we recommend adding this to your root level allprojects {
configurations.all {
resolutionStrategy {
force 'com.braze:android-sdk-ui:+'
}
}
} The cause of the crash is that our wrapper dependency is compiled against a different version than the latest, which is what the Please let us know if this fixes your issue, |
@radixdev |
Hi @marc-technocrat , That's excellent feedback and I've taken it to the team for review. I'll update this issue once we have more details/release date. |
Hey @marc-technocrat, we've just released version 12.2.0 which adds some safeguards around it. You can now let the Braze SDK conditionally import the precise version of I'll close out this issue but please reach back out if you have other questions. Thanks! |
Which Platforms?
Android
Which React Native Version?
0.73.9
Which @braze/react-native-sdk SDK version?
11.0.0
Repro Rate
100%
Steps To Reproduce
In app/build.gradle include
Expected Behavior
It should boot the app
Actual Incorrect Behavior
Crashes on launch
Verbose Logs
No response
Additional Information
Can see that this was required for Braze Location and geofence functionality.
https://www.braze.com/docs/developer_guide/platform_integration_guides/android/changelog/#2410
Team has steadily updated Braze.
The text was updated successfully, but these errors were encountered: