From b5060d35dc62f61bac7b12f324cc1e8288e8b69b Mon Sep 17 00:00:00 2001 From: Libin Lu Date: Mon, 20 Jun 2016 09:43:08 -0400 Subject: [PATCH] pod file readme --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 454ac87..e077df4 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,11 @@ protected void onNewIntent(Intent intent){ <--add ## IOS Configuration install pod 'Firebase/Messaging' +NOTE: make sure cocoapods version > 1.0 +``` +cd ios && pod init +pod install Firebase/Messaging +``` in AppDelegate.m add ``` @@ -179,8 +184,6 @@ NOTE: it is recommend not to rely on `data` payload for click_action as it can b ## Q & A #### My android build is failing Try update your SDK and google play service -#### My ios build cannot find header file -Try to update cocapods > 1.0, clean project and rebuild #### I can't get notification when app is killed If you send notification with `data` only, you can only get the data message when app is in foreground or background. Killed app doesn't trigger FCMNotificationReceived. Seems that is how FCM works today #### App running in background doesn't trigger `FCMNotificationReceived` when receiving hybrid notification [Android] -- 2.26.2