Background notifications not received on first open. Have to hard close and re-open app.
[REQUIRED] Step 1: Describe your environment
- Xcode version: 11.7
- Firebase SDK version: 6.33.0
- Firebase Component: Messaging
- Component version: 4.7.0
- Installation method: CocoaPods
- iOS: 13.7
[REQUIRED] Step 2: Describe the problem
Background notifications not received on first app open. You have to hard close and re-open the app before they start working.
Steps to reproduce:
Install and deploy the iOS Messaging Quickstart app to TestFlight.
https://github.com/firebase/quickstart-ios/tree/master/messaging
The only change to the code I made was to copy the FCM token to the clipboard on tapping "Log Token"
This was my process:
- Built and deployed the iOS quick start app to TestFlight.
- Deleted any existing version of the iOS quick start app on my device.
- Restarted device
- Installed the app from TestFlight
- Allowed notifications and tapped "Log Token" to copy the FCM Token to my clipboard
- Backgrounded the app
- Sent a test message (with just title and notification text set to "Test") to the FCM Token via Firebase console
- No notification received.
- Force quit the app.
- Re-open the app.
- Background the app.
- Send another message via Firebase console to same FCM token
- Notification received
When testing the app without TestFlight and just running from Xcode to my device I experienced inconsistent results. Sometimes the notification is received on first install/open and other times I have to quit the app and re-open it. However, via TestFlight it seems to be consistently not working following the steps above (I've repeated them 10 times without seeing any difference).
Happy to help with any extra information I can. As a heads up, I'm afraid I know very little about native development! I came across from this issue on the react-native-firebase repo - https://github.com/invertase/react-native-firebase/issues/4299
Just some further information that may be relevant:
I tried updating to iOS 14 to see if it would resolve the issue.
I updated to iOS 14, uninstalled the existing quick start messaging app. Restarted my device and reinstalled from TestFlight and followed the above steps. This time the notification came through on first app open.
I thought the iOS 14 update may have fixed it. However, on repeating the above steps it it failed to work again.
So I guess either:
- It's inconsistent (perhaps signifies some sort of race condition?)
- The first install after updating to iOS14 had some impact (perhaps things are cached/kept around even after deleting/restarting the device that is interfering? No idea if that's a bonkers suggestion or not!).
Following a comment here: https://github.com/invertase/react-native-firebase/issues/4299#issuecomment-697943288
I tried setting the podfile versions as follows:
pod 'Firebase/Analytics', '~> 6.27.0'
pod 'Firebase/Messaging', '~> 6.27.0'
Unfortunately made no difference.
Another potentially relevant bit of extra information: when I was testing this in my own app using react-native-firebase using the APNs token direct always worked on first open. It was only sending via FCM that didn't. Perhaps this suggests it's an issue linking the APNs token to the FCM token?
I've also tried disabling swizzling (adding FirebaseAppDelegateProxyEnabled=NO into Info.plist) and updating AppDelegate.m didRegisterForRemoteNotificationsWithDeviceToken to include [FIRMessaging messaging].APNSToken = deviceToken; (following https://firebase.google.com/docs/cloud-messaging/ios/client)
Unfortunately still experiencing the same issue.
Did you find any solution for this? I have the exact same issue.
Hi @ahmadworks - unfortunately not. I saw that you commented on https://github.com/invertase/react-native-firebase/issues/4299#issuecomment-699550474 saying that downgrading react-native-firebase worked for you.
As far as I can see, the older version react-native-firebase uses version 6.27.0 of the iOS SDK. Above (https://github.com/firebase/firebase-ios-sdk/issues/6553#issuecomment-698281362) I commented to say I tried using that version and still experienced the same issue (directly with the ios SDK - not with react-native-firebase)
It'd be great if you could also try repeating the steps I outlined above with the quick start iOS app to see if you have the same issue (with both the latest version and the older version of the SDK). That way it'll hopefully confirm if it's a reproducible issue or some quirk with my specific setup.
same issue here, also I'm having issue receiving the normal push notification too, the last working component was 4.6.2 so try this
pod 'Firebase/Messaging', '~> 6.32.2'
I just tried the Version 6.33.0 with new api Messaging.token(completion:) and this issue was gone.
I just tried the Version 6.33.0 with new api
Messaging.token(completion:)and this issue was gone.
Are you sure? I tried it many times and it's not working, the newest version that worked for me is 6.29.0. I think you need to try it twice because it works sometimes.
Are you sure? I tried it many times and it's not working, the newest version that worked for me is 6.29.0. I think you need to try it twice because it works sometimes.
Thank you for your reminder. I will try again many times today.
Are you sure? I tried it many times and it's not working, the newest version that worked for me is 6.29.0. I think you need to try it twice because it works sometimes.
Thank you for your reminder. I will try again many times today.
I am building with 6.33.0 now to confirm it for you. How did you try it? Just added $FirebaseSDKVersion = '6.33.0' to Podfile?
How did you try it? Just added $FirebaseSDKVersion = '6.33.0' to Podfile?
You can refer this commit: https://github.com/leyserkids/cordova-plugin-firebase/commit/124dd7247dd55159b661759f27491819833bbb5b
So you edited RNFirebase files! I though you were able to update to 6.33.0 with completion just form Podfile.
So you edited RNFirebase files! I though you were able to update to 6.33.0 with completion just form Podfile.
I am using Cordova. In addition to update pod package, I also did using the new api Messaging.token(completion:) to get fcm token.
Sorry, I thought you are replying to my comment on Invertase Firebase plugin.
Hey all, sorry for the slow response to this issue. Can you share some app logs on the first launch of your app (where silent notifications don't work) and subsequent launches (where notifications are received as expected)?
@morganchen12 Here are some logs. With setLoggerLevel:FIRLoggerLevelMax the difference with following two sample can refer this commit https://github.com/leyserkids/cordova-plugin-firebase/commit/124dd7247dd55159b661759f27491819833bbb5b
btw. I has deleted some row not related to Firebase
0x01. Using Version 6.32.2 and use [FIRInstanceID instanceID] instanceIDWithHandler] to get token
The notification can not received
2020-09-30 20:18:31.922470+0900 LeySerKids-P[2611:143418] FirebasePlugin[native] LOG: Starting Firebase plugin
2020-09-30 20:18:31.922529+0900 LeySerKids-P[2611:143418] [CDVTimer][firebaseplugin] 0.082016ms
2020-09-30 20:18:31.960228+0900 LeySerKids-P[2611:143418] FirebasePlugin[native] LOG: GoogleService-Info.plist found, setup: [FIRApp configureWithOptions]
2020-09-30 20:18:31.966475+0900 LeySerKids-P[2611:143699] 6.32.0 - [Firebase/Core][I-COR000001] Configuring the default app.
2020-09-30 20:18:32.014230+0900 LeySerKids-P[2611:143697] 6.32.0 - [Firebase/Core][I-COR000033] Data Collection flag is not set.
2020-09-30 20:18:32.023645+0900 LeySerKids-P[2611:143691] 6.32.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-09-30 20:18:32.026575+0900 LeySerKids-P[2611:143699] 6.32.0 - [GULReachability][I-REA902003] Monitoring the network status
2020-09-30 20:18:32.030907+0900 LeySerKids-P[2611:143691] 6.32.0 - [GULReachability][I-REA902003] Monitoring the network status
2020-09-30 20:18:32.097310+0900 LeySerKids-P[2611:143699] 6.32.0 - [Firebase/InstanceID][I-IID008009] Deleted checkin plist file.
2020-09-30 20:18:32.097485+0900 LeySerKids-P[2611:143699] 6.32.0 - [Firebase/InstanceID][I-IID007006] Checkin parameters: {
checkin = {
iosbuild = {
model = "iPhone11,8";
"os_version" = "IOS_14.0";
};
"last_checkin_msec" = 0;
type = 2;
"user_number" = 0;
};
digest = "";
fragment = 0;
id = 0;
locale = "zh-Hans";
"security_token" = 0;
"time_zone" = "Asia/Tokyo";
"user_serial_number" = 0;
version = 2;
}
2020-09-30 20:18:32.097803+0900 LeySerKids-P[2611:143699] 6.32.0 - [Firebase/Messaging][I-FCM002000] FIRMessaging library version 4.6.2
2020-09-30 20:18:32.098283+0900 LeySerKids-P[2611:143699] 6.32.0 - [GULReachability][I-REA902003] Monitoring the network status
2020-09-30 20:18:32.103013+0900 LeySerKids-P[2611:143775] 6.32.0 - [Firebase/Messaging][I-FCM001000] FIRMessaging Remote Notifications proxy enabled, will swizzle remote notification receiver handlers. If you'd prefer to manually integrate Firebase Messaging, add "FirebaseAppDelegateProxyEnabled" to your Info.plist, and set it to NO. Follow the instructions at:
https://firebase.google.com/docs/cloud-messaging/ios/client#method_swizzling_in_firebase_messaging
to ensure proper integration.
2020-09-30 20:18:32.103802+0900 LeySerKids-P[2611:143775] 6.32.0 - [GoogleUtilities/AppDelegateSwizzler][I-SWZ001008] Successfully created App Delegate Proxy automatically. To disable the proxy, set the flag GoogleUtilitiesAppDelegateProxyEnabled to NO (Boolean) in the Info.plist
22020-09-30 20:18:32.144792+0900 LeySerKids-P[2611:143418] IAB.close() called but it was already closed.
2020-09-30 20:18:32.193109+0900 LeySerKids-P[2611:143418] FirebasePlugin[native] LOG: didReceiveRegistrationToken: dLtPcmPGAEN7t4f6MzIKwc:APA91bHGVBj-B3fAuRO-Jp2680Xodc1o1YNbsMa29Pq4GFWUZjJlz5fEN6DnK5bKSEi4Eh4ylpUPcPzUZRKOp2n4iwL-30iMSdCYvSR3d_M8-_YfgZdEVkQuRbtUnLDYgsQkrX7v-u_A
2020-09-30 20:18:32.251213+0900 LeySerKids-P[2611:143697] 6.32.0 - [GULReachability][I-REA902004] Network status has changed. Code:1, status:Disconnected
2020-09-30 20:18:32.251529+0900 LeySerKids-P[2611:143697] 6.32.0 - [GULReachability][I-REA902004] Network status has changed. Code:2, status:Connected
2020-09-30 20:18:32.251807+0900 LeySerKids-P[2611:143697] 6.32.0 - [GULReachability][I-REA902004] Network status has changed. Code:2, status:Connected
2020-09-30 20:18:32.251970+0900 LeySerKids-P[2611:143697] 6.32.0 - [Firebase/InstanceID][I-IID013002] Removed cached checkin preferences from Keychain because this is a fresh install.
2020-09-30 20:18:32.253081+0900 LeySerKids-P[2611:143697] 6.32.0 - [Firebase/InstanceID][I-IID013006] App reset detected. Will delete server registrations.
2020-09-30 20:18:32.253413+0900 LeySerKids-P[2611:143697] 6.32.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-09-30 20:18:32.253678+0900 LeySerKids-P[2611:143697] 6.32.0 - [Firebase/InstanceID][I-IID014012] Invalidating cached token for 752538346208 (*) due to token is no longer fresh.
2020-09-30 20:18:32.253956+0900 LeySerKids-P[2611:143697] 6.32.0 - [Firebase/InstanceID][I-IID005004] Checkin is in progress
2020-09-30 20:18:32.286707+0900 LeySerKids-P[2611:143778] 6.32.0 - [Firebase/Installations][I-FIS001001] Sending request: { URL: https://firebaseinstallations.googleapis.com/v1/projects/lk-kp-jp/installations/ }, body:{"appId":"*************","fid":"cO9j1h53hUQFkkIZz7NDDb","authVersion":"FIS_v2","sdkVersion":"i:1.7.0"}, headers: {
"Content-Type" = "application/json";
"X-Goog-Api-Key" = "*********************";
"X-Ios-Bundle-Identifier" = "com.grapecity.*****************";
"X-firebase-client" = "apple-platform/ios apple-sdk/18A390 fire-analytics/6.8.2 fire-fcm/4.6.2 fire-iid/4.7.0 fire-install/1.7.0 fire-ios/6.10.2 firebase-crashlytics/4.6.1 swift/true xcode/12A7209";
"X-firebase-client-log-type" = 3;
}.
2020-09-30 20:18:32.435629+0900 LeySerKids-P[2611:143697] 6.32.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-09-30 20:18:32.458652+0900 LeySerKids-P[2611:143418] FCM hasPermission: [object Object]
2020-09-30 20:18:32.666558+0900 LeySerKids-P[2611:143418] FirebasePlugin[native] LOG: didRegisterForRemoteNotificationsWithDeviceToken: {length = 32, bytes = 0xb1c55e32 7231dc2b 65b7ca0e 3147d138 ... dec5c386 bad9c511 }
2020-09-30 20:18:32.668327+0900 LeySerKids-P[2611:143689] 6.32.0 - [Firebase/InstanceID][I-IID003012] Provisioning profile has specifically provisioned devices, most likely a Dev profile.
2020-09-30 20:18:32.668414+0900 LeySerKids-P[2611:143689] 6.32.0 - [Firebase/InstanceID][I-IID003013] APNS Environment in profile: development
2020-09-30 20:18:32.670629+0900 LeySerKids-P[2611:143778] 6.32.0 - [Firebase/InstanceID][I-IID014011] Invalidating cached token for 752538346208 (*) due to APNs token change.
2020-09-30 20:18:32.670963+0900 LeySerKids-P[2611:143418] FirebasePlugin[native]: didRegisterForRemoteNotificationsWithDeviceToken: {length = 32, bytes = 0xb1c55e32 7231dc2b 65b7ca0e 3147d138 ... dec5c386 bad9c511 }
2020-09-30 20:18:32.671281+0900 LeySerKids-P[2611:143778] 6.32.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-09-30 20:18:32.994214+0900 LeySerKids-P[2611:143771] 6.32.0 - [Firebase/InstanceID][I-IID007002] Invalid last checkin timestamp 2020-09-30 11:18:33 +0000 in future.
2020-09-30 20:18:32.995026+0900 LeySerKids-P[2611:143771] 6.32.0 - [Firebase/InstanceID][I-IID007003] Checkin successful with authId: 5279753475512558523, digest: 6GHjsCXLihTPikebR5vbBA==, lastCheckinTimestamp: 1601464712000
2020-09-30 20:18:32.995104+0900 LeySerKids-P[2611:143771] 6.32.0 - [Firebase/InstanceID][I-IID005004] Successfully got checkin credentials
2020-09-30 20:18:33.000230+0900 LeySerKids-P[2611:143690] 6.32.0 - [Firebase/InstanceID][I-IID008010] Checkin plist file is saved
2020-09-30 20:18:33.001574+0900 LeySerKids-P[2611:143771] 6.32.0 - [Firebase/InstanceID][I-IID023002] Couldn't delete item from Keychain OSStatus: -25300 with the keychain query {
acct = "com.grapecity.*****************";
class = genp;
gena = "com.google.iid";
svce = "com.google.iid.checkin";
}
2020-09-30 20:18:33.004951+0900 LeySerKids-P[2611:143690] 6.32.0 - [Firebase/InstanceID][I-IID005002] Checkin success.
2020-09-30 20:18:33.005020+0900 LeySerKids-P[2611:143690] 6.32.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-09-30 20:18:33.005288+0900 LeySerKids-P[2611:143690] 6.32.0 - [Firebase/InstanceID][I-IID014000] Fetch new token for authorizedEntity: 752538346208, scope: *
2020-09-30 20:18:33.191933+0900 LeySerKids-P[2611:143778] 6.32.0 - [Firebase/Installations][I-FIS001003] Request response received: { URL: https://firebaseinstallations.googleapis.com/v1/projects/lk-kp-jp/installations/ }, error: (null), body: {
"name": "projects/752538346208/installations/cO9j1h53hUQFkkIZz7NDDb",
"fid": "cO9j1h53hUQFkkIZz7NDDb",
"refreshToken": "2_5q2A2P6WGPCUWXmGg6Zp7xVu4jKRjvSDScCzJ0qRl6UNZc_ARx3k9nWXyCKovBIT",
"authToken": {
"token": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJmaWQiOiJjTzlqMWg1M2hVUUZra0laejdORERiIiwicHJvamVjdE51bWJlciI6NzUyNTM4MzQ2MjA4LCJleHAiOjE2MDIwNjk1MTMsImFwcElkIjoiMTo3NTI1MzgzNDYyMDg6aW9zOjJkZTU4ZjU5MTVlYWM1MGEifQ.AB2LPV8wRgIhAIaHOpKjccm66fuaDkUV2E_4Hl4ITKYuRAhEh9cuopx-AiEAjstqO9TVlCPZVpnlolxR5VnnEW_XxOPZHOP1IEcIXVg",
"expiresIn": "604800s"
}
}
.
2020-09-30 20:18:33.193088+0900 LeySerKids-P[2611:143690] 6.32.0 - [Firebase/Installations][I-FIS001005] Parsing server response for https://firebaseinstallations.googleapis.com/v1/projects/lk-kp-jp/installations/.
2020-09-30 20:18:33.195085+0900 LeySerKids-P[2611:143690] 6.32.0 - [Firebase/Installations][I-FIS001007] FIRInstallationsItem parsed successfully.
2020-09-30 20:18:33.214126+0900 LeySerKids-P[2611:143771] 6.32.0 - [Firebase/InstanceID][I-IID021000] Unregister request to https://fcmtoken.googleapis.com/register content: X-osv=14.0&device=4753012421744185450&plat=2&app=com.grapecity.*****************&app_ver=8.28.293&X-cliv=fiid-4.6.2&delete=true
2020-09-30 20:18:33.924020+0900 LeySerKids-P[2611:143697] 6.32.0 - [Firebase/InstanceID][I-IID014007] Successfully deleted GCM server registrations on app reset
2020-09-30 20:18:33.924754+0900 LeySerKids-P[2611:143697] 6.32.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-09-30 20:18:33.926446+0900 LeySerKids-P[2611:143697] 6.32.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-09-30 20:18:33.967997+0900 LeySerKids-P[2611:143778] 6.32.0 - [Firebase/InstanceID][I-IID020000] Register request to https://fcmtoken.googleapis.com/register content: X-osv=14.0&device=5279753475512558523&X-scope=*&plat=2&app=com.grapecity.*****************&app_ver=8.28.293&X-cliv=fiid-4.6.2&sender=752538346208&X-subtype=752538346208&appid=cO9j1h53hUQFkkIZz7NDDb&gmp_app_id=************
2020-09-30 20:18:34.403362+0900 LeySerKids-P[2611:143771] 6.32.0 - [Firebase/InstanceID][I-IID023002] Couldn't delete item from Keychain OSStatus: -25300 with the keychain query {
acct = "com.grapecity.*****************";
class = genp;
gena = "com.google.iid-tokens";
svce = "752538346208:*";
}
2020-09-30 20:18:34.414845+0900 LeySerKids-P[2611:143697] 6.32.0 - [Firebase/InstanceID][I-IID014001] Token fetch successful, token: cO9j1h53hUQFkkIZz7NDDb:APA91bFWe4RRka-e5tY5Izo2-JbnNGJXOtKA97CxXrGDnePsaV-755EVSnM8zrsdTUiA3ba0H9CEq3eQneswFHIRTKhFWsD8l0tYCQ4rKsjB8hD-o9TOt0MR-5Db7HJVXtiPL3VnpZ0P, authorizedEntity: 752538346208, scope:*
2020-09-30 20:18:34.414872+0900 LeySerKids-P[2611:143418] FirebasePlugin[native] LOG: didReceiveRegistrationToken: cO9j1h53hUQFkkIZz7NDDb:APA91bFWe4RRka-e5tY5Izo2-JbnNGJXOtKA97CxXrGDnePsaV-755EVSnM8zrsdTUiA3ba0H9CEq3eQneswFHIRTKhFWsD8l0tYCQ4rKsjB8hD-o9TOt0MR-5Db7HJVXtiPL3VnpZ0P
2020-09-30 20:18:34.417461+0900 LeySerKids-P[2611:143697] 6.32.0 - [Firebase/InstanceID][I-IID003016] Received APNS token while fetching default token. Refetching default token.
2020-09-30 20:18:34.419999+0900 LeySerKids-P[2611:143697] 6.32.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-09-30 20:18:34.420400+0900 LeySerKids-P[2611:143418] FirebasePlugin[native]: didReceiveRegistrationToken: cO9j1h53hUQFkkIZz7NDDb:APA91bFWe4RRka-e5tY5Izo2-JbnNGJXOtKA97CxXrGDnePsaV-755EVSnM8zrsdTUiA3ba0H9CEq3eQneswFHIRTKhFWsD8l0tYCQ4rKsjB8hD-o9TOt0MR-5Db7HJVXtiPL3VnpZ0P
2020-09-30 20:18:34.421828+0900 LeySerKids-P[2611:143697] 6.32.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-09-30 20:18:34.424055+0900 LeySerKids-P[2611:143697] 6.32.0 - [Firebase/InstanceID][I-IID003010] Successfully fetched default token.
2020-09-30 20:18:34.424297+0900 LeySerKids-P[2611:143697] 6.32.0 - [Firebase/InstanceID][I-IID003008] Got default token cO9j1h53hUQFkkIZz7NDDb:APA91bFWe4RRka-e5tY5Izo2-JbnNGJXOtKA97CxXrGDnePsaV-755EVSnM8zrsdTUiA3ba0H9CEq3eQneswFHIRTKhFWsD8l0tYCQ4rKsjB8hD-o9TOt0MR-5Db7HJVXtiPL3VnpZ0P
2020-09-30 20:18:38.459050+0900 LeySerKids-P[2611:143778] FirebasePlugin[native] LOG: requestAuthorizationWithOptions: granted=YES
2020-09-30 20:18:38.459688+0900 LeySerKids-P[2611:143418] FirebasePlugin[native] LOG: didRegisterForRemoteNotificationsWithDeviceToken: {length = 32, bytes = 0xb1c55e32 7231dc2b 65b7ca0e 3147d138 ... dec5c386 bad9c511 }
2020-09-30 20:18:38.462262+0900 LeySerKids-P[2611:143418] FirebasePlugin[native]: requestAuthorizationWithOptions: granted=YES
2020-09-30 20:18:38.462774+0900 LeySerKids-P[2611:143418] FirebasePlugin[native]: didRegisterForRemoteNotificationsWithDeviceToken: {length = 32, bytes = 0xb1c55e32 7231dc2b 65b7ca0e 3147d138 ... dec5c386 bad9c511 }
2020-09-30 20:18:56.219851+0900 LeySerKids-P[2611:143697] 6.32.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-09-30 20:18:56.219852+0900 LeySerKids-P[2611:143418] FirebasePlugin[native] LOG: didRegisterForRemoteNotificationsWithDeviceToken: {length = 32, bytes = 0xb1c55e32 7231dc2b 65b7ca0e 3147d138 ... dec5c386 bad9c511 }
2020-09-30 20:18:56.220506+0900 LeySerKids-P[2611:143690] 6.32.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-09-30 20:18:56.221420+0900 LeySerKids-P[2611:143418] FirebasePlugin[native]: didRegisterForRemoteNotificationsWithDeviceToken: {length = 32, bytes = 0xb1c55e32 7231dc2b 65b7ca0e 3147d138 ... dec5c386 bad9c511 }
2020-09-30 20:18:59.096997+0900 LeySerKids-P[2611:143418] FirebasePlugin[native] LOG: didRegisterForRemoteNotificationsWithDeviceToken: {length = 32, bytes = 0xb1c55e32 7231dc2b 65b7ca0e 3147d138 ... dec5c386 bad9c511 }
2020-09-30 20:18:59.098523+0900 LeySerKids-P[2611:143418] FirebasePlugin[native]: didRegisterForRemoteNotificationsWithDeviceToken: {length = 32, bytes = 0xb1c55e32 7231dc2b 65b7ca0e 3147d138 ... dec5c386 bad9c511 }
2020-09-30 20:18:59.098520+0900 LeySerKids-P[2611:143783] 6.32.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-09-30 20:18:59.099411+0900 LeySerKids-P[2611:143783] 6.32.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-09-30 20:19:02.333267+0900 LeySerKids-P[2611:143783] 6.32.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-09-30 20:19:02.333317+0900 LeySerKids-P[2611:143418] FirebasePlugin[native] LOG: didRegisterForRemoteNotificationsWithDeviceToken: {length = 32, bytes = 0xb1c55e32 7231dc2b 65b7ca0e 3147d138 ... dec5c386 bad9c511 }
2020-09-30 20:19:02.334216+0900 LeySerKids-P[2611:143418] FirebasePlugin[native]: didRegisterForRemoteNotificationsWithDeviceToken: {length = 32, bytes = 0xb1c55e32 7231dc2b 65b7ca0e 3147d138 ... dec5c386 bad9c511 }
2020-09-30 20:19:02.334422+0900 LeySerKids-P[2611:143783] 6.32.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
0x02. Using the Version 6.33.0 and to get token by [FIRMessaging messaging] tokenWithCompletion
Works well
2020-09-30 20:23:02.390520+0900 LeySerKids-P[2641:145484] FirebasePlugin[native] LOG: Starting Firebase plugin
2020-09-30 20:23:02.390578+0900 LeySerKids-P[2641:145484] [CDVTimer][firebaseplugin] 0.077963ms
2020-09-30 20:23:02.430735+0900 LeySerKids-P[2641:145484] FirebasePlugin[native] LOG: GoogleService-Info.plist found, setup: [FIRApp configureWithOptions]
2020-09-30 20:23:02.438372+0900 LeySerKids-P[2641:145746] 6.33.0 - [Firebase/Core][I-COR000001] Configuring the default app.
2020-09-30 20:23:02.438940+0900 LeySerKids-P[2641:145746] 6.33.0 - [Firebase/Core][I-COR000033] Data Collection flag is not set.
2020-09-30 20:23:02.494738+0900 LeySerKids-P[2641:145818] 6.33.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-09-30 20:23:02.494874+0900 LeySerKids-P[2641:145818] 6.33.0 - [GULReachability][I-REA902003] Monitoring the network status
2020-09-30 20:23:02.496907+0900 LeySerKids-P[2641:145818] 6.33.0 - [GULReachability][I-REA902003] Monitoring the network status
22020-09-30 20:23:02.510345+0900 LeySerKids-P[2641:145743] 6.33.0 - [Firebase/InstanceID][I-IID008009] Deleted checkin plist file.
2020-09-30 20:23:02.581348+0900 LeySerKids-P[2641:145820] 6.33.0 - [Firebase/InstanceID][I-IID007006] Checkin parameters: {
checkin = {
iosbuild = {
model = "iPhone11,8";
"os_version" = "IOS_14.0";
};
"last_checkin_msec" = 0;
type = 2;
"user_number" = 0;
};
digest = "";
fragment = 0;
id = 0;
locale = "zh-Hans";
"security_token" = 0;
"time_zone" = "Asia/Tokyo";
"user_serial_number" = 0;
version = 2;
}
2020-09-30 20:23:02.582371+0900 LeySerKids-P[2641:145820] 6.33.0 - [Firebase/Messaging][I-FCM002000] FIRMessaging library version 4.7.0
2020-09-30 20:23:02.582536+0900 LeySerKids-P[2641:145820] 6.33.0 - [GULReachability][I-REA902003] Monitoring the network status
2020-09-30 20:23:02.592931+0900 LeySerKids-P[2641:145820] 6.33.0 - [Firebase/Messaging][I-FCM001000] FIRMessaging Remote Notifications proxy enabled, will swizzle remote notification receiver handlers. If you'd prefer to manually integrate Firebase Messaging, add "FirebaseAppDelegateProxyEnabled" to your Info.plist, and set it to NO. Follow the instructions at:
https://firebase.google.com/docs/cloud-messaging/ios/client#method_swizzling_in_firebase_messaging
to ensure proper integration.
2020-09-30 20:23:02.593839+0900 LeySerKids-P[2641:145820] 6.33.0 - [GoogleUtilities/AppDelegateSwizzler][I-SWZ001008] Successfully created App Delegate Proxy automatically. To disable the proxy, set the flag GoogleUtilitiesAppDelegateProxyEnabled to NO (Boolean) in the Info.plist
2020-09-30 20:23:02.632343+0900 LeySerKids-P[2641:145484] IAB.close() called but it was already closed.
2020-09-30 20:23:02.727884+0900 LeySerKids-P[2641:145745] 6.33.0 - [GULReachability][I-REA902004] Network status has changed. Code:1, status:Disconnected
2020-09-30 20:23:02.728456+0900 LeySerKids-P[2641:145745] 6.33.0 - [GULReachability][I-REA902004] Network status has changed. Code:2, status:Connected
2020-09-30 20:23:02.728504+0900 LeySerKids-P[2641:145745] 6.33.0 - [GULReachability][I-REA902004] Network status has changed. Code:2, status:Connected
2020-09-30 20:23:02.728554+0900 LeySerKids-P[2641:145745] 6.33.0 - [Firebase/InstanceID][I-IID013002] Removed cached checkin preferences from Keychain because this is a fresh install.
2020-09-30 20:23:02.728659+0900 LeySerKids-P[2641:145745] 6.33.0 - [Firebase/InstanceID][I-IID013006] App reset detected. Will delete server registrations.
2020-09-30 20:23:02.728824+0900 LeySerKids-P[2641:145745] 6.33.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-09-30 20:23:02.733912+0900 LeySerKids-P[2641:145484] FirebasePlugin[native] LOG: didReceiveRegistrationToken: cO9j1h53hUQFkkIZz7NDDb:APA91bFWe4RRka-e5tY5Izo2-JbnNGJXOtKA97CxXrGDnePsaV-755EVSnM8zrsdTUiA3ba0H9CEq3eQneswFHIRTKhFWsD8l0tYCQ4rKsjB8hD-o9TOt0MR-5Db7HJVXtiPL3VnpZ0P
2020-09-30 20:23:02.735173+0900 LeySerKids-P[2641:145745] 6.33.0 - [Firebase/InstanceID][I-IID014012] Invalidating cached token for 752538346208 (*) due to token is no longer fresh.
2020-09-30 20:23:02.736360+0900 LeySerKids-P[2641:145745] 6.33.0 - [Firebase/InstanceID][I-IID005004] Checkin is in progress
2020-09-30 20:23:02.767539+0900 LeySerKids-P[2641:145822] 6.33.0 - [Firebase/Installations][I-FIS001001] Sending request: { URL: https://firebaseinstallations.googleapis.com/v1/projects/lk-kp-jp/installations/ }, body:{"appId":"************","fid":"cfH2l2SteUofs-JNqbptjx","authVersion":"FIS_v2","sdkVersion":"i:1.7.0"}, headers: {
"Content-Type" = "application/json";
"X-Goog-Api-Key" = "****************";
"X-Ios-Bundle-Identifier" = "com.grapecity.*****************";
"X-firebase-client" = "apple-platform/ios apple-sdk/18A390 fire-analytics/6.8.3 fire-fcm/4.7.0 fire-iid/4.7.0 fire-install/1.7.0 fire-ios/6.10.3 firebase-crashlytics/4.6.1 swift/true xcode/12A7209";
"X-firebase-client-log-type" = 3;
}.
2020-09-30 20:23:02.960784+0900 LeySerKids-P[2641:145819] 6.33.0 - [Firebase/Messaging][I-FCM002022] APNS device token not set before retrieving FCM Token for Sender ID '752538346208'. Notifications to this FCM Token will not be delivered over APNS.Be sure to re-retrieve the FCM token once the APNS device token is set.
2020-09-30 20:23:02.962764+0900 LeySerKids-P[2641:145819] 6.33.0 - [Firebase/InstanceID][I-IID005004] Checkin is in progress
2020-09-30 20:23:02.971390+0900 LeySerKids-P[2641:145484] FCM hasPermission: [object Object]
2020-09-30 20:23:03.191036+0900 LeySerKids-P[2641:145484] FirebasePlugin[native] LOG: didRegisterForRemoteNotificationsWithDeviceToken: {length = 32, bytes = 0x382e8745 0d9b49eb 0245e42f 42aa7002 ... 495a0a9c 51552240 }
2020-09-30 20:23:03.192659+0900 LeySerKids-P[2641:145819] 6.33.0 - [Firebase/InstanceID][I-IID003012] Provisioning profile has specifically provisioned devices, most likely a Dev profile.
2020-09-30 20:23:03.192754+0900 LeySerKids-P[2641:145819] 6.33.0 - [Firebase/InstanceID][I-IID003013] APNS Environment in profile: development
2020-09-30 20:23:03.195040+0900 LeySerKids-P[2641:145821] 6.33.0 - [Firebase/InstanceID][I-IID014011] Invalidating cached token for 752538346208 (*) due to APNs token change.
2020-09-30 20:23:03.195230+0900 LeySerKids-P[2641:145821] 6.33.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-09-30 20:23:03.195566+0900 LeySerKids-P[2641:145484] FirebasePlugin[native]: didRegisterForRemoteNotificationsWithDeviceToken: {length = 32, bytes = 0x382e8745 0d9b49eb 0245e42f 42aa7002 ... 495a0a9c 51552240 }
2020-09-30 20:23:03.451921+0900 LeySerKids-P[2641:145822] 6.33.0 - [Firebase/InstanceID][I-IID007002] Invalid last checkin timestamp 2020-09-30 11:23:03 +0000 in future.
2020-09-30 20:23:03.451990+0900 LeySerKids-P[2641:145822] 6.33.0 - [Firebase/InstanceID][I-IID007003] Checkin successful with authId: 5539136355670603314, digest: w7fbvHmSalRovolKTP/3mA==, lastCheckinTimestamp: 1601464983000
2020-09-30 20:23:03.452655+0900 LeySerKids-P[2641:145822] 6.33.0 - [Firebase/InstanceID][I-IID005004] Successfully got checkin credentials
2020-09-30 20:23:03.457152+0900 LeySerKids-P[2641:145822] 6.33.0 - [Firebase/InstanceID][I-IID008010] Checkin plist file is saved
2020-09-30 20:23:03.458176+0900 LeySerKids-P[2641:145817] 6.33.0 - [Firebase/InstanceID][I-IID023002] Couldn't delete item from Keychain OSStatus: -25300 with the keychain query {
acct = "com.grapecity.*****************";
class = genp;
gena = "com.google.iid";
svce = "com.google.iid.checkin";
}
2020-09-30 20:23:03.460157+0900 LeySerKids-P[2641:145817] 6.33.0 - [Firebase/InstanceID][I-IID005002] Checkin success.
2020-09-30 20:23:03.460280+0900 LeySerKids-P[2641:145817] 6.33.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-09-30 20:23:03.460557+0900 LeySerKids-P[2641:145817] 6.33.0 - [Firebase/InstanceID][I-IID014000] Fetch new token for authorizedEntity: 752538346208, scope: *
2020-09-30 20:23:03.460686+0900 LeySerKids-P[2641:145817] 6.33.0 - [Firebase/InstanceID][I-IID014000] Fetch new token for authorizedEntity: 752538346208, scope: *
2020-09-30 20:23:03.591096+0900 LeySerKids-P[2641:145822] 6.33.0 - [Firebase/Installations][I-FIS001003] Request response received: { URL: https://firebaseinstallations.googleapis.com/v1/projects/lk-kp-jp/installations/ }, error: (null), body: {
"name": "projects/752538346208/installations/cfH2l2SteUofs-JNqbptjx",
"fid": "cfH2l2SteUofs-JNqbptjx",
"refreshToken": "2_XR68jA-uqH0QNeo_y_KITUbqj_JeOkVCtsXQI4tKnDSfcswtfC0WJfJOlYuwDtO_",
"authToken": {
"token": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJmaWQiOiJjZkgybDJTdGVVb2ZzLUpOcWJwdGp4IiwicHJvamVjdE51bWJlciI6NzUyNTM4MzQ2MjA4LCJleHAiOjE2MDIwNjk3ODMsImFwcElkIjoiMTo3NTI1MzgzNDYyMDg6aW9zOjJkZTU4ZjU5MTVlYWM1MGEifQ.AB2LPV8wRgIhAKUA_dN12ukDsgl9cGQr8oeeiM4ZRHxzZj0HTS8OtBu5AiEA3ky8ZsH0RMId4yvANTA6DEsZSkbt_MlNqqI6pOhtVT0",
"expiresIn": "604800s"
}
}
.
2020-09-30 20:23:03.592564+0900 LeySerKids-P[2641:145822] 6.33.0 - [Firebase/Installations][I-FIS001005] Parsing server response for https://firebaseinstallations.googleapis.com/v1/projects/lk-kp-jp/installations/.
2020-09-30 20:23:03.593042+0900 LeySerKids-P[2641:145822] 6.33.0 - [Firebase/Installations][I-FIS001007] FIRInstallationsItem parsed successfully.
2020-09-30 20:23:03.610032+0900 LeySerKids-P[2641:145821] 6.33.0 - [Firebase/InstanceID][I-IID021000] Unregister request to https://fcmtoken.googleapis.com/register content: X-osv=14.0&device=5279753475512558523&plat=2&app=com.grapecity.*****************&app_ver=8.28.293&X-cliv=fiid-4.7.0&delete=true
2020-09-30 20:23:04.989124+0900 LeySerKids-P[2641:145823] 6.33.0 - [Firebase/InstanceID][I-IID014007] Successfully deleted GCM server registrations on app reset
2020-09-30 20:23:04.991015+0900 LeySerKids-P[2641:145823] 6.33.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-09-30 20:23:04.991624+0900 LeySerKids-P[2641:145823] 6.33.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-09-30 20:23:05.027613+0900 LeySerKids-P[2641:145821] 6.33.0 - [Firebase/InstanceID][I-IID020000] Register request to https://fcmtoken.googleapis.com/register content: X-osv=14.0&device=5539136355670603314&X-scope=*&plat=2&app=com.grapecity.*****************&app_ver=8.28.293&X-cliv=fiid-4.7.0&sender=752538346208&X-subtype=752538346208&appid=cfH2l2SteUofs-JNqbptjx&gmp_app_id=************
2020-09-30 20:23:05.331914+0900 LeySerKids-P[2641:145821] 6.33.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-09-30 20:23:05.331975+0900 LeySerKids-P[2641:145821] 6.33.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-09-30 20:23:05.343096+0900 LeySerKids-P[2641:145484] API error: <_UIKBCompatInputView: 0x105948570; frame = (0 0; 0 0); layer = > returned 0 width, assuming UIViewNoIntrinsicMetric
2020-09-30 20:23:05.343238+0900 LeySerKids-P[2641:145484] API error: <_UIKBCompatInputView: 0x105948570; frame = (0 0; 0 0); layer = > returned 0 width, assuming UIViewNoIntrinsicMetric
2020-09-30 20:23:05.400384+0900 LeySerKids-P[2641:145823] 6.33.0 - [Firebase/InstanceID][I-IID023002] Couldn't delete item from Keychain OSStatus: -25300 with the keychain query {
acct = "com.grapecity.*****************";
class = genp;
gena = "com.google.iid-tokens";
svce = "752538346208:*";
}
2020-09-30 20:23:05.412890+0900 LeySerKids-P[2641:145484] FirebasePlugin[native] LOG: didReceiveRegistrationToken: cfH2l2SteUofs-JNqbptjx:APA91bF01yx2NQSh3rX6_CSSfy8_CnAWdRqBuh78Kg115lo-tPFQ7a9SVVCBlYMQyUt9HMa_fIoQr6xw2ioKDOIGyCHw_1LaIO7z5XLWDbeex5bST0WQCLqzQFt7bZf253g5nw1wfvUX
2020-09-30 20:23:05.418993+0900 LeySerKids-P[2641:145819] 6.33.0 - [Firebase/InstanceID][I-IID014001] Token fetch successful, token: cfH2l2SteUofs-JNqbptjx:APA91bF01yx2NQSh3rX6_CSSfy8_CnAWdRqBuh78Kg115lo-tPFQ7a9SVVCBlYMQyUt9HMa_fIoQr6xw2ioKDOIGyCHw_1LaIO7z5XLWDbeex5bST0WQCLqzQFt7bZf253g5nw1wfvUX, authorizedEntity: 752538346208, scope:*
2020-09-30 20:23:05.420212+0900 LeySerKids-P[2641:145819] 6.33.0 - [Firebase/InstanceID][I-IID003016] Received APNS token while fetching default token. Refetching default token.
2020-09-30 20:23:05.420856+0900 LeySerKids-P[2641:145819] 6.33.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-09-30 20:23:05.425879+0900 LeySerKids-P[2641:145819] 6.33.0 - [Firebase/InstanceID][I-IID020000] Register request to https://fcmtoken.googleapis.com/register content: X-osv=14.0&device=5539136355670603314&X-scope=*&plat=2&app=com.grapecity.*****************&app_ver=8.28.293&X-cliv=fiid-4.7.0&sender=752538346208&X-subtype=752538346208&appid=cfH2l2SteUofs-JNqbptjx&gmp_app_id=************
2020-09-30 20:23:05.425958+0900 LeySerKids-P[2641:145484] FirebasePlugin[native]: didReceiveRegistrationToken: cfH2l2SteUofs-JNqbptjx:APA91bF01yx2NQSh3rX6_CSSfy8_CnAWdRqBuh78Kg115lo-tPFQ7a9SVVCBlYMQyUt9HMa_fIoQr6xw2ioKDOIGyCHw_1LaIO7z5XLWDbeex5bST0WQCLqzQFt7bZf253g5nw1wfvUX
2020-09-30 20:23:05.426876+0900 LeySerKids-P[2641:145823] 6.33.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-09-30 20:23:05.426948+0900 LeySerKids-P[2641:145823] 6.33.0 - [Firebase/InstanceID][I-IID003010] Successfully fetched default token.
2020-09-30 20:23:05.427352+0900 LeySerKids-P[2641:145823] 6.33.0 - [Firebase/InstanceID][I-IID003008] Got default token cfH2l2SteUofs-JNqbptjx:APA91bF01yx2NQSh3rX6_CSSfy8_CnAWdRqBuh78Kg115lo-tPFQ7a9SVVCBlYMQyUt9HMa_fIoQr6xw2ioKDOIGyCHw_1LaIO7z5XLWDbeex5bST0WQCLqzQFt7bZf253g5nw1wfvUX
2020-09-30 20:23:05.697415+0900 LeySerKids-P[2641:145819] 6.33.0 - [Firebase/InstanceID][I-IID014001] Token fetch successful, token: cfH2l2SteUofs-JNqbptjx:APA91bF01yx2NQSh3rX6_CSSfy8_CnAWdRqBuh78Kg115lo-tPFQ7a9SVVCBlYMQyUt9HMa_fIoQr6xw2ioKDOIGyCHw_1LaIO7z5XLWDbeex5bST0WQCLqzQFt7bZf253g5nw1wfvUX, authorizedEntity: 752538346208, scope:*
2020-09-30 20:23:08.941736+0900 LeySerKids-P[2641:145817] FirebasePlugin[native] LOG: requestAuthorizationWithOptions: granted=YES
2020-09-30 20:23:08.942244+0900 LeySerKids-P[2641:145484] FirebasePlugin[native] LOG: didRegisterForRemoteNotificationsWithDeviceToken: {length = 32, bytes = 0x382e8745 0d9b49eb 0245e42f 42aa7002 ... 495a0a9c 51552240 }
2020-09-30 20:23:08.943822+0900 LeySerKids-P[2641:145484] FirebasePlugin[native]: requestAuthorizationWithOptions: granted=YES
2020-09-30 20:23:08.944151+0900 LeySerKids-P[2641:145484] FirebasePlugin[native]: didRegisterForRemoteNotificationsWithDeviceToken: {length = 32, bytes = 0x382e8745 0d9b49eb 0245e42f 42aa7002 ... 495a0a9c 51552240 }
2020-09-30 20:23:21.366847+0900 LeySerKids-P[2641:145484] FirebasePlugin[native] LOG: didRegisterForRemoteNotificationsWithDeviceToken: {length = 32, bytes = 0x382e8745 0d9b49eb 0245e42f 42aa7002 ... 495a0a9c 51552240 }
2020-09-30 20:23:21.366863+0900 LeySerKids-P[2641:145823] 6.33.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-09-30 20:23:21.367523+0900 LeySerKids-P[2641:145823] 6.33.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-09-30 20:23:21.367972+0900 LeySerKids-P[2641:145823] 6.33.0 - [Firebase/InstanceID][I-IID014000] Fetch new token for authorizedEntity: 752538346208, scope: *
2020-09-30 20:23:21.368010+0900 LeySerKids-P[2641:145484] FirebasePlugin[native]: didRegisterForRemoteNotificationsWithDeviceToken: {length = 32, bytes = 0x382e8745 0d9b49eb 0245e42f 42aa7002 ... 495a0a9c 51552240 }
2020-09-30 20:23:21.381468+0900 LeySerKids-P[2641:145823] 6.33.0 - [Firebase/InstanceID][I-IID020000] Register request to https://fcmtoken.googleapis.com/register content: X-osv=14.0&device=5539136355670603314&X-scope=*&plat=2&app=com.grapecity.*****************&app_ver=8.28.293&X-cliv=fiid-4.7.0&sender=752538346208&X-subtype=752538346208&appid=cfH2l2SteUofs-JNqbptjx&apns_token=s_382e87450d9b49eb0245e42f42aa7002536464d35ae91bd3495a0a9c51552240&gmp_app_id=************
2020-09-30 20:23:21.857273+0900 LeySerKids-P[2641:145884] 6.33.0 - [Firebase/InstanceID][I-IID014001] Token fetch successful, token: cfH2l2SteUofs-JNqbptjx:APA91bF01yx2NQSh3rX6_CSSfy8_CnAWdRqBuh78Kg115lo-tPFQ7a9SVVCBlYMQyUt9HMa_fIoQr6xw2ioKDOIGyCHw_1LaIO7z5XLWDbeex5bST0WQCLqzQFt7bZf253g5nw1wfvUX, authorizedEntity: 752538346208, scope:*
2020-09-30 20:23:24.257200+0900 LeySerKids-P[2641:145484] FirebasePlugin[native] LOG: didRegisterForRemoteNotificationsWithDeviceToken: {length = 32, bytes = 0x382e8745 0d9b49eb 0245e42f 42aa7002 ... 495a0a9c 51552240 }
2020-09-30 20:23:24.258403+0900 LeySerKids-P[2641:145745] 6.33.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-09-30 20:23:24.258526+0900 LeySerKids-P[2641:145745] 6.33.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-09-30 20:23:24.259592+0900 LeySerKids-P[2641:145484] FirebasePlugin[native]: didRegisterForRemoteNotificationsWithDeviceToken: {length = 32, bytes = 0x382e8745 0d9b49eb 0245e42f 42aa7002 ... 495a0a9c 51552240 }
2020-09-30 20:23:27.453743+0900 LeySerKids-P[2641:145819] 6.33.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-09-30 20:23:27.453809+0900 LeySerKids-P[2641:145484] FirebasePlugin[native] LOG: didRegisterForRemoteNotificationsWithDeviceToken: {length = 32, bytes = 0x382e8745 0d9b49eb 0245e42f 42aa7002 ... 495a0a9c 51552240 }
2020-09-30 20:23:27.454474+0900 LeySerKids-P[2641:145885] 6.33.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-09-30 20:23:27.456891+0900 LeySerKids-P[2641:145484] FirebasePlugin[native]: didRegisterForRemoteNotificationsWithDeviceToken: {length = 32, bytes = 0x382e8745 0d9b49eb 0245e42f 42aa7002 ... 495a0a9c 51552240 }
2020-09-30 20:23:28.770348+0900 LeySerKids-P[2641:145484] FirebasePlugin[native] LOG: willPresentNotification: {
aps = {
alert = {
body = LeySerKids;
title = LeySerKids;
};
badge = 59;
"content-available" = 1;
sound = default;
};
badge = 59;
extras = "{\"category\":\"test\",\"noIncreaseBadge\":true}";
"gcm.message_id" = 1601465008736867;
"google.c.a.e" = 1;
}
2020-09-30 20:23:28.775355+0900 LeySerKids-P[2641:145484] FirebasePlugin[native]: willPresentNotification: { aps = { alert = { body = LeySerKids; title = LeySerKids; }; badge = 59; "content-available" = 1; sound = default; }; badge = 59; extras = "{"category":"test","noIncreaseBadge":true}"; "gcm.message_id" = 1601465008736867; "google.c.a.e" = 1;}
2020-09-30 20:23:28.778757+0900 LeySerKids-P[2641:145484] FirebasePlugin.onNotificationOpen
2020-09-30 20:23:28.779356+0900 LeySerKids-P[2641:145484] {"extras":"{\"category\":\"test\",\"noIncreaseBadge\":true}","aps":{"content-available":1,"alert":{"title":"LeySerKids","body":"LeySerKids"},"badge":59,"sound":"default"},"google.c.a.e":"1","badge":"59","gcm.message_id":"1601465008736867"}
2020-09-30 20:23:28.791284+0900 LeySerKids-P[2641:145885] 6.33.0 - [Firebase/Messaging][I-FCM018001] Device has capacity 60986 MB with 37464 MB free.
2020-09-30 20:23:28.792062+0900 LeySerKids-P[2641:145885] 6.33.0 - [Firebase/Messaging][I-FCM006000] Received message missing local start time, dropped.
2020-09-30 20:23:28.792878+0900 LeySerKids-P[2641:145885] 6.33.0 - [Firebase/Messaging][I-FCM019005] FIRMessagingAnalytics: Sending event: _nf params: {
}
2020-09-30 20:23:28.794508+0900 LeySerKids-P[2641:145885] 6.33.0 - [Firebase/Messaging][I-FCM006000] Received message missing local start time, dropped.
2020-09-30 20:23:28.794988+0900 LeySerKids-P[2641:145885] 6.33.0 - [Firebase/Messaging][I-FCM016004] Added sync message to cache: 1601465008736867
2020-09-30 20:23:28.796038+0900 LeySerKids-P[2641:145484] FirebasePlugin[native] LOG: didReceiveRemoteNotification: {
aps = {
alert = {
body = LeySerKids;
title = LeySerKids;
};
badge = 59;
"content-available" = 1;
sound = default;
};
badge = 59;
extras = "{\"category\":\"test\",\"noIncreaseBadge\":true}";
"gcm.message_id" = 1601465008736867;
"google.c.a.e" = 1;
}
2020-09-30 20:23:28.803846+0900 LeySerKids-P[2641:145484] FirebasePlugin[native]: didReceiveRemoteNotification: { aps = { alert = { body = LeySerKids; title = LeySerKids; }; badge = 59; "content-available" = 1; sound = default; }; badge = 59; extras = "{"category":"test","noIncreaseBadge":true}"; "gcm.message_id" = 1601465008736867; "google.c.a.e" = 1;}
2020-09-30 20:23:28.804020+0900 LeySerKids-P[2641:145484] FirebasePlugin.onNotificationOpen
2020-09-30 20:23:28.804085+0900 LeySerKids-P[2641:145484] {"extras":"{\"category\":\"test\",\"noIncreaseBadge\":true}","aps":{"content-available":1,"alert":{"title":"LeySerKids","body":"LeySerKids"},"badge":59,"sound":"default"},"google.c.a.e":"1","badge":"59","gcm.message_id":"1601465008736867"}
Thanks for the update @ewfian!
@tomkelsey @ahmadworks @enasaz9 can you try updating to 6.33.0 and using the new Messaging API as well?
Hi @morganchen12 - I've tried using the quickstart with version 6.33.0 but don't believe I'm using the new API (I was just using the code from the quickstart repository).
I'm afraid I don't know objective c nor how everything pieces together. If you can let me know what changes I'd need to make to the quickstart example to use the new API I'm happy to test and see if it resolves the issue :thumbsup:
Also re: logs. Is there a way to get device logs from a testflight device? As that seems to be the environment where I can most reliably reproduce the issue.
Failing that I can try and recreate via a device connected directly to my machine but I'm not sure how to access the logs after hard closing the app and then re-opening?
Following on from my comment above, I saw this PR https://github.com/firebase/quickstart-ios/pull/1053 on using the new messaging API and implemented the changes.
Unfortunately it didn't change the behaviour I outlined above. I still seemed to get the same results on testing multiple times via TestFlight.
I'm not sure I had the right level of debugging enabled, but I've included a bunch of app logs for it both working and not working running on a device attached to my computer (not via TestFlight) using the old API.
In each case I opened the app, tapped Log Token, then backgrounded the app and tried to send a push notification via the Firebase console directly to the FCM token.
Old API, worked:
2020-10-01 15:46:52.483777+0100 MessagingExample[1162:303171] 6.33.0 - [Firebase/Messaging][I-FCM001000] FIRMessaging Remote Notifications proxy enabled, will swizzle remote notification receiver handlers. If you'd prefer to manually integrate Firebase Messaging, add "FirebaseAppDelegateProxyEnabled" to your Info.plist, and set it to NO. Follow the instructions at:
https://firebase.google.com/docs/cloud-messaging/ios/client#method_swizzling_in_firebase_messaging
to ensure proper integration.
2020-10-01 15:46:53.020186+0100 MessagingExample[1162:303162] 6.33.0 - [Firebase/Analytics][I-ACS023007] Analytics v.60803000 started
2020-10-01 15:46:53.021383+0100 MessagingExample[1162:303162] 6.33.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2020-10-01 15:46:53.092820+0100 MessagingExample[1162:303063] FCM registration token: fQYKkUU0ukEVjonRu22uKL:APA91bHXwgcjGjvCU2guWKkMih1M4mdd9fN5fNMaCZdGYnUqWhOSHtep_UNoO1bhx1WPFhYEzIyaybpMcbVJHJmp1bK9cxOgN9Y1ihxtDdKH4qLYAl7d_SyhI6-QuD9FgiVCCC2IhPDn
2020-10-01 15:46:53.242087+0100 MessagingExample[1162:303167] 6.33.0 - [Firebase/Analytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
2020-10-01 15:46:53.389902+0100 MessagingExample[1162:303167] 6.33.0 - [Firebase/Analytics][I-ACS023012] Analytics collection enabled
2020-10-01 15:46:53.390671+0100 MessagingExample[1162:303167] 6.33.0 - [Firebase/Analytics][I-ACS023220] Analytics screen reporting is enabled. Call +[FIRAnalytics logEventWithName:FIREventScreenView parameters:] to log a screen view event. To disable automatic screen reporting, set the flag FirebaseAutomaticScreenReportingEnabled to NO (boolean) in the Info.plist
2020-10-01 15:47:05.940328+0100 MessagingExample[1162:303063] Local FCM registration token: fQYKkUU0ukEVjonRu22uKL:APA91bHXwgcjGjvCU2guWKkMih1M4mdd9fN5fNMaCZdGYnUqWhOSHtep_UNoO1bhx1WPFhYEzIyaybpMcbVJHJmp1bK9cxOgN9Y1ihxtDdKH4qLYAl7d_SyhI6-QuD9FgiVCCC2IhPDn
2020-10-01 15:47:05.961332+0100 MessagingExample[1162:303063] Returning local object of class NSString
2020-10-01 15:47:05.983336+0100 MessagingExample[1162:303063] Remote instance ID token: fQYKkUU0ukEVjonRu22uKL:APA91bHXwgcjGjvCU2guWKkMih1M4mdd9fN5fNMaCZdGYnUqWhOSHtep_UNoO1bhx1WPFhYEzIyaybpMcbVJHJmp1bK9cxOgN9Y1ihxtDdKH4qLYAl7d_SyhI6-QuD9FgiVCCC2IhPDn
2020-10-01 15:47:07.160309+0100 MessagingExample[1162:303178] 6.33.0 - [Firebase/Analytics][I-ACS023130] Configuration not found. Using default configuration
2020-10-01 15:47:07.292115+0100 MessagingExample[1162:303063] Local FCM registration token: fQYKkUU0ukEVjonRu22uKL:APA91bHXwgcjGjvCU2guWKkMih1M4mdd9fN5fNMaCZdGYnUqWhOSHtep_UNoO1bhx1WPFhYEzIyaybpMcbVJHJmp1bK9cxOgN9Y1ihxtDdKH4qLYAl7d_SyhI6-QuD9FgiVCCC2IhPDn
2020-10-01 15:47:07.302965+0100 MessagingExample[1162:303063] Returning local object of class NSString
2020-10-01 15:47:07.321058+0100 MessagingExample[1162:303173] PBItemCollectionServicer connection disconnected.
2020-10-01 15:47:07.324093+0100 MessagingExample[1162:303063] Remote instance ID token: fQYKkUU0ukEVjonRu22uKL:APA91bHXwgcjGjvCU2guWKkMih1M4mdd9fN5fNMaCZdGYnUqWhOSHtep_UNoO1bhx1WPFhYEzIyaybpMcbVJHJmp1bK9cxOgN9Y1ihxtDdKH4qLYAl7d_SyhI6-QuD9FgiVCCC2IhPDn
2020-10-01 15:47:20.621895+0100 MessagingExample[1162:303177] PBItemCollectionServicer connection disconnected.
Old API, worked:
2020-10-01 15:57:08.446849+0100 MessagingExample[365:8023] 6.33.0 - [Firebase/Analytics][I-ACS023007] Analytics v.60803000 started
2020-10-01 15:57:08.447245+0100 MessagingExample[365:8023] 6.33.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2020-10-01 15:57:08.449262+0100 MessagingExample[365:8027] 6.33.0 - [Firebase/Messaging][I-FCM001000] FIRMessaging Remote Notifications proxy enabled, will swizzle remote notification receiver handlers. If you'd prefer to manually integrate Firebase Messaging, add "FirebaseAppDelegateProxyEnabled" to your Info.plist, and set it to NO. Follow the instructions at:
https://firebase.google.com/docs/cloud-messaging/ios/client#method_swizzling_in_firebase_messaging
to ensure proper integration.
2020-10-01 15:57:08.880253+0100 MessagingExample[365:8029] 6.33.0 - [Firebase/Analytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
2020-10-01 15:57:09.023276+0100 MessagingExample[365:8029] 6.33.0 - [Firebase/Analytics][I-ACS023012] Analytics collection enabled
2020-10-01 15:57:09.024147+0100 MessagingExample[365:8029] 6.33.0 - [Firebase/Analytics][I-ACS023220] Analytics screen reporting is enabled. Call +[FIRAnalytics logEventWithName:FIREventScreenView parameters:] to log a screen view event. To disable automatic screen reporting, set the flag FirebaseAutomaticScreenReportingEnabled to NO (boolean) in the Info.plist
2020-10-01 15:57:09.448156+0100 MessagingExample[365:7807] FCM registration token: d-_MYE2Sjks1jtzVkUgL9N:APA91bES_tD6sRE5GChBznQg9c0DN4FOTEQaLIds2IX4kIv5KHLkrf3cHC0a30yazGn0SpG6YrwKtbfqZfCyW97vgp1eN4m4SNdvuCnQvY-lRARgwdNcGsKIq29sG1hI17kdrf25j4cN
2020-10-01 15:57:11.636569+0100 MessagingExample[365:7807] Local FCM registration token: d-_MYE2Sjks1jtzVkUgL9N:APA91bES_tD6sRE5GChBznQg9c0DN4FOTEQaLIds2IX4kIv5KHLkrf3cHC0a30yazGn0SpG6YrwKtbfqZfCyW97vgp1eN4m4SNdvuCnQvY-lRARgwdNcGsKIq29sG1hI17kdrf25j4cN
2020-10-01 15:57:11.655281+0100 MessagingExample[365:7807] Returning local object of class NSString
2020-10-01 15:57:11.678480+0100 MessagingExample[365:7807] Remote instance ID token: d-_MYE2Sjks1jtzVkUgL9N:APA91bES_tD6sRE5GChBznQg9c0DN4FOTEQaLIds2IX4kIv5KHLkrf3cHC0a30yazGn0SpG6YrwKtbfqZfCyW97vgp1eN4m4SNdvuCnQvY-lRARgwdNcGsKIq29sG1hI17kdrf25j4cN
2020-10-01 15:57:23.573220+0100 MessagingExample[365:8027] 6.33.0 - [Firebase/Analytics][I-ACS023130] Configuration not found. Using default configuration
2020-10-01 15:57:29.908614+0100 MessagingExample[365:8024] PBItemCollectionServicer connection disconnected.
Old API, worked:
2020-10-01 15:58:18.450529+0100 MessagingExample[371:8996] 6.33.0 - [Firebase/Messaging][I-FCM001000] FIRMessaging Remote Notifications proxy enabled, will swizzle remote notification receiver handlers. If you'd prefer to manually integrate Firebase Messaging, add "FirebaseAppDelegateProxyEnabled" to your Info.plist, and set it to NO. Follow the instructions at:
https://firebase.google.com/docs/cloud-messaging/ios/client#method_swizzling_in_firebase_messaging
to ensure proper integration.
2020-10-01 15:58:18.635829+0100 MessagingExample[371:8988] 6.33.0 - [Firebase/Analytics][I-ACS023007] Analytics v.60803000 started
2020-10-01 15:58:18.636401+0100 MessagingExample[371:8988] 6.33.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2020-10-01 15:58:19.002369+0100 MessagingExample[371:9004] 6.33.0 - [Firebase/Analytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
2020-10-01 15:58:19.186834+0100 MessagingExample[371:8914] FCM registration token: dkL-a1RRCEPEgB6JQULpEr:APA91bFpiLFUnfc9L09C-HHDwO8SLuTOMgTWX2hkdOfunoNNn7T6oal221c_iCCbsxuKgczrywVJmrQWBwxTxCcpPj9LPoTKtS56Nq1RkvR_VbuOBvNVskigvzwXShDnPNAEbJKyZooP
2020-10-01 15:58:19.244019+0100 MessagingExample[371:8996] 6.33.0 - [Firebase/Analytics][I-ACS023012] Analytics collection enabled
2020-10-01 15:58:19.244226+0100 MessagingExample[371:8996] 6.33.0 - [Firebase/Analytics][I-ACS023220] Analytics screen reporting is enabled. Call +[FIRAnalytics logEventWithName:FIREventScreenView parameters:] to log a screen view event. To disable automatic screen reporting, set the flag FirebaseAutomaticScreenReportingEnabled to NO (boolean) in the Info.plist
2020-10-01 15:58:20.702204+0100 MessagingExample[371:8914] Local FCM registration token: dkL-a1RRCEPEgB6JQULpEr:APA91bFpiLFUnfc9L09C-HHDwO8SLuTOMgTWX2hkdOfunoNNn7T6oal221c_iCCbsxuKgczrywVJmrQWBwxTxCcpPj9LPoTKtS56Nq1RkvR_VbuOBvNVskigvzwXShDnPNAEbJKyZooP
2020-10-01 15:58:20.718983+0100 MessagingExample[371:8914] Returning local object of class NSString
2020-10-01 15:58:20.737131+0100 MessagingExample[371:8914] Remote instance ID token: dkL-a1RRCEPEgB6JQULpEr:APA91bFpiLFUnfc9L09C-HHDwO8SLuTOMgTWX2hkdOfunoNNn7T6oal221c_iCCbsxuKgczrywVJmrQWBwxTxCcpPj9LPoTKtS56Nq1RkvR_VbuOBvNVskigvzwXShDnPNAEbJKyZooP
2020-10-01 15:58:28.704472+0100 MessagingExample[371:8996] PBItemCollectionServicer connection disconnected.
2020-10-01 15:58:31.195835+0100 MessagingExample[371:8998] 6.33.0 - [Firebase/Analytics][I-ACS023130] Configuration not found. Using default configuration
Old API, worked:
2020-10-01 16:10:55.432502+0100 MessagingExample[420:10869] 6.33.0 - [Firebase/Analytics][I-ACS023007] Analytics v.60803000 started
2020-10-01 16:10:55.432761+0100 MessagingExample[420:10869] 6.33.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2020-10-01 16:10:55.466006+0100 MessagingExample[420:10870] 6.33.0 - [Firebase/Messaging][I-FCM001000] FIRMessaging Remote Notifications proxy enabled, will swizzle remote notification receiver handlers. If you'd prefer to manually integrate Firebase Messaging, add "FirebaseAppDelegateProxyEnabled" to your Info.plist, and set it to NO. Follow the instructions at:
https://firebase.google.com/docs/cloud-messaging/ios/client#method_swizzling_in_firebase_messaging
to ensure proper integration.
2020-10-01 16:10:55.493875+0100 MessagingExample[420:10864] 6.33.0 - [Firebase/Analytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
2020-10-01 16:10:55.528330+0100 MessagingExample[420:10868] 6.33.0 - [Firebase/Analytics][I-ACS023012] Analytics collection enabled
2020-10-01 16:10:55.529007+0100 MessagingExample[420:10868] 6.33.0 - [Firebase/Analytics][I-ACS023220] Analytics screen reporting is enabled. Call +[FIRAnalytics logEventWithName:FIREventScreenView parameters:] to log a screen view event. To disable automatic screen reporting, set the flag FirebaseAutomaticScreenReportingEnabled to NO (boolean) in the Info.plist
2020-10-01 16:10:55.534096+0100 MessagingExample[420:10680] FCM registration token: cFb9HzozFUQFjxqekqeAu_:APA91bGRbe8MS5trRBToyGESkHkRkg8h2ZSM2p_cagubgXd63mfEhyQK8dGPi-fJQWn22Zb_ftV2mqfMmk7wTceGvfjOVgZ5rUi2YNDK1snDMi0mE0Nr2sGtttlfqfL3286DjRjZLRxn
2020-10-01 16:10:57.922505+0100 MessagingExample[420:10680] Local FCM registration token: cFb9HzozFUQFjxqekqeAu_:APA91bGRbe8MS5trRBToyGESkHkRkg8h2ZSM2p_cagubgXd63mfEhyQK8dGPi-fJQWn22Zb_ftV2mqfMmk7wTceGvfjOVgZ5rUi2YNDK1snDMi0mE0Nr2sGtttlfqfL3286DjRjZLRxn
2020-10-01 16:10:57.936213+0100 MessagingExample[420:10680] Returning local object of class NSString
2020-10-01 16:10:57.949996+0100 MessagingExample[420:10680] Remote instance ID token: cFb9HzozFUQFjxqekqeAu_:APA91bGRbe8MS5trRBToyGESkHkRkg8h2ZSM2p_cagubgXd63mfEhyQK8dGPi-fJQWn22Zb_ftV2mqfMmk7wTceGvfjOVgZ5rUi2YNDK1snDMi0mE0Nr2sGtttlfqfL3286DjRjZLRxn
Old API, didn't work:
2020-10-01 15:52:45.552748+0100 MessagingExample[331:4866] FCM registration token: dJz2eKbPBUWMn429NtweDL:APA91bFjBo2E9CNfKotBASJQWCyXb3R3_2KL8mDbVpDqHoK8iixRErRKIv0970flw_Sunf_w0iabiJ3oiFiH1DoPARM-9FcfhKAiUubMokQjhyiuxZV3BtJBEeC3ao-kEl36p_b823Zq
2020-10-01 15:52:45.587370+0100 MessagingExample[331:5034] 6.33.0 - [Firebase/Messaging][I-FCM001000] FIRMessaging Remote Notifications proxy enabled, will swizzle remote notification receiver handlers. If you'd prefer to manually integrate Firebase Messaging, add "FirebaseAppDelegateProxyEnabled" to your Info.plist, and set it to NO. Follow the instructions at:
https://firebase.google.com/docs/cloud-messaging/ios/client#method_swizzling_in_firebase_messaging
to ensure proper integration.
2020-10-01 15:52:45.813305+0100 MessagingExample[331:5028] 6.33.0 - [Firebase/Analytics][I-ACS023007] Analytics v.60803000 started
2020-10-01 15:52:45.813826+0100 MessagingExample[331:5028] 6.33.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2020-10-01 15:52:47.274554+0100 MessagingExample[331:4866] Local FCM registration token: dJz2eKbPBUWMn429NtweDL:APA91bFjBo2E9CNfKotBASJQWCyXb3R3_2KL8mDbVpDqHoK8iixRErRKIv0970flw_Sunf_w0iabiJ3oiFiH1DoPARM-9FcfhKAiUubMokQjhyiuxZV3BtJBEeC3ao-kEl36p_b823Zq
2020-10-01 15:52:47.304823+0100 MessagingExample[331:4866] Returning local object of class NSString
2020-10-01 15:52:47.531339+0100 MessagingExample[331:4866] FCM registration token: fLCfTrmlG0-epUV9t8BSrE:APA91bHot-bWWDoa56BNaiXQ_PPsnbdQnPs_PHcl0FDTdEsE5UJHt6VjZrZrQi5PGYgvZvr67Mb_t7xmaYA7TJ4n-a9_ApQ2cIwQFBNOM8AAatwTb8XB5nw4S6mDP1SOaa31qLunvCN2
2020-10-01 15:52:47.538971+0100 MessagingExample[331:4866] Remote instance ID token: fLCfTrmlG0-epUV9t8BSrE:APA91bHot-bWWDoa56BNaiXQ_PPsnbdQnPs_PHcl0FDTdEsE5UJHt6VjZrZrQi5PGYgvZvr67Mb_t7xmaYA7TJ4n-a9_ApQ2cIwQFBNOM8AAatwTb8XB5nw4S6mDP1SOaa31qLunvCN2
2020-10-01 15:52:48.463305+0100 MessagingExample[331:5028] 6.33.0 - [Firebase/Analytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
2020-10-01 15:52:49.472035+0100 MessagingExample[331:5028] 6.33.0 - [Firebase/Analytics][I-ACS023012] Analytics collection enabled
2020-10-01 15:52:49.473357+0100 MessagingExample[331:5028] 6.33.0 - [Firebase/Analytics][I-ACS023220] Analytics screen reporting is enabled. Call +[FIRAnalytics logEventWithName:FIREventScreenView parameters:] to log a screen view event. To disable automatic screen reporting, set the flag FirebaseAutomaticScreenReportingEnabled to NO (boolean) in the Info.plist
2020-10-01 15:52:54.283745+0100 MessagingExample[331:5030] PBItemCollectionServicer connection disconnected.
2020-10-01 15:52:55.306713+0100 MessagingExample[331:5029] 6.33.0 - [Firebase/Analytics][I-ACS023130] Configuration not found. Using default configuration
Old API, didn't work:
2020-10-01 16:00:43.368448+0100 MessagingExample[315:4714] FCM registration token: dkL-a1RRCEPEgB6JQULpEr:APA91bFpiLFUnfc9L09C-HHDwO8SLuTOMgTWX2hkdOfunoNNn7T6oal221c_iCCbsxuKgczrywVJmrQWBwxTxCcpPj9LPoTKtS56Nq1RkvR_VbuOBvNVskigvzwXShDnPNAEbJKyZooP
2020-10-01 16:00:44.209308+0100 MessagingExample[315:4849] 6.33.0 - [Firebase/Messaging][I-FCM001000] FIRMessaging Remote Notifications proxy enabled, will swizzle remote notification receiver handlers. If you'd prefer to manually integrate Firebase Messaging, add "FirebaseAppDelegateProxyEnabled" to your Info.plist, and set it to NO. Follow the instructions at:
https://firebase.google.com/docs/cloud-messaging/ios/client#method_swizzling_in_firebase_messaging
to ensure proper integration.
2020-10-01 16:00:44.460464+0100 MessagingExample[315:4714] FCM registration token: cFb9HzozFUQFjxqekqeAu_:APA91bGRbe8MS5trRBToyGESkHkRkg8h2ZSM2p_cagubgXd63mfEhyQK8dGPi-fJQWn22Zb_ftV2mqfMmk7wTceGvfjOVgZ5rUi2YNDK1snDMi0mE0Nr2sGtttlfqfL3286DjRjZLRxn
2020-10-01 16:00:44.549027+0100 MessagingExample[315:4838] 6.33.0 - [Firebase/Analytics][I-ACS023007] Analytics v.60803000 started
2020-10-01 16:00:44.555876+0100 MessagingExample[315:4838] 6.33.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2020-10-01 16:00:47.747281+0100 MessagingExample[315:4849] 6.33.0 - [Firebase/Analytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
2020-10-01 16:00:48.289502+0100 MessagingExample[315:4849] 6.33.0 - [Firebase/Analytics][I-ACS023012] Analytics collection enabled
2020-10-01 16:00:48.289644+0100 MessagingExample[315:4849] 6.33.0 - [Firebase/Analytics][I-ACS023220] Analytics screen reporting is enabled. Call +[FIRAnalytics logEventWithName:FIREventScreenView parameters:] to log a screen view event. To disable automatic screen reporting, set the flag FirebaseAutomaticScreenReportingEnabled to NO (boolean) in the Info.plist
2020-10-01 16:00:58.254313+0100 MessagingExample[315:4883] 6.33.0 - [Firebase/Analytics][I-ACS023130] Configuration not found. Using default configuration
2020-10-01 16:07:38.182633+0100 MessagingExample[315:4714] Local FCM registration token: cFb9HzozFUQFjxqekqeAu_:APA91bGRbe8MS5trRBToyGESkHkRkg8h2ZSM2p_cagubgXd63mfEhyQK8dGPi-fJQWn22Zb_ftV2mqfMmk7wTceGvfjOVgZ5rUi2YNDK1snDMi0mE0Nr2sGtttlfqfL3286DjRjZLRxn
2020-10-01 16:07:38.191772+0100 MessagingExample[315:4714] Returning local object of class NSString
2020-10-01 16:07:38.210450+0100 MessagingExample[315:4714] Remote instance ID token: cFb9HzozFUQFjxqekqeAu_:APA91bGRbe8MS5trRBToyGESkHkRkg8h2ZSM2p_cagubgXd63mfEhyQK8dGPi-fJQWn22Zb_ftV2mqfMmk7wTceGvfjOVgZ5rUi2YNDK1snDMi0mE0Nr2sGtttlfqfL3286DjRjZLRxn