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

react-native-notificare-geo targets play-services-location:21.0.1, but other RN dependencies have a maximum of play-services-location:20.0.0 #70

Closed
CriusNyx opened this issue May 6, 2024 · 2 comments
Assignees

Comments

@CriusNyx
Copy link

CriusNyx commented May 6, 2024

I am trying to integrate react-native-notificare-geo into my react native project. However I am having some trouble because of a dependency collection.

react-native-notificare-geo has a transitive dependency through notificare-geo-gms for com.google.android.gms:play-services-location:21.0.1 on Android.

However react-native-maps has a maximum supported version of com.google.android.gms:play-services-location:20.0.0.

Using a version higher then 20.0.0 causes react-native-maps to trigger a system crash.

Using a version lower then 21.0.1 causes react-native-notificare-geo to cause a system crash.

Could you please help me resolve this conflict.

-RJ

-Edit: It looks like it's react-native-geolocation-services that has a limit on the maximum version it supports.

@Y-Smirnov Y-Smirnov self-assigned this May 7, 2024
@Y-Smirnov
Copy link
Contributor

Hello @CriusNyx

It seems like react-native-maps is using play-services-location 21.0.1.
Please make sure you are using the latest version.

The react-native-geolocation-services has not been updated for a while.
Although this is not related to our SDK, upon examining their documentation and issue section, it appears that you can resolve this by setting the version.

Please follow the link below to their documentation:
https://github.com/Agontuk/react-native-geolocation-service/blob/master/docs/setup.md#android

Also, you may take a look at existing issues, for example:
Agontuk/react-native-geolocation-service#424

@CriusNyx
Copy link
Author

CriusNyx commented May 7, 2024

Thank you so much for the help.

I was able to update react-native-maps, and I substituted react-native-geolocation-services for another dependency.

@CriusNyx CriusNyx closed this as completed May 7, 2024
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

No branches or pull requests

2 participants