Compatibility with react-native-firebase
See original GitHub issue| Version | 0.21.1 | | Affected OS | Android | | OS Version | 7.0 |
Hi, I’m trying to use this library and react-native-firebase in my project. But when I try to compile, I get this error
* What went wrong:
Execution failed for task ':react-native-device-info:processReleaseResources'.
> Error: more than one library with package name 'com.google.android.gms.license'
If I uninstall any of the 2, then the other one works.
Does anyone know how to fix it?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:37
Top Results From Across the Web
React Native Firebase
React Native Firebase is the officially recommended collection of packages that brings React Native support for all Firebase services on both Android and ......
Read more >[ ] RN 0.65 compatibility coming with react-native-firebase ...
Issue Hello, the react-native 0.65.0 is showing a warning because of this library with the message: "new NativeEventEmitter() was called ...
Read more >@react-native-firebase/app - npm
A well tested, feature rich Firebase implementation for React Native, supporting iOS & Android. Individual module support for Admob, ...
Read more >How to Build a React Native App and Integrate It with Firebase
In this tutorial, we are going to build a React Native app that is integrated with a Firebase backend. The app will support...
Read more >Integrating Firebase with React Native - JScrambler Blog
Firebase is a Backend as a Service (BaaS) that provides an advantage to mobile developers who use React Native for developing mobile ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jurajkrivda Thanks so much for pointing me in the right direction, all I ended up needing to add was this line to my
android/gradle.properties
file:Found the version number by looking in this folder (Mac) for which version was the latest:
~/Library/Android/sdk/extras/google/m2repository/com/google/android/gms/play-services
I also didn’t end up needing to exclude the
com.google.android.gms
group.Seeing the same issue, but am not using react-native-firebase. Tried adding the following to no avail: