I'm currently trying to implement Firebase Cloud Messaging by following the official Firebase docs.
I installed certificates and provisioning profiles with Push Notifications enabled. I also installed all the necessary frameworks (FirebaseMessaging, Firebase) using CocoaPods, and they seem to work fine.
As an application delegate, I tried to initialize a Cloudbase Firebase token with the code below.
let token = FIRInstanceID.instanceID().token()!
I also included GCM, and GoogleService-Info.plist has a GCM sender id value.
The error I am getting is as follows:
2016-11-29 16: 11: 12.358 Firebasesample [3852: 122151] Firebase automatic on-screen reporting is enabled. Call + [FIRAnalytics setScreenName: setScreenClass:] to set the screen name or override the default screen class name. To disable automatic reporting on the screen, set the FirebaseAutomaticScreenReportingEnabled flag to NO in Info.plist
2016-11-29 16: 11: 12.419: Firebase incorrect message settings, nil senderID. fatal error: nil unexpectedly found while deploying optional value
Thank you in advance for any advice / help.
source
share