From 958f31247148a88734cf278a8cdc94f254e422cc Mon Sep 17 00:00:00 2001 From: Libin Lu Date: Mon, 30 Jan 2017 19:08:14 -0500 Subject: [PATCH] Update README.md --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 96a39ba..bf57d8c 100644 --- a/README.md +++ b/README.md @@ -458,7 +458,19 @@ Yes there are `react-native-push-notification` and `react-native-system-notifica - The PushNotificationIOS by react native team is still missing features that recurring, so we are adding it here #### My Android build is failing -Try update your SDK and google play service +Try update your SDK and google play service. If you are having multiple plugins requiring different version of play-service sdk, use force to lock in version +``` +dependencies { + ... + compile ('com.android.support:appcompat-v7:25.0.1') { + exclude group: 'com.google.android', module: 'support-v4' + } + compile ('com.google.android.gms:play-services-gcm:10.0.1') { + force = true; + } + ... +} +``` #### My App throws FCM function undefined error There seems to be link issue with rnpm. Make sure that there is `new FIRMessagingPackage(),` in your `Application.java` file -- 2.26.2