Closed AdamGorkoz closed 8 years ago
Please run adb logcat
in terminal to get some logs when the app crashes
Got this log :
Cant really make anything of it
You have android/app/google-services.json
file, right?
I was missing that file , but now i have a different error while running react-native run-android :
and in the packager :
Please try cleaning the project
cd android
./gradlew clean
Ok that did the trick , But i'm not getting the token though , Should this work on an emulator (using genymotion) ?
No, it doesn't work on Genymotion if you don't install Google Play service on it. https://github.com/oney/react-native-gcm-android/issues/21#issuecomment-169751762
If you still have problem, please reopen it. Thanks!
Hi all ,
I've followed the setup guide and installed all that is needed but i've encountered a problem where when this line runs : GcmAndroid.requestPermissions(); the application crashes.
any ideas ?