Default FirebaseApp is not initialized in this process. Make sure to call FirebaseApp.initializeApp(Context) first.
See original GitHub issuemy react native apps build was success, no error. but when I try example code in example folder, I got above error Default FirebaseApp is not initialized in this process. Make sure to call FirebaseApp.initializeApp(Context) first.
if I put apply plugin: 'com.google.gms.google-services'
line in the end of android/app/build.gradle, I got an error when built it, but when I commented it, its going well.
@evollu @benoist @ibratoev @radev @zaro @jerolimov
what should I do? its been 3 days im working on it
here is my package.json
{
"dependencies": {
"firebase": "^4.3.0",
"moment": "^2.18.1",
"react": "16.0.0-alpha.12",
"react-native": "0.47.2",
"react-native-camera": "git+https://github.com/lwansbrough/react-native-camera.git",
"react-native-elements": "^0.16.0",
"react-native-fcm": "^9.1.0",
"react-native-fetch-blob": "^0.10.8",
"react-native-google-signin": "^0.12.0",
"react-native-linear-gradient": "^2.2.0",
"react-native-progress": "^3.4.0",
"react-native-tabs": "^1.0.9",
"react-native-vector-icons": "^4.3.0",
"react-navigation": "^1.0.0-beta.11",
"react-redux": "^5.0.6",
"redux": "^3.7.2",
"redux-thunk": "^2.2.0"
},
"devDependencies": {
"babel-jest": "20.0.3",
"babel-preset-react-native": "3.0.1",
"jest": "20.0.4",
"react-test-renderer": "16.0.0-alpha.12"
},
"jest": {
"preset": "react-native"
}
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Default FirebaseApp is not initialized - android - Stack Overflow
Make sure to call FirebaseApp.initializeApp(Context) first. in our Android app in which we just added Firebase Remote Config. The stack trace is as...
Read more >How can I fix 'Default FirebaseApp is not initialized in ... - MSDN
1.Package name in AndroidManifest.xml is identical to one in the google-services.json ; 2. google-services.json build action is set to ...
Read more >Default FirebaseApp is not initialized in this process. Make ...
The Firebase SDK should be initialised automatically on Android. I'd suggest checking your application's startup logs to make sure there aren't ...
Read more >FirebaseApp is not initialized in this process. Make sure to call ...
Firebase – Default FirebaseApp is not initialized in this process. Make sure to call FirebaseApp.initializeApp(Context) first. firebasexamarinxamarin.forms.
Read more >FirebaseApp - Google
Use of Firebase in processes other than the main process is not supported and will ... Returns the default (first initialized) instance of...
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
apply plugin: 'com.google.gms.google-services'
is required. try apply it on the top?I had to add the following lines to
MainApplication.java
to get it working: