react-native-fcm: error states that I need to add "remote notification" to Info.plist

here is the 5th error message I’ve received trying to install this module. This first 4 I was able to resolve. using RN33 with fcm2.1.0

2016-09-21 15:15:57.781 Hyr[46044:5282187] You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
2016-09-21 15:15:57.806 Hyr[46044:5282187] Could not locate configuration file: 'GoogleService-Info.plist'.
2016-09-21 15:15:57.825 Hyr[46044:5282187] *** Terminating app due to uncaught exception 'com.firebase.core', reason: '[FIRApp configure] could not find a valid GoogleServices-Info.plist in your project. Please download one from https://console.firebase.google.com/.'

My GoogleService file is there next to Info.plist

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 15 (5 by maintainers)

Most upvoted comments

You can also drag the GoogleService file into your project in Xcode

that is the reason. new import is only available in xcode i suggest you upgrade to support iOS 10 otherwise you need go down to lower package version