invertase / react-native-firebase-starter

DEPRECATED: For RNFB v5 only.
https://rnfirebase.io/docs
Other
1.17k stars 335 forks source link

Program type already present: io.invertase.firebase.database.RNFirebaseDatabase$7 #102

Closed denizbas92 closed 5 years ago

denizbas92 commented 5 years ago

"react-native": "0.58.5", "react-native-firebase": "5.2.2",

I cloned this react-native-firebase-starter and I started working on it. When I try to get apk file for android, the error as shown above appears and I could not get apk file. Is there any solution ?

uguraktas commented 5 years ago

I have same problem but for admob

Riyaz619 commented 5 years ago

did you use react-native link command?

Faced the same problem rebuild the project from the starter package again and still got the same error, On multiple trials found that using react-native link is causing this problem couldn't figure out how to solve this but you can avoid using react-native link command if you have some libraries to link to project link them individually.

denizbas92 commented 5 years ago

I have same problem but for admob

Did you find any solution ?

hindsricardo commented 5 years ago

Can someone please answer this

pedro-lb commented 5 years ago

We had the same problem, but for admob. Didn't find any solution.

In our case we were trying to use React Native Push Notifications along with React Native Firebase.

We ended up using the Firebase notification method, because we couldn't install the other package.

mikehardy commented 5 years ago

I believe this is a gradle cache issue actually

https://github.com/invertase/react-native-firebase/issues/1859#issuecomment-506624299