react-native-fcm icon indicating copy to clipboard operation
react-native-fcm copied to clipboard

Android app crashes at starting after using the react-native-fcm

Open manojbhardwaj opened this issue 6 years ago • 8 comments

  1. What version of RN and react-native-fcm are you running? I am using latest react-native-fcm
  2. What device are you using? (e.g iOS9 emulator, Android 6 device)? Android 6 device , Android 7 device (Both device)

manojbhardwaj avatar Mar 21 '18 09:03 manojbhardwaj

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' } } } }

ewu-tarun avatar Mar 21 '18 10:03 ewu-tarun

@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 avatar Mar 21 '18 10:03 manojbhardwaj

@manojbhardwaj You need send more information (Log exception)

sy92th avatar Mar 21 '18 10:03 sy92th

ok let me check sir

manojbhardwaj avatar Mar 21 '18 10:03 manojbhardwaj

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.

iuraya avatar Mar 26 '18 15:03 iuraya

You can check your problem in here https://stackoverflow.com/questions/43164577/looping-error-on-android-emulator/45462655#45462655

sy92th avatar Mar 26 '18 16:03 sy92th

Same issue

stanshivam avatar May 30 '18 09:05 stanshivam

@TarunDas005 You saved my life. Thanks :)

Madhavan-reactiveworks avatar Apr 26 '19 07:04 Madhavan-reactiveworks