Add config in android/build.gradle
allprojects {
repositories {
configurations.all {
resolutionStrategy {
// Add force (11.4.0 is version you want to use)
force 'com.google.firebase:firebase-messaging:11.4.0'
force 'com.google.firebase:firebase-core:11.4.0'
force 'com.google.android.gms:play-services-gcm:11.4.0'
}
}
}
}
@TarunDas005 Yes i used for resolve this problem https://github.com/evollu/react-native-fcm/issues/857 and after that when my app is launching it's crashes at starting
@manojbhardwaj You need send more information (Log exception)
ok let me check sir
I'm facing the same problem. My output from adb logcat is:
com.google.android.apps.gsa.shared.exception.GsaIOException: Error code: 393238 | Buffer overflow, no available space.
You can check your problem in here
https://stackoverflow.com/questions/43164577/looping-error-on-android-emulator/45462655#45462655
Same issue
@TarunDas005 You saved my life. Thanks :)
Most helpful comment
Add config in android/build.gradle
allprojects { repositories { configurations.all { resolutionStrategy { // Add force (11.4.0 is version you want to use) force 'com.google.firebase:firebase-messaging:11.4.0' force 'com.google.firebase:firebase-core:11.4.0' force 'com.google.android.gms:play-services-gcm:11.4.0' } } } }