Hi Team,
Firebase suddenly stop updating the fcm token. It's always giving a same token, Even i uninstall the app and check it on several times, but it's always giving the same token.
My two iOS apps was working properly but last 1 weeks it's giving the issue. When i am trying to send notification on that token its saying that "NotRegistered"
Response
{"multicast_id":1896555360655138060,"success":0,"failure":1,"canonical_ids":0,"results":[{"error":"NotRegistered"}]}.
firebase tag.CocoaPods | Carthage | Zip file (select one) Install the app and allow the notification you will get the token. Now save that token in
some where else and uninstall the app in device and again install the same app. You will get
the exact same token as you install app on first time. And you try to send notification on that
token api give below response. I have done the install and uninstall several times but same
token coming always.
{"multicast_id":1896555360655138060,"success":0,"failure":1,"canonical_ids":0,"results":
[{"error":"NotRegistered"}]}.
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
If you have a downloadable sample project that reproduces the bug you're reporting, you will
likely receive a faster response on your issue.
download the fcm sample code and integrate the same in newly created app.
Install the app in device. You will get the token, now uninstall the app and install again you will get the same token again. now use that token to send notification it will gives a error.
// TODO(you): code here to reproduce the problem
// Added this on didFinishLaunchingWithOptions function
Messaging.messaging().delegate = self
Messaging.messaging().shouldEstablishDirectChannel = false
UNUserNotificationCenter.current().requestAuthorization(options: [.alert, .sound, .badge]) {
(granted, error) in
//Parse errors and track state
debugPrint("notification=\(granted)")
DispatchQueue.main.async {
if granted {
debugPrint("granted")
}
}
}
application.registerForRemoteNotifications()
//FCM Delegate method
func messaging(_ messaging: Messaging, didReceiveRegistrationToken fcmToken: String) {
print("Firebase registration token: \(fcmToken)")
}
@vinod1988 Which sender API do you use and what does your payload look like?
@chliangGoogle I am using Firebase sender api. https://fcm.googleapis.com/fcm/send
There is no issue of sender api and payload. Only issue on iOS13.5 FCM token getting same even i uninstall the app several times and install it again and again. But the FCM token for iOS13.5 getting same on every time. I am using the latest Xcode11.5 with iOS 13.5
Can you share the debug log. you can enable "debugLog" by adding -FIRDebugEnabled flag on your xcode scheme: more details here https://firebase.google.com/docs/analytics/debugview
Another thing is can you try call FIRInstanceID.deleteID to see if that resolves the issue temporarily?
@chliangGoogle
This token i am getting every time "e3RNDcCGMkv1h8XZFlmr4Z:APA91bGDfIU8V1VPIiPBwQxlYOYv66str_OAsG_kpE-8iY7INddRmHsy1hteQN19IBn0OzNL7CxYi-PTd1hH_lHaFMAwUrcFSoZghumGLi6zZzaseON-OZv6U6CZnvUOOK7zs462xXqL"
install and uninstall the app multiple times. but getting the same token
Here is debugLog
2020-06-06 11:09:24.504266+0530 Frats[1861:762386] -
"notification=true"
"granted"
Firebase registration token: e3RNDcCGMkv1h8XZFlmr4Z:APA91bGDfIU8V1VPIiPBwQxlYOYv66str_OAsG_kpE-8iY7INddRmHsy1hteQN19IBn0OzNL7CxYi-PTd1hH_lHaFMAwUrcFSoZghumGLi6zZzaseON-OZv6U6CZnvUOOK7zs462xXqL
nil
Remote instance ID token: e3RNDcCGMkv1h8XZFlmr4Z:APA91bGDfIU8V1VPIiPBwQxlYOYv66str_OAsG_kpE-8iY7INddRmHsy1hteQN19IBn0OzNL7CxYi-PTd1hH_lHaFMAwUrcFSoZghumGLi6zZzaseON-OZv6U6CZnvUOOK7zs462xXqL
"Remote InstanceID token: e3RNDcCGMkv1h8XZFlmr4Z:APA91bGDfIU8V1VPIiPBwQxlYOYv66str_OAsG_kpE-8iY7INddRmHsy1hteQN19IBn0OzNL7CxYi-PTd1hH_lHaFMAwUrcFSoZghumGLi6zZzaseON-OZv6U6CZnvUOOK7zs462xXqL"
2020-06-06 11:09:25.640956+0530 Frats[1861:762393] 6.25.0 - [Firebase/Core][I-COR000001] Configuring the default app.
2020-06-06 11:09:25.671607+0530 Frats[1861:762393] 6.25.0 - [Firebase/Core][I-COR000033] Data Collection flag is not set.
2020-06-06 11:09:25.671646+0530 Frats[1861:762393] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-06 11:09:25.672009+0530 Frats[1861:762393] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-06 11:09:25.672110+0530 Frats[1861:762393] 6.25.0 - [Firebase/Messaging][I-FCM002000] FIRMessaging library version 4.4.1
2020-06-06 11:09:25.672223+0530 Frats[1861:762393] 6.25.0 - [GULReachability][I-REA902003] Monitoring the network status
2020-06-06 11:09:25.672287+0530 Frats[1861:762393] 6.25.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-06-06 11:09:25.672766+0530 Frats[1861:762393] 6.25.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-06-06 11:09:25.672841+0530 Frats[1861:762393] 6.25.0 - [Firebase/InstanceID][I-IID023000] Info is not found in Keychain. OSStatus: -25300. Keychain query: {
acct = "app.frats.ios";
class = genp;
gena = "com.google.iid-tokens";
"m_Limit" = "m_LimitAll";
"r_Attributes" = 1;
"r_Data" = 1;
}
2020-06-06 11:09:25.672973+0530 Frats[1861:762393] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-06 11:09:25.673024+0530 Frats[1861:762393] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-06 11:09:25.673060+0530 Frats[1861:762393] 6.25.0 - [GULReachability][I-REA902004] Network status has changed. Code:2, status:Connected
2020-06-06 11:09:25.676112+0530 Frats[1861:762386] 6.25.0 - [GULReachability][I-REA902003] Monitoring the network status
2020-06-06 11:09:25.676245+0530 Frats[1861:762386] 6.25.0 - [GULReachability][I-REA902004] Network status has changed. Code:1, status:Disconnected
2020-06-06 11:09:25.677826+0530 Frats[1861:762386] 6.25.0 - [Firebase/Analytics][I-ACS024000] Debug mode is on
2020-06-06 11:09:25.678329+0530 Frats[1861:762386] 6.25.0 - [Firebase/Analytics][I-ACS005000] The AdSupport Framework is not currently linked. Some features will not function properly. Learn more at http://goo.gl/9vSsPb
2020-06-06 11:09:25.678738+0530 Frats[1861:762386] 6.25.0 - [Firebase/Analytics][I-ACS023007] Analytics v.60501000 started
2020-06-06 11:09:25.678910+0530 Frats[1861:762386] 6.25.0 - [GULReachability][I-REA902003] Monitoring the network status
2020-06-06 11:09:25.679003+0530 Frats[1861:762386] 6.25.0 - [Firebase/Analytics][I-ACS023008] To disable debug logging set the following application argument: -noFIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2020-06-06 11:09:25.679343+0530 Frats[1861:762386] 6.25.0 - [Firebase/Analytics][I-ACS023009] Debug logging enabled
2020-06-06 11:09:25.679375+0530 Frats[1861:762386] 6.25.0 - [Firebase/Analytics][I-ACS023207] To enable verbose logging set the following application argument: -FIRAnalyticsVerboseLoggingEnabled (see http://goo.gl/RfcP7r)
2020-06-06 11:09:25.679418+0530 Frats[1861:762386] 6.25.0 - [GULReachability][I-REA902004] Network status has changed. Code:2, status:Connected
2020-06-06 11:09:25.701559+0530 Frats[1861:762393] 6.25.0 - [Firebase/Analytics][I-ACS002002] APMExperimentAlarm scheduled to fire in approx. (s): 13969.18835687637
2020-06-06 11:09:25.716785+0530 Frats[1861:762386] 6.25.0 - [Firebase/Analytics][I-ACS029014] Successfully parsed a configuration. Version: 1583219300226288
2020-06-06 11:09:25.716851+0530 Frats[1861:762386] 6.25.0 - [Firebase/Analytics][I-ACS023016] Analytics is ready to receive events
2020-06-06 11:09:25.735369+0530 Frats[1861:762436] 6.25.0 - [Firebase/Analytics][I-ACS032003] iAd framework is not linked. Search Ad Attribution Reporter is disabled.
2020-06-06 11:09:25.736611+0530 Frats[1861:762386] 6.25.0 - [Firebase/Analytics][I-ACS002002] Engagement timer scheduled to fire in approx. (s): 3600
2020-06-06 11:09:25.736719+0530 Frats[1861:762386] 6.25.0 - [Firebase/Analytics][I-ACS023012] Analytics collection enabled
2020-06-06 11:09:25.737661+0530 Frats[1861:762387] 6.25.0 - [Firebase/Analytics][I-ACS023012] Analytics collection enabled
iPhone_6_6S_7_8
2020-06-06 11:09:27.088084+0530 Frats[1861:762386] 6.25.0 - [GULReachability][I-REA902004] Network status has changed. Code:2, status:Connected
2020-06-06 11:09:27.088604+0530 Frats[1861:762386] 6.25.0 - [GULReachability][I-REA902004] Network status has changed. Code:1, status:Disconnected
2020-06-06 11:09:32.885331+0530 Frats[1861:762505] 6.25.0 - [Firebase/Analytics][I-ACS002003] Engagement timer canceled
2020-06-06 11:09:32.885394+0530 Frats[1861:762505] 6.25.0 - [Firebase/Analytics][I-ACS002002] Engagement timer scheduled to fire in approx. (s): 3600
2020-06-06 11:09:32.885473+0530 Frats[1861:762505] 6.25.0 - [Firebase/Analytics][I-ACS002003] Engagement timer canceled
2020-06-06 11:09:32.887203+0530 Frats[1861:762432] 6.25.0 - [Firebase/Analytics][I-ACS023051] Logging event: origin, name, params: auto, user_engagement (_e), {
engagement_time_msec (_et) = 7114;
ga_event_origin (_o) = auto;
}
2020-06-06 11:09:32.887864+0530 Frats[1861:762387] 6.25.0 - [Firebase/Analytics][I-ACS023073] Debug mode is enabled. Marking event as debug and real-time. Event name, parameters: user_engagement (_e), {
engagement_time_msec (_et) = 7114;
ga_debug (_dbg) = 1;
ga_event_origin (_o) = auto;
ga_realtime (_r) = 1;
}
2020-06-06 11:09:32.901818+0530 Frats[1861:762387] 6.25.0 - [Firebase/Analytics][I-ACS023072] Event logged. Event name, event params: user_engagement (_e), {
engagement_time_msec (_et) = 7114;
ga_debug (_dbg) = 1;
ga_event_origin (_o) = auto;
ga_realtime (_r) = 1;
}
2020-06-06 11:09:32.907930+0530 Frats[1861:762432] 6.25.0 - [Firebase/Analytics][I-ACS002002] Measurement timer scheduled to fire in approx. (s): 0.9204939603805542
2020-06-06 11:09:32.908276+0530 Frats[1861:762432] 6.25.0 - [Firebase/Analytics][I-ACS023051] Logging event: origin, name, params: auto, app_background (_ab), {
ga_event_origin (_o) = auto;
}
2020-06-06 11:09:32.908624+0530 Frats[1861:762432] 6.25.0 - [Firebase/Analytics][I-ACS023073] Debug mode is enabled. Marking event as debug and real-time. Event name, parameters: app_background (_ab), {
ga_debug (_dbg) = 1;
ga_event_origin (_o) = auto;
ga_realtime (_r) = 1;
}
2020-06-06 11:09:32.917614+0530 Frats[1861:762432] 6.25.0 - [Firebase/Analytics][I-ACS023072] Event logged. Event name, event params: app_background (_ab), {
ga_debug (_dbg) = 1;
ga_event_origin (_o) = auto;
ga_realtime (_r) = 1;
}
2020-06-06 11:09:32.923695+0530 Frats[1861:762432] 6.25.0 - [Firebase/Analytics][I-ACS023105] Event is not subject to real-time event count daily limit. Marking an event as real-time. Event name, parameters: user_engagement (_e), {
engagement_time_msec (_et) = 7114;
ga_debug (_dbg) = 1;
ga_event_origin (_o) = auto;
ga_realtime (_r) = 1;
}
2020-06-06 11:09:32.927019+0530 Frats[1861:762432] 6.25.0 - [Firebase/Analytics][I-ACS023105] Event is not subject to real-time event count daily limit. Marking an event as real-time. Event name, parameters: app_background (_ab), {
ga_debug (_dbg) = 1;
ga_event_origin (_o) = auto;
ga_realtime (_r) = 1;
}
2020-06-06 11:09:32.927977+0530 Frats[1861:762432] 6.25.0 - [Firebase/Analytics][I-ACS023087] User property set. Name, value: lifetime_user_engagement (_lte), 7115
2020-06-06 11:09:32.928570+0530 Frats[1861:762432] 6.25.0 - [Firebase/Analytics][I-ACS023087] User property set. Name, value: session_user_engagement (_se), 7115
2020-06-06 11:09:32.930297+0530 Frats[1861:762432] 6.25.0 - [Firebase/Analytics][I-ACS012018] Saving bundle. size (bytes): 427
2020-06-06 11:09:32.930530+0530 Frats[1861:762432] 6.25.0 - [Firebase/Analytics][I-ACS023116] Bundle added to the upload queue. BundleID, timestamp (ms): 3, 1591421972829
2020-06-06 11:09:32.936852+0530 Frats[1861:762432] 6.25.0 - [Firebase/Analytics][I-ACS023039] Measurement data sent to network. Timestamp (ms), data: 1591421972936,
2020-06-06 11:09:32.939504+0530 Frats[1861:762505] 6.25.0 - [Firebase/Analytics][I-ACS900000] Uploading data. Host: https://app-measurement.com/a
2020-06-06 11:09:33.030595+0530 Frats[1861:762432] 6.25.0 - [Firebase/Analytics][I-ACS901006] Received SSL challenge for host. Host: https://app-measurement.com/a
2020-06-06 11:09:33.185378+0530 Frats[1861:762435] 6.25.0 - [Firebase/Analytics][I-ACS023044] Successful upload. Got network response. Code, size: 204, -1
2020-06-06 11:09:33.197488+0530 Frats[1861:762432] 6.25.0 - [Firebase/Analytics][I-ACS002003] Measurement timer canceled
2020-06-06 11:09:33.198761+0530 Frats[1861:762435] 6.25.0 - [Firebase/Analytics][I-ACS023142] Cancelling background upload task. Task ID : 6
2020-06-06 11:10:42.254514+0530 Frats[1861:762835] 6.25.0 - [Firebase/Analytics][I-ACS002002] Engagement timer scheduled to fire in approx. (s): 3600
@maksymmalyhin Do you have any idea if client can get the same FID/token even after app uninstall?
@chliangGoogle I am not aware of a valid case when the client can get the same FID/token even after app uninstall, if it does, it's a bug.
FID, FIS token and FCM token are stored in the keychain which preserves the data between app installations, but FID and FIS stored in the keychain are ignored if there is no are a corresponding flag in User Defaults (see the logic here). The User Defaults are supposed to be deleted with the app which means that after the app uninstall and reinstall a new FID and FIS token should be generated that will replace old ones.
FCM token stored in keychain should be updated after uninstall based on the updated FID (implemented in #4096)
@vinod1988 To help us narrow down the scope of the issue could you please check the following things:
IID variable from at this line. If it matches the prefix of the Firebase Messaging token? @maksymmalyhin thanks for reply
But this is bug. Let me know when this resolved.
I will try to add your suggested points and let me know. and will share you the debugLog same as well.
@maksymmalyhin and @chliangGoogle sorry for the late reply. I was busy with other task.
Today i have investigated the bug again and found that Token refresh bug resoled.
But found another interesting bug. Scenario
1] Uninstall the app from device and install the fresh app.
2] After allow the notification you will get the fcm token.
3] Now restart the app every time you will get the different token.
Note: What is the time limit of token expiration. But this kind of behaviour is not coming in android. I tested on android its working properly. Its not refreshing the fcm token on every time user start and close the app. Its happening only on ios.
Let me know when this bug resolved.
2020-06-24 15:53:24.817934+0530 Frats[1447:472009] -
2020-06-24 15:53:24.962042+0530 Frats[1447:472004] 6.25.0 - [Firebase/Core][I-COR000001] Configuring the default app.
2020-06-24 15:53:24.962354+0530 Frats[1447:472004] 6.25.0 - [Firebase/Core][I-COR000033] Data Collection flag is not set.
2020-06-24 15:53:24.980325+0530 Frats[1447:472009] 6.25.0 - [Firebase/Analytics][I-ACS024000] Debug mode is on
2020-06-24 15:53:24.981973+0530 Frats[1447:472009] 6.25.0 - [Firebase/Analytics][I-ACS005000] The AdSupport Framework is not currently linked. Some features will not function properly. Learn more at http://goo.gl/9vSsPb
"notification=true"
"granted"
Remote instance ID token: fvUEcvuCakJQpV0kaytuD3:APA91bEogFOLdGiQHkLIaPsGpsUysvV4gi3CqVfEf3CI3Rk0gD56VWJd062LAgFfC8fAJmkRRLZcTpdNjJTePEiBsiuRCJdNTnzDOmikkxQq_eiCHmN0AqfxddhHKuCE36jm5OvPM-3N
Firebase registration token: fvUEcvuCakJQpV0kaytuD3:APA91bEogFOLdGiQHkLIaPsGpsUysvV4gi3CqVfEf3CI3Rk0gD56VWJd062LAgFfC8fAJmkRRLZcTpdNjJTePEiBsiuRCJdNTnzDOmikkxQq_eiCHmN0AqfxddhHKuCE36jm5OvPM-3N
nil
Remote instance ID token: fvUEcvuCakJQpV0kaytuD3:APA91bEogFOLdGiQHkLIaPsGpsUysvV4gi3CqVfEf3CI3Rk0gD56VWJd062LAgFfC8fAJmkRRLZcTpdNjJTePEiBsiuRCJdNTnzDOmikkxQq_eiCHmN0AqfxddhHKuCE36jm5OvPM-3N
"Remote InstanceID token: fvUEcvuCakJQpV0kaytuD3:APA91bEogFOLdGiQHkLIaPsGpsUysvV4gi3CqVfEf3CI3Rk0gD56VWJd062LAgFfC8fAJmkRRLZcTpdNjJTePEiBsiuRCJdNTnzDOmikkxQq_eiCHmN0AqfxddhHKuCE36jm5OvPM-3N"
APNs token retrieved: 32 bytes
49d7125d7019090ff70c7a0a60a6ab86f648c35904afabf1da555f2766c53632
APNs token retrieved: SdcSXXAZCQ/3DHoKYKarhvZIw1kEr6vx2lVfJ2bFNjI=
2020-06-24 15:53:25.177949+0530 Frats[1447:472009] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:25.178279+0530 Frats[1447:472009] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:25.178450+0530 Frats[1447:472009] 6.25.0 - [Firebase/Messaging][I-FCM002000] FIRMessaging library version 4.4.1
2020-06-24 15:53:25.178612+0530 Frats[1447:472009] 6.25.0 - [GULReachability][I-REA902003] Monitoring the network status
2020-06-24 15:53:25.178742+0530 Frats[1447:472009] 6.25.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-06-24 15:53:25.179346+0530 Frats[1447:472009] 6.25.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-06-24 15:53:25.179701+0530 Frats[1447:472009] 6.25.0 - [GULReachability][I-REA902003] Monitoring the network status
2020-06-24 15:53:25.179822+0530 Frats[1447:472009] 6.25.0 - [GULReachability][I-REA902003] Monitoring the network status
2020-06-24 15:53:25.179867+0530 Frats[1447:472009] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:25.180001+0530 Frats[1447:472009] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:25.180158+0530 Frats[1447:472009] 6.25.0 - [Firebase/InstanceID][I-IID003012] Provisioning profile has specifically provisioned devices, most likely a Dev profile.
2020-06-24 15:53:25.180295+0530 Frats[1447:472009] 6.25.0 - [Firebase/InstanceID][I-IID003013] APNS Environment in profile: development
2020-06-24 15:53:25.180330+0530 Frats[1447:472009] 6.25.0 - [GULReachability][I-REA902004] Network status has changed. Code:3, status:Connected
2020-06-24 15:53:25.180392+0530 Frats[1447:472009] 6.25.0 - [GULReachability][I-REA902004] Network status has changed. Code:1, status:Disconnected
2020-06-24 15:53:25.180465+0530 Frats[1447:472009] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:25.180529+0530 Frats[1447:472009] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:25.180565+0530 Frats[1447:472009] 6.25.0 - [GULReachability][I-REA902004] Network status has changed. Code:3, status:Connected
2020-06-24 15:53:25.180634+0530 Frats[1447:472009] 6.25.0 - [Firebase/InstanceID][I-IID021000] Unregister request to https://fcmtoken.googleapis.com/register content: X-osv=13.5&device=4666267842348930640&X-scope=&plat=2&app=app.frats.ios&app_ver=0.9.8&X-cliv=fiid-4.4.1&delete=true&iid-operation=delete&sender=&appid=fvUEcvuCakJQpV0kaytuD3
2020-06-24 15:53:25.184445+0530 Frats[1447:472008] 6.25.0 - [Firebase/Analytics][I-ACS023007] Analytics v.60501000 started
2020-06-24 15:53:25.184912+0530 Frats[1447:472008] 6.25.0 - [Firebase/Analytics][I-ACS023008] To disable debug logging set the following application argument: -noFIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2020-06-24 15:53:25.185281+0530 Frats[1447:472008] 6.25.0 - [Firebase/Analytics][I-ACS023009] Debug logging enabled
2020-06-24 15:53:25.185460+0530 Frats[1447:472008] 6.25.0 - [Firebase/Analytics][I-ACS023207] To enable verbose logging set the following application argument: -FIRAnalyticsVerboseLoggingEnabled (see http://goo.gl/RfcP7r)
2020-06-24 15:53:25.186915+0530 Frats[1447:472009] 6.25.0 - [Firebase/Analytics][I-ACS002002] APMExperimentAlarm scheduled to fire in approx. (s): 13629.57499814034
2020-06-24 15:53:25.210281+0530 Frats[1447:472011] 6.25.0 - [Firebase/Analytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
2020-06-24 15:53:25.210605+0530 Frats[1447:472011] 6.25.0 - [Firebase/Analytics][I-ACS029014] Successfully parsed a configuration. Version: 1583219300226288
2020-06-24 15:53:25.210763+0530 Frats[1447:472011] 6.25.0 - [Firebase/Analytics][I-ACS023016] Analytics is ready to receive events
2020-06-24 15:53:25.211046+0530 Frats[1447:472011] 6.25.0 - [Firebase/Analytics][I-ACS032003] iAd framework is not linked. Search Ad Attribution Reporter is disabled.
2020-06-24 15:53:25.213120+0530 Frats[1447:472010] 6.25.0 - [Firebase/Analytics][I-ACS002002] Engagement timer scheduled to fire in approx. (s): 3600
2020-06-24 15:53:25.213151+0530 Frats[1447:472010] 6.25.0 - [Firebase/Analytics][I-ACS023012] Analytics collection enabled
2020-06-24 15:53:25.213432+0530 Frats[1447:472010] 6.25.0 - [Firebase/Analytics][I-ACS023012] Analytics collection enabled
2020-06-24 15:53:26.158290+0530 Frats[1447:472010] [] nw_resolver_start_query_timer_block_invoke Query fired: did not receive both families in time for www.google.com:0
Firebase registration token:
2020-06-24 15:53:26.373592+0530 Frats[1447:472011] 6.25.0 - [Firebase/Installations][I-FIS002002] -[FIRInstallationsIDController createDeleteInstallationPromise], appName: __FIRAPP_DEFAULT
nil
2020-06-24 15:53:26.386210+0530 Frats[1447:472011] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:26.386756+0530 Frats[1447:472011] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:26.387686+0530 Frats[1447:472011] 6.25.0 - [Firebase/InstanceID][I-IID023000] Info is not found in Keychain. OSStatus: -25300. Keychain query: {
acct = "app.frats.ios";
class = genp;
gena = "com.google.iid-tokens";
"m_Limit" = "m_LimitAll";
"r_Attributes" = 1;
"r_Data" = 1;
svce = "624030538768:";
}
2020-06-24 15:53:26.392372+0530 Frats[1447:472011] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:26.392918+0530 Frats[1447:472011] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:26.393557+0530 Frats[1447:472011] 6.25.0 - [Firebase/InstanceID][I-IID014000] Fetch new token for authorizedEntity: 624030538768, scope: *
2020-06-24 15:53:26.395535+0530 Frats[1447:472011] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:26.396225+0530 Frats[1447:472011] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:26.411777+0530 Frats[1447:472011] 6.25.0 - [Firebase/InstanceID][I-IID020000] Register request to https://fcmtoken.googleapis.com/register content: X-osv=13.5&device=4666267842348930640&X-scope=&plat=2&app=app.frats.ios&app_ver=0.9.8&X-cliv=fiid-4.4.1&sender=624030538768&X-subtype=624030538768&appid=fvUEcvuCakJQpV0kaytuD3&apns_token=s_49d7125d7019090ff70c7a0a60a6ab86f648c35904afabf1da555f2766c53632&gmp_app_id=1:624030538768:ios:8bde254c46c72738a57e95
2020-06-24 15:53:26.416218+0530 Frats[1447:472010] 6.25.0 - [Firebase/Installations][I-FIS001001] Sending request:
Authorization = "FIS_v2 2_4j179UeXteTG0md9A-hL0OBS2UVZgHQIV8p_mZr58jK1KcRg9EKnHoMUAHJg85S_";
"Content-Type" = "application/json";
"X-Goog-Api-Key" = AIzaSyCjcmAKdYjYk8qClusEcWGkFgsMtyDwLr8;
"X-Ios-Bundle-Identifier" = "app.frats.ios";
"X-firebase-client" = "apple-platform/ios apple-sdk/17F65 fire-analytics/6.5.1 fire-db/6.2.1 fire-fcm/4.4.1 fire-fst/1.14.0 fire-iid/4.3.4 fire-install/1.2.0 fire-ios/6.7.1 swift/true xcode/11E608c";
"X-firebase-client-log-type" = 0;
}.
Remote instance ID token: fvUEcvuCakJQpV0kaytuD3:APA91bHaKvGOPZLWwE6GwQEzOOcbIyhfp08cM_5STI7LtNgbdRrfKzmEQ_Ub-SXZe_ZpipCHdGidV65PcwPZMk9-FnNbsVHgiN7uV9pP-KrWkiBLh4WCkyo_p8Xy0UwlVbNMOZpVJtI2
"Remote InstanceID token: fvUEcvuCakJQpV0kaytuD3:APA91bHaKvGOPZLWwE6GwQEzOOcbIyhfp08cM_5STI7LtNgbdRrfKzmEQ_Ub-SXZe_ZpipCHdGidV65PcwPZMk9-FnNbsVHgiN7uV9pP-KrWkiBLh4WCkyo_p8Xy0UwlVbNMOZpVJtI2"
Firebase registration token: fvUEcvuCakJQpV0kaytuD3:APA91bHaKvGOPZLWwE6GwQEzOOcbIyhfp08cM_5STI7LtNgbdRrfKzmEQ_Ub-SXZe_ZpipCHdGidV65PcwPZMk9-FnNbsVHgiN7uV9pP-KrWkiBLh4WCkyo_p8Xy0UwlVbNMOZpVJtI2
nil
Remote instance ID token: fvUEcvuCakJQpV0kaytuD3:APA91bHaKvGOPZLWwE6GwQEzOOcbIyhfp08cM_5STI7LtNgbdRrfKzmEQ_Ub-SXZe_ZpipCHdGidV65PcwPZMk9-FnNbsVHgiN7uV9pP-KrWkiBLh4WCkyo_p8Xy0UwlVbNMOZpVJtI2
"Remote InstanceID token: fvUEcvuCakJQpV0kaytuD3:APA91bHaKvGOPZLWwE6GwQEzOOcbIyhfp08cM_5STI7LtNgbdRrfKzmEQ_Ub-SXZe_ZpipCHdGidV65PcwPZMk9-FnNbsVHgiN7uV9pP-KrWkiBLh4WCkyo_p8Xy0UwlVbNMOZpVJtI2"
["domain": "nid", "sub_domain": "in", "device_token": "fvUEcvuCakJQpV0kaytuD3:APA91bHaKvGOPZLWwE6GwQEzOOcbIyhfp08cM_5STI7LtNgbdRrfKzmEQ_Ub-SXZe_ZpipCHdGidV65PcwPZMk9-FnNbsVHgiN7uV9pP-KrWkiBLh4WCkyo_p8Xy0UwlVbNMOZpVJtI2", "device_id": "014C3393-261D-4169-84B8-A7137276FD15", "user_id": "5ea959d28ba9282cac24bf21"]
"[\"domain\": \"nid\", \"sub_domain\": \"in\", \"device_token\": \"fvUEcvuCakJQpV0kaytuD3:APA91bHaKvGOPZLWwE6GwQEzOOcbIyhfp08cM_5STI7LtNgbdRrfKzmEQ_Ub-SXZe_ZpipCHdGidV65PcwPZMk9-FnNbsVHgiN7uV9pP-KrWkiBLh4WCkyo_p8Xy0UwlVbNMOZpVJtI2\", \"device_id\": \"014C3393-261D-4169-84B8-A7137276FD15\", \"user_id\": \"5ea959d28ba9282cac24bf21\"]"
2020-06-24 15:53:26.769906+0530 Frats[1447:472018] 6.25.0 - [Firebase/InstanceID][I-IID023002] Couldn't delete item from Keychain OSStatus: -25300 with the keychain query {
acct = "app.frats.ios";
class = genp;
gena = "com.google.iid-tokens";
svce = "624030538768:";
}
2020-06-24 15:53:26.770719+0530 Frats[1447:472018] 6.25.0 - [Firebase/InstanceID][I-IID014001] Token fetch successful, token: fvUEcvuCakJQpV0kaytuD3:APA91bHaKvGOPZLWwE6GwQEzOOcbIyhfp08cM_5STI7LtNgbdRrfKzmEQ_Ub-SXZe_ZpipCHdGidV65PcwPZMk9-FnNbsVHgiN7uV9pP-KrWkiBLh4WCkyo_p8Xy0UwlVbNMOZpVJtI2, authorizedEntity: 624030538768, scope:
2020-06-24 15:53:26.771579+0530 Frats[1447:472018] 6.25.0 - [Firebase/InstanceID][I-IID003010] Successfully fetched default token.
2020-06-24 15:53:26.771744+0530 Frats[1447:472018] 6.25.0 - [Firebase/InstanceID][I-IID003008] Got default token fvUEcvuCakJQpV0kaytuD3:APA91bHaKvGOPZLWwE6GwQEzOOcbIyhfp08cM_5STI7LtNgbdRrfKzmEQ_Ub-SXZe_ZpipCHdGidV65PcwPZMk9-FnNbsVHgiN7uV9pP-KrWkiBLh4WCkyo_p8Xy0UwlVbNMOZpVJtI2
2020-06-24 15:53:26.771998+0530 Frats[1447:472018] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:26.772166+0530 Frats[1447:472018] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
"autoUpdatePushToken=[\"message\": This device details Already Exist, push token updated, \"status\": 200]"
2020-06-24 15:53:27.249866+0530 Frats[1447:472010] 6.25.0 - [Firebase/Installations][I-FIS001003] Request response received:
"error": {
"code": 404,
"message": "Requested entity was not found.",
"status": "NOT_FOUND"
}
}
.
2020-06-24 15:53:27.256429+0530 Frats[1447:472010] 6.25.0 - [Firebase/Installations][I-FIS001004] Unexpected API response:
"Cache-Control" = (
private
);
"Content-Encoding" = (
gzip
);
"Content-Length" = (
115
);
"Content-Type" = (
"application/json; charset=UTF-8"
);
Date = (
"Wed, 24 Jun 2020 10:23:27 GMT"
);
Server = (
ESF
);
Vary = (
Origin,
"X-Origin",
Referer
);
"alt-svc" = (
"h3-27=\":443\"; ma=2592000,h3-25=\":443\"; ma=2592000,h3-T050=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""
);
"x-content-type-options" = (
nosniff
);
"x-frame-options" = (
SAMEORIGIN
);
"x-xss-protection" = (
0
);
} }, body: {
"error": {
"code": 404,
"message": "Requested entity was not found.",
"status": "NOT_FOUND"
}
}
.
2020-06-24 15:53:27.259149+0530 Frats[1447:472010] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
nil
2020-06-24 15:53:27.267500+0530 Frats[1447:472010] 6.25.0 - [Firebase/InstanceID][I-IID008009] Deleted checkin plist file.
2020-06-24 15:53:27.269835+0530 Frats[1447:472018] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:27.286742+0530 Frats[1447:472011] 6.25.0 - [Firebase/Installations][I-FIS001001] Sending request:
"Content-Type" = "application/json";
"X-Goog-Api-Key" = AIzaSyCjcmAKdYjYk8qClusEcWGkFgsMtyDwLr8;
"X-Ios-Bundle-Identifier" = "app.frats.ios";
"X-firebase-client" = "apple-platform/ios apple-sdk/17F65 fire-analytics/6.5.1 fire-db/6.2.1 fire-fcm/4.4.1 fire-fst/1.14.0 fire-iid/4.3.4 fire-install/1.2.0 fire-ios/6.7.1 swift/true xcode/11E608c";
"X-firebase-client-log-type" = 0;
}.
2020-06-24 15:53:27.426087+0530 Frats[1447:472018] [] nw_resolver_start_query_timer_block_invoke [C11] Query fired: did not receive both families in time for firebaseinstallations.googleapis.com:443
2020-06-24 15:53:27.778247+0530 Frats[1447:472018] 6.25.0 - [Firebase/InstanceID][I-IID007006] Checkin parameters: {
checkin = {
iosbuild = {
model = "iPhone9,3";
"os_version" = "IOS_13.5";
};
"last_checkin_msec" = 0;
type = 2;
"user_number" = 0;
};
digest = "";
fragment = 0;
id = 0;
locale = "en_IN";
"security_token" = 0;
"time_zone" = "Asia/Kolkata";
"user_serial_number" = 0;
version = 2;
}
2020-06-24 15:53:28.169829+0530 Frats[1447:472033] 6.25.0 - [Firebase/Installations][I-FIS001003] Request response received:
"name": "projects/624030538768/installations/ewmAMZcAE0Lmvb5YY0f2yM",
"fid": "ewmAMZcAE0Lmvb5YY0f2yM",
"refreshToken": "2_nOxNSXI6RGdPUOL9qNzJncf3qiuTD88tlIOJD76gdYlX0tPlF2PEHtzE0lcs55us",
"authToken": {
"token": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJmaWQiOiJld21BTVpjQUUwTG12YjVZWTBmMnlNIiwicHJvamVjdE51bWJlciI6NjI0MDMwNTM4NzY4LCJleHAiOjE1OTM1OTkwMDgsImFwcElkIjoiMTo2MjQwMzA1Mzg3Njg6aW9zOjhiZGUyNTRjNDZjNzI3MzhhNTdlOTUifQ.AB2LPV8wRQIgA7Kvb_3WNXU6dQjqGMMt6ipd4X0kdurZNjO5jR9rbUICIQCP7OTWPsnQVImn-tKxNFTdwZoXBMKIcoWHz3rw_fU6rw",
"expiresIn": "604800s"
}
}
.
2020-06-24 15:53:28.170054+0530 Frats[1447:472033] 6.25.0 - [Firebase/Installations][I-FIS001005] Parsing server response for https://firebaseinstallations.googleapis.com/v1/projects/frats-259507/installations/.
2020-06-24 15:53:28.170098+0530 Frats[1447:472033] 6.25.0 - [Firebase/Installations][I-FIS001007] FIRInstallationsItem parsed successfully.
2020-06-24 15:53:28.661161+0530 Frats[1447:472010] 6.25.0 - [Firebase/InstanceID][I-IID007002] Invalid last checkin timestamp 2020-06-24 10:23:28 +0000 in future.
2020-06-24 15:53:28.661468+0530 Frats[1447:472010] 6.25.0 - [Firebase/InstanceID][I-IID007003] Checkin successful with authId: 4936311995307467606, digest: B31iZWZ68ECzqMNWatHAiA==, lastCheckinTimestamp: 1592994208000
2020-06-24 15:53:28.661719+0530 Frats[1447:472010] 6.25.0 - [Firebase/InstanceID][I-IID005004] Successfully got checkin credentials
2020-06-24 15:53:28.661879+0530 Frats[1447:472010] 6.25.0 - [Firebase/InstanceID][I-IID008010] Checkin plist file is saved
2020-06-24 15:53:28.662168+0530 Frats[1447:472010] 6.25.0 - [Firebase/InstanceID][I-IID023002] Couldn't delete item from Keychain OSStatus: -25300 with the keychain query {
acct = "app.frats.ios";
class = genp;
gena = "com.google.iid";
svce = "com.google.iid.checkin";
}
2020-06-24 15:53:28.662379+0530 Frats[1447:472010] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:28.662505+0530 Frats[1447:472010] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:28.662698+0530 Frats[1447:472010] 6.25.0 - [Firebase/InstanceID][I-IID014000] Fetch new token for authorizedEntity: 624030538768, scope: *
2020-06-24 15:53:28.662803+0530 Frats[1447:472010] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:28.662998+0530 Frats[1447:472010] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:28.663161+0530 Frats[1447:472010] 6.25.0 - [Firebase/InstanceID][I-IID020000] Register request to https://fcmtoken.googleapis.com/register content: X-osv=13.5&device=4936311995307467606&X-scope=&plat=2&app=app.frats.ios&app_ver=0.9.8&X-cliv=fiid-4.4.1&sender=624030538768&X-subtype=624030538768&appid=ewmAMZcAE0Lmvb5YY0f2yM&apns_token=s_49d7125d7019090ff70c7a0a60a6ab86f648c35904afabf1da555f2766c53632&gmp_app_id=1:624030538768:ios:8bde254c46c72738a57e95
2020-06-24 15:53:28.793116+0530 Frats[1447:472010] [] nw_resolver_start_query_timer_block_invoke [C12] Query fired: did not receive both families in time for device-provisioning.googleapis.com:443
Firebase registration token: ewmAMZcAE0Lmvb5YY0f2yM:APA91bHnyZa5Y6FrJpT8SPjvdvle4boJHJvuB_ltet8O_WYdAmrGKIvG4v3b6Q53V32XlM9mkRsNtriGDK20y5tW1GbT28If0gtWct2zg7sc5WNu5zTpa4gTlsd3R59DsUxVQWsM_SN6
nil
Remote instance ID token: ewmAMZcAE0Lmvb5YY0f2yM:APA91bHnyZa5Y6FrJpT8SPjvdvle4boJHJvuB_ltet8O_WYdAmrGKIvG4v3b6Q53V32XlM9mkRsNtriGDK20y5tW1GbT28If0gtWct2zg7sc5WNu5zTpa4gTlsd3R59DsUxVQWsM_SN6
"Remote InstanceID token: ewmAMZcAE0Lmvb5YY0f2yM:APA91bHnyZa5Y6FrJpT8SPjvdvle4boJHJvuB_ltet8O_WYdAmrGKIvG4v3b6Q53V32XlM9mkRsNtriGDK20y5tW1GbT28If0gtWct2zg7sc5WNu5zTpa4gTlsd3R59DsUxVQWsM_SN6"
["device_token": "ewmAMZcAE0Lmvb5YY0f2yM:APA91bHnyZa5Y6FrJpT8SPjvdvle4boJHJvuB_ltet8O_WYdAmrGKIvG4v3b6Q53V32XlM9mkRsNtriGDK20y5tW1GbT28If0gtWct2zg7sc5WNu5zTpa4gTlsd3R59DsUxVQWsM_SN6", "user_id": "5ea959d28ba9282cac24bf21", "domain": "nid", "device_id": "014C3393-261D-4169-84B8-A7137276FD15", "sub_domain": "in"]
"[\"device_token\": \"ewmAMZcAE0Lmvb5YY0f2yM:APA91bHnyZa5Y6FrJpT8SPjvdvle4boJHJvuB_ltet8O_WYdAmrGKIvG4v3b6Q53V32XlM9mkRsNtriGDK20y5tW1GbT28If0gtWct2zg7sc5WNu5zTpa4gTlsd3R59DsUxVQWsM_SN6\", \"user_id\": \"5ea959d28ba9282cac24bf21\", \"domain\": \"nid\", \"device_id\": \"014C3393-261D-4169-84B8-A7137276FD15\", \"sub_domain\": \"in\"]"
2020-06-24 15:53:29.009688+0530 Frats[1447:472010] 6.25.0 - [Firebase/InstanceID][I-IID014001] Token fetch successful, token: ewmAMZcAE0Lmvb5YY0f2yM:APA91bHnyZa5Y6FrJpT8SPjvdvle4boJHJvuB_ltet8O_WYdAmrGKIvG4v3b6Q53V32XlM9mkRsNtriGDK20y5tW1GbT28If0gtWct2zg7sc5WNu5zTpa4gTlsd3R59DsUxVQWsM_SN6, authorizedEntity: 624030538768, scope:
2020-06-24 15:53:29.010055+0530 Frats[1447:472010] 6.25.0 - [Firebase/InstanceID][I-IID003010] Successfully fetched default token.
2020-06-24 15:53:29.010160+0530 Frats[1447:472010] 6.25.0 - [Firebase/InstanceID][I-IID003008] Got default token ewmAMZcAE0Lmvb5YY0f2yM:APA91bHnyZa5Y6FrJpT8SPjvdvle4boJHJvuB_ltet8O_WYdAmrGKIvG4v3b6Q53V32XlM9mkRsNtriGDK20y5tW1GbT28If0gtWct2zg7sc5WNu5zTpa4gTlsd3R59DsUxVQWsM_SN6
2020-06-24 15:53:29.010330+0530 Frats[1447:472010] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:29.010438+0530 Frats[1447:472010] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:51.839827+0530 Frats[1451:472413] -
2020-06-24 15:53:51.978822+0530 Frats[1451:472409] 6.25.0 - [Firebase/Core][I-COR000001] Configuring the default app.
2020-06-24 15:53:51.979126+0530 Frats[1451:472409] 6.25.0 - [Firebase/Core][I-COR000033] Data Collection flag is not set.
"notification=true"
"granted"
Remote instance ID token: ewmAMZcAE0Lmvb5YY0f2yM:APA91bHnyZa5Y6FrJpT8SPjvdvle4boJHJvuB_ltet8O_WYdAmrGKIvG4v3b6Q53V32XlM9mkRsNtriGDK20y5tW1GbT28If0gtWct2zg7sc5WNu5zTpa4gTlsd3R59DsUxVQWsM_SN6
Firebase registration token: ewmAMZcAE0Lmvb5YY0f2yM:APA91bHnyZa5Y6FrJpT8SPjvdvle4boJHJvuB_ltet8O_WYdAmrGKIvG4v3b6Q53V32XlM9mkRsNtriGDK20y5tW1GbT28If0gtWct2zg7sc5WNu5zTpa4gTlsd3R59DsUxVQWsM_SN6
nil
Remote instance ID token: ewmAMZcAE0Lmvb5YY0f2yM:APA91bHnyZa5Y6FrJpT8SPjvdvle4boJHJvuB_ltet8O_WYdAmrGKIvG4v3b6Q53V32XlM9mkRsNtriGDK20y5tW1GbT28If0gtWct2zg7sc5WNu5zTpa4gTlsd3R59DsUxVQWsM_SN6
"Remote InstanceID token: ewmAMZcAE0Lmvb5YY0f2yM:APA91bHnyZa5Y6FrJpT8SPjvdvle4boJHJvuB_ltet8O_WYdAmrGKIvG4v3b6Q53V32XlM9mkRsNtriGDK20y5tW1GbT28If0gtWct2zg7sc5WNu5zTpa4gTlsd3R59DsUxVQWsM_SN6"
APNs token retrieved: 32 bytes
49d7125d7019090ff70c7a0a60a6ab86f648c35904afabf1da555f2766c53632
APNs token retrieved: SdcSXXAZCQ/3DHoKYKarhvZIw1kEr6vx2lVfJ2bFNjI=
["user_id": "5ea959d28ba9282cac24bf21", "device_details": {
"app_version" = "0.9.8";
"device_brand" = Apple;
"device_id" = "014C3393-261D-4169-84B8-A7137276FD15";
"device_lng" = en;
"device_manufacturer" = Apple;
"device_model" = iPhone;
"device_name" = iOS;
"device_os" = iOS;
"device_release_os" = "13.5";
"device_timestamp" = 1592994232;
"device_ver" = "13.5";
"last_access_at" = "24/06/2020 15:53:52";
"package_id" = "app.frats.ios";
platform = ios;
token = "ewmAMZcAE0Lmvb5YY0f2yM:APA91bHnyZa5Y6FrJpT8SPjvdvle4boJHJvuB_ltet8O_WYdAmrGKIvG4v3b6Q53V32XlM9mkRsNtriGDK20y5tW1GbT28If0gtWct2zg7sc5WNu5zTpa4gTlsd3R59DsUxVQWsM_SN6";
}, "domain": "nid", "sub_domain": "in"]
"http://203.192.211.11:5008/api/v0/update-device-details"
"[\"user_id\": \"5ea959d28ba9282cac24bf21\", \"device_details\": {\n \"app_version\" = \"0.9.8\";\n \"device_brand\" = Apple;\n \"device_id\" = \"014C3393-261D-4169-84B8-A7137276FD15\";\n \"device_lng\" = en;\n \"device_manufacturer\" = Apple;\n \"device_model\" = iPhone;\n \"device_name\" = iOS;\n \"device_os\" = iOS;\n \"device_release_os\" = \"13.5\";\n \"device_timestamp\" = 1592994232;\n \"device_ver\" = \"13.5\";\n \"last_access_at\" = \"24/06/2020 15:53:52\";\n \"package_id\" = \"app.frats.ios\";\n platform = ios;\n token = \"ewmAMZcAE0Lmvb5YY0f2yM:APA91bHnyZa5Y6FrJpT8SPjvdvle4boJHJvuB_ltet8O_WYdAmrGKIvG4v3b6Q53V32XlM9mkRsNtriGDK20y5tW1GbT28If0gtWct2zg7sc5WNu5zTpa4gTlsd3R59DsUxVQWsM_SN6\";\n}, \"domain\": \"nid\", \"sub_domain\": \"in\"]"
["domain": "nid", "device_id": "014C3393-261D-4169-84B8-A7137276FD15", "device_token": "ewmAMZcAE0Lmvb5YY0f2yM:APA91bHnyZa5Y6FrJpT8SPjvdvle4boJHJvuB_ltet8O_WYdAmrGKIvG4v3b6Q53V32XlM9mkRsNtriGDK20y5tW1GbT28If0gtWct2zg7sc5WNu5zTpa4gTlsd3R59DsUxVQWsM_SN6", "user_id": "5ea959d28ba9282cac24bf21", "sub_domain": "in"]
"[\"domain\": \"nid\", \"device_id\": \"014C3393-261D-4169-84B8-A7137276FD15\", \"device_token\": \"ewmAMZcAE0Lmvb5YY0f2yM:APA91bHnyZa5Y6FrJpT8SPjvdvle4boJHJvuB_ltet8O_WYdAmrGKIvG4v3b6Q53V32XlM9mkRsNtriGDK20y5tW1GbT28If0gtWct2zg7sc5WNu5zTpa4gTlsd3R59DsUxVQWsM_SN6\", \"user_id\": \"5ea959d28ba9282cac24bf21\", \"sub_domain\": \"in\"]"
2020-06-24 15:53:52.183392+0530 Frats[1451:472425] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:52.184045+0530 Frats[1451:472425] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:52.185300+0530 Frats[1451:472425] 6.25.0 - [Firebase/Messaging][I-FCM002000] FIRMessaging library version 4.4.1
2020-06-24 15:53:52.185363+0530 Frats[1451:472425] 6.25.0 - [GULReachability][I-REA902003] Monitoring the network status
2020-06-24 15:53:52.185461+0530 Frats[1451:472425] 6.25.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-06-24 15:53:52.185999+0530 Frats[1451:472425] 6.25.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-06-24 15:53:52.186247+0530 Frats[1451:472425] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:52.186392+0530 Frats[1451:472425] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:52.186435+0530 Frats[1451:472425] 6.25.0 - [Firebase/InstanceID][I-IID003012] Provisioning profile has specifically provisioned devices, most likely a Dev profile.
2020-06-24 15:53:52.186480+0530 Frats[1451:472425] 6.25.0 - [Firebase/InstanceID][I-IID003013] APNS Environment in profile: development
2020-06-24 15:53:52.186551+0530 Frats[1451:472425] 6.25.0 - [GULReachability][I-REA902004] Network status has changed. Code:3, status:Connected
2020-06-24 15:53:52.186597+0530 Frats[1451:472425] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:52.186631+0530 Frats[1451:472425] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:52.186711+0530 Frats[1451:472425] 6.25.0 - [Firebase/InstanceID][I-IID021000] Unregister request to https://fcmtoken.googleapis.com/register content: X-osv=13.5&device=4936311995307467606&X-scope=&plat=2&app=app.frats.ios&app_ver=0.9.8&X-cliv=fiid-4.4.1&delete=true&iid-operation=delete&sender=&appid=ewmAMZcAE0Lmvb5YY0f2yM
2020-06-24 15:53:52.186860+0530 Frats[1451:472425] 6.25.0 - [GULReachability][I-REA902003] Monitoring the network status
2020-06-24 15:53:52.186942+0530 Frats[1451:472425] 6.25.0 - [GULReachability][I-REA902003] Monitoring the network status
2020-06-24 15:53:52.186975+0530 Frats[1451:472425] 6.25.0 - [GULReachability][I-REA902004] Network status has changed. Code:1, status:Disconnected
2020-06-24 15:53:52.187005+0530 Frats[1451:472425] 6.25.0 - [GULReachability][I-REA902004] Network status has changed. Code:3, status:Connected
2020-06-24 15:53:52.192636+0530 Frats[1451:472435] 6.25.0 - [Firebase/Analytics][I-ACS024000] Debug mode is on
2020-06-24 15:53:52.192856+0530 Frats[1451:472435] 6.25.0 - [Firebase/Analytics][I-ACS005000] The AdSupport Framework is not currently linked. Some features will not function properly. Learn more at http://goo.gl/9vSsPb
2020-06-24 15:53:52.193048+0530 Frats[1451:472435] 6.25.0 - [Firebase/Analytics][I-ACS023007] Analytics v.60501000 started
2020-06-24 15:53:52.193156+0530 Frats[1451:472435] 6.25.0 - [Firebase/Analytics][I-ACS023008] To disable debug logging set the following application argument: -noFIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2020-06-24 15:53:52.193775+0530 Frats[1451:472435] 6.25.0 - [Firebase/Analytics][I-ACS023009] Debug logging enabled
2020-06-24 15:53:52.193942+0530 Frats[1451:472435] 6.25.0 - [Firebase/Analytics][I-ACS023207] To enable verbose logging set the following application argument: -FIRAnalyticsVerboseLoggingEnabled (see http://goo.gl/RfcP7r)
2020-06-24 15:53:52.194190+0530 Frats[1451:472435] 6.25.0 - [Firebase/Analytics][I-ACS002002] APMExperimentAlarm scheduled to fire in approx. (s): 13602.56989908218
2020-06-24 15:53:52.200792+0530 Frats[1451:472413] 6.25.0 - [Firebase/Analytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
2020-06-24 15:53:52.201056+0530 Frats[1451:472413] 6.25.0 - [Firebase/Analytics][I-ACS029014] Successfully parsed a configuration. Version: 1583219300226288
2020-06-24 15:53:52.201119+0530 Frats[1451:472413] 6.25.0 - [Firebase/Analytics][I-ACS023016] Analytics is ready to receive events
2020-06-24 15:53:52.204664+0530 Frats[1451:472435] 6.25.0 - [Firebase/Analytics][I-ACS032003] iAd framework is not linked. Search Ad Attribution Reporter is disabled.
2020-06-24 15:53:52.207207+0530 Frats[1451:472413] 6.25.0 - [Firebase/Analytics][I-ACS002002] Engagement timer scheduled to fire in approx. (s): 3600
2020-06-24 15:53:52.207352+0530 Frats[1451:472413] 6.25.0 - [Firebase/Analytics][I-ACS023012] Analytics collection enabled
2020-06-24 15:53:52.208175+0530 Frats[1451:472414] 6.25.0 - [Firebase/Analytics][I-ACS023012] Analytics collection enabled
2020-06-24 15:53:53.471735+0530 Frats[1451:472412] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:53.472590+0530 Frats[1451:472412] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:53.473133+0530 Frats[1451:472412] 6.25.0 - [Firebase/InstanceID][I-IID014000] Fetch new token for authorizedEntity: 624030538768, scope: *
2020-06-24 15:53:53.473652+0530 Frats[1451:472412] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:53.475768+0530 Frats[1451:472412] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:53.490021+0530 Frats[1451:472412] 6.25.0 - [Firebase/InstanceID][I-IID020000] Register request to https://fcmtoken.googleapis.com/register content: X-osv=13.5&device=4936311995307467606&X-scope=&plat=2&app=app.frats.ios&app_ver=0.9.8&X-cliv=fiid-4.4.1&sender=624030538768&X-subtype=624030538768&appid=ewmAMZcAE0Lmvb5YY0f2yM&apns_token=s_49d7125d7019090ff70c7a0a60a6ab86f648c35904afabf1da555f2766c53632&gmp_app_id=1:624030538768:ios:8bde254c46c72738a57e95
2020-06-24 15:53:53.496313+0530 Frats[1451:472430] 6.25.0 - [Firebase/Installations][I-FIS001001] Sending request:
Authorization = "FIS_v2 2_nOxNSXI6RGdPUOL9qNzJncf3qiuTD88tlIOJD76gdYlX0tPlF2PEHtzE0lcs55us";
"Content-Type" = "application/json";
"X-Goog-Api-Key" = AIzaSyCjcmAKdYjYk8qClusEcWGkFgsMtyDwLr8;
"X-Ios-Bundle-Identifier" = "app.frats.ios";
"X-firebase-client" = "apple-platform/ios apple-sdk/17F65 fire-analytics/6.5.1 fire-db/6.2.1 fire-fcm/4.4.1 fire-fst/1.14.0 fire-iid/4.3.4 fire-install/1.2.0 fire-ios/6.7.1 swift/true xcode/11E608c";
"X-firebase-client-log-type" = 0;
}.
Remote instance ID token: ewmAMZcAE0Lmvb5YY0f2yM:APA91bHdVXZX0sNZZLFpGTBKI1IBNzHZTGiez4Z3Wwt_QdZRB8xw5n5MH7MlEHU7u77WWHAVd-LPTJApMRRukO4zcHuL6e6_u9aJ_oDmdQtqbmFYrPZorGei92RaHmMGlMJfozRcMCkA
"Remote InstanceID token: ewmAMZcAE0Lmvb5YY0f2yM:APA91bHdVXZX0sNZZLFpGTBKI1IBNzHZTGiez4Z3Wwt_QdZRB8xw5n5MH7MlEHU7u77WWHAVd-LPTJApMRRukO4zcHuL6e6_u9aJ_oDmdQtqbmFYrPZorGei92RaHmMGlMJfozRcMCkA"
Firebase registration token: ewmAMZcAE0Lmvb5YY0f2yM:APA91bHdVXZX0sNZZLFpGTBKI1IBNzHZTGiez4Z3Wwt_QdZRB8xw5n5MH7MlEHU7u77WWHAVd-LPTJApMRRukO4zcHuL6e6_u9aJ_oDmdQtqbmFYrPZorGei92RaHmMGlMJfozRcMCkA
nil
Remote instance ID token: ewmAMZcAE0Lmvb5YY0f2yM:APA91bHdVXZX0sNZZLFpGTBKI1IBNzHZTGiez4Z3Wwt_QdZRB8xw5n5MH7MlEHU7u77WWHAVd-LPTJApMRRukO4zcHuL6e6_u9aJ_oDmdQtqbmFYrPZorGei92RaHmMGlMJfozRcMCkA
"Remote InstanceID token: ewmAMZcAE0Lmvb5YY0f2yM:APA91bHdVXZX0sNZZLFpGTBKI1IBNzHZTGiez4Z3Wwt_QdZRB8xw5n5MH7MlEHU7u77WWHAVd-LPTJApMRRukO4zcHuL6e6_u9aJ_oDmdQtqbmFYrPZorGei92RaHmMGlMJfozRcMCkA"
["sub_domain": "in", "device_id": "014C3393-261D-4169-84B8-A7137276FD15", "device_token": "ewmAMZcAE0Lmvb5YY0f2yM:APA91bHdVXZX0sNZZLFpGTBKI1IBNzHZTGiez4Z3Wwt_QdZRB8xw5n5MH7MlEHU7u77WWHAVd-LPTJApMRRukO4zcHuL6e6_u9aJ_oDmdQtqbmFYrPZorGei92RaHmMGlMJfozRcMCkA", "domain": "nid", "user_id": "5ea959d28ba9282cac24bf21"]
"[\"sub_domain\": \"in\", \"device_id\": \"014C3393-261D-4169-84B8-A7137276FD15\", \"device_token\": \"ewmAMZcAE0Lmvb5YY0f2yM:APA91bHdVXZX0sNZZLFpGTBKI1IBNzHZTGiez4Z3Wwt_QdZRB8xw5n5MH7MlEHU7u77WWHAVd-LPTJApMRRukO4zcHuL6e6_u9aJ_oDmdQtqbmFYrPZorGei92RaHmMGlMJfozRcMCkA\", \"domain\": \"nid\", \"user_id\": \"5ea959d28ba9282cac24bf21\"]"
2020-06-24 15:53:53.829115+0530 Frats[1451:472412] 6.25.0 - [Firebase/InstanceID][I-IID023002] Couldn't delete item from Keychain OSStatus: -25300 with the keychain query {
acct = "app.frats.ios";
class = genp;
gena = "com.google.iid-tokens";
svce = "624030538768:
}
2020-06-24 15:53:53.829331+0530 Frats[1451:472412] 6.25.0 - [Firebase/InstanceID][I-IID014001] Token fetch successful, token: ewmAMZcAE0Lmvb5YY0f2yM:APA91bHdVXZX0sNZZLFpGTBKI1IBNzHZTGiez4Z3Wwt_QdZRB8xw5n5MH7MlEHU7u77WWHAVd-LPTJApMRRukO4zcHuL6e6_u9aJ_oDmdQtqbmFYrPZorGei92RaHmMGlMJfozRcMCkA, authorizedEntity: 624030538768, scope:*
2020-06-24 15:53:53.829481+0530 Frats[1451:472412] 6.25.0 - [Firebase/InstanceID][I-IID003010] Successfully fetched default token.
2020-06-24 15:53:53.829601+0530 Frats[1451:472412] 6.25.0 - [Firebase/InstanceID][I-IID003008] Got default token ewmAMZcAE0Lmvb5YY0f2yM:APA91bHdVXZX0sNZZLFpGTBKI1IBNzHZTGiez4Z3Wwt_QdZRB8xw5n5MH7MlEHU7u77WWHAVd-LPTJApMRRukO4zcHuL6e6_u9aJ_oDmdQtqbmFYrPZorGei92RaHmMGlMJfozRcMCkA
2020-06-24 15:53:53.829923+0530 Frats[1451:472412] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:53.830049+0530 Frats[1451:472412] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
"autoUpdatePushToken=[\"status\": 200, \"message\": This device details Already Exist, push token updated]"
2020-06-24 15:53:54.341357+0530 Frats[1451:472412] 6.25.0 - [Firebase/Installations][I-FIS001003] Request response received:
"error": {
"code": 404,
"message": "Requested entity was not found.",
"status": "NOT_FOUND"
}
}
.
2020-06-24 15:53:54.342175+0530 Frats[1451:472412] 6.25.0 - [Firebase/Installations][I-FIS001004] Unexpected API response:
"Cache-Control" = (
private
);
"Content-Encoding" = (
gzip
);
"Content-Length" = (
115
);
"Content-Type" = (
"application/json; charset=UTF-8"
);
Date = (
"Wed, 24 Jun 2020 10:23:54 GMT"
);
Server = (
ESF
);
Vary = (
Origin,
"X-Origin",
Referer
);
"alt-svc" = (
"h3-27=\":443\"; ma=2592000,h3-25=\":443\"; ma=2592000,h3-T050=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""
);
"x-content-type-options" = (
nosniff
);
"x-frame-options" = (
SAMEORIGIN
);
"x-xss-protection" = (
0
);
} }, body: {
"error": {
"code": 404,
"message": "Requested entity was not found.",
"status": "NOT_FOUND"
}
}
.
nil
2020-06-24 15:53:54.353550+0530 Frats[1451:472412] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:54.356625+0530 Frats[1451:472412] 6.25.0 - [Firebase/InstanceID][I-IID008009] Deleted checkin plist file.
2020-06-24 15:53:54.357457+0530 Frats[1451:472412] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:54.375030+0530 Frats[1451:472420] 6.25.0 - [Firebase/Installations][I-FIS001001] Sending request:
"Content-Type" = "application/json";
"X-Goog-Api-Key" = AIzaSyCjcmAKdYjYk8qClusEcWGkFgsMtyDwLr8;
"X-Ios-Bundle-Identifier" = "app.frats.ios";
"X-firebase-client" = "apple-platform/ios apple-sdk/17F65 fire-analytics/6.5.1 fire-db/6.2.1 fire-fcm/4.4.1 fire-fst/1.14.0 fire-iid/4.3.4 fire-install/1.2.0 fire-ios/6.7.1 swift/true xcode/11E608c";
"X-firebase-client-log-type" = 0;
}.
2020-06-24 15:53:54.856975+0530 Frats[1451:472412] 6.25.0 - [Firebase/InstanceID][I-IID007006] Checkin parameters: {
checkin = {
iosbuild = {
model = "iPhone9,3";
"os_version" = "IOS_13.5";
};
"last_checkin_msec" = 0;
type = 2;
"user_number" = 0;
};
digest = "";
fragment = 0;
id = 0;
locale = "en_IN";
"security_token" = 0;
"time_zone" = "Asia/Kolkata";
"user_serial_number" = 0;
version = 2;
}
2020-06-24 15:53:55.250322+0530 Frats[1451:472435] 6.25.0 - [Firebase/Installations][I-FIS001003] Request response received:
"name": "projects/624030538768/installations/coy3EavYjE3AlzTVmLZShc",
"fid": "coy3EavYjE3AlzTVmLZShc",
"refreshToken": "2_ApQXLr3FoV0vS-yiOsGo1R4MsUGWiM7Z3afXJHZwrxyoYz2MlaPFWQdm-6kY7y7V",
"authToken": {
"token": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJmaWQiOiJjb3kzRWF2WWpFM0FselRWbUxaU2hjIiwicHJvamVjdE51bWJlciI6NjI0MDMwNTM4NzY4LCJleHAiOjE1OTM1OTkwMzUsImFwcElkIjoiMTo2MjQwMzA1Mzg3Njg6aW9zOjhiZGUyNTRjNDZjNzI3MzhhNTdlOTUifQ.AB2LPV8wRAIgXcgOXqXFzWctEjwQNvtTNgTypJu01rCDpcfBq5bqGQsCIGqUdpOEVC2WewtsOs3ofcrPxHK3-EEeFvRDNNGjKooc",
"expiresIn": "604800s"
}
}
.
2020-06-24 15:53:55.250460+0530 Frats[1451:472435] 6.25.0 - [Firebase/Installations][I-FIS001005] Parsing server response for https://firebaseinstallations.googleapis.com/v1/projects/frats-259507/installations/.
2020-06-24 15:53:55.251636+0530 Frats[1451:472435] 6.25.0 - [Firebase/Installations][I-FIS001007] FIRInstallationsItem parsed successfully.
2020-06-24 15:53:55.629357+0530 Frats[1451:472412] 6.25.0 - [Firebase/InstanceID][I-IID007002] Invalid last checkin timestamp 2020-06-24 10:23:55 +0000 in future.
2020-06-24 15:53:55.629660+0530 Frats[1451:472412] 6.25.0 - [Firebase/InstanceID][I-IID007003] Checkin successful with authId: 5017561175561588552, digest: jg5/yBnZN8j+Oj9VzGOfoQ==, lastCheckinTimestamp: 1592994235000
2020-06-24 15:53:55.629868+0530 Frats[1451:472412] 6.25.0 - [Firebase/InstanceID][I-IID005004] Successfully got checkin credentials
2020-06-24 15:53:55.629997+0530 Frats[1451:472412] 6.25.0 - [Firebase/InstanceID][I-IID008010] Checkin plist file is saved
2020-06-24 15:53:55.630108+0530 Frats[1451:472412] 6.25.0 - [Firebase/InstanceID][I-IID023002] Couldn't delete item from Keychain OSStatus: -25300 with the keychain query {
acct = "app.frats.ios";
class = genp;
gena = "com.google.iid";
svce = "com.google.iid.checkin";
}
2020-06-24 15:53:55.630275+0530 Frats[1451:472412] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:55.630393+0530 Frats[1451:472412] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:55.630544+0530 Frats[1451:472412] 6.25.0 - [Firebase/InstanceID][I-IID014000] Fetch new token for authorizedEntity: 624030538768, scope: *
2020-06-24 15:53:55.630643+0530 Frats[1451:472412] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:55.630783+0530 Frats[1451:472412] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:55.630889+0530 Frats[1451:472412] 6.25.0 - [Firebase/InstanceID][I-IID020000] Register request to https://fcmtoken.googleapis.com/register content: X-osv=13.5&device=5017561175561588552&X-scope=&plat=2&app=app.frats.ios&app_ver=0.9.8&X-cliv=fiid-4.4.1&sender=624030538768&X-subtype=624030538768&appid=coy3EavYjE3AlzTVmLZShc&apns_token=s_49d7125d7019090ff70c7a0a60a6ab86f648c35904afabf1da555f2766c53632&gmp_app_id=1:624030538768:ios:8bde254c46c72738a57e95
Firebase registration token: coy3EavYjE3AlzTVmLZShc:APA91bHDjfQkcs9ZS3zr5Cggw-JTJBDgM_FyAiWm5tmAX4pQQpJlip7ML77MH8vXF3twoAlpfUc4-DW1xZTjyfVtTasWgJ7x2jhOfNHavd0siwUsiDDA3sYIIr3JaiWITGTwuZVOThEz
nil
Remote instance ID token: coy3EavYjE3AlzTVmLZShc:APA91bHDjfQkcs9ZS3zr5Cggw-JTJBDgM_FyAiWm5tmAX4pQQpJlip7ML77MH8vXF3twoAlpfUc4-DW1xZTjyfVtTasWgJ7x2jhOfNHavd0siwUsiDDA3sYIIr3JaiWITGTwuZVOThEz
"Remote InstanceID token: coy3EavYjE3AlzTVmLZShc:APA91bHDjfQkcs9ZS3zr5Cggw-JTJBDgM_FyAiWm5tmAX4pQQpJlip7ML77MH8vXF3twoAlpfUc4-DW1xZTjyfVtTasWgJ7x2jhOfNHavd0siwUsiDDA3sYIIr3JaiWITGTwuZVOThEz"
["user_id": "5ea959d28ba9282cac24bf21", "device_id": "014C3393-261D-4169-84B8-A7137276FD15", "domain": "nid", "device_token": "coy3EavYjE3AlzTVmLZShc:APA91bHDjfQkcs9ZS3zr5Cggw-JTJBDgM_FyAiWm5tmAX4pQQpJlip7ML77MH8vXF3twoAlpfUc4-DW1xZTjyfVtTasWgJ7x2jhOfNHavd0siwUsiDDA3sYIIr3JaiWITGTwuZVOThEz", "sub_domain": "in"]
"[\"user_id\": \"5ea959d28ba9282cac24bf21\", \"device_id\": \"014C3393-261D-4169-84B8-A7137276FD15\", \"domain\": \"nid\", \"device_token\": \"coy3EavYjE3AlzTVmLZShc:APA91bHDjfQkcs9ZS3zr5Cggw-JTJBDgM_FyAiWm5tmAX4pQQpJlip7ML77MH8vXF3twoAlpfUc4-DW1xZTjyfVtTasWgJ7x2jhOfNHavd0siwUsiDDA3sYIIr3JaiWITGTwuZVOThEz\", \"sub_domain\": \"in\"]"
2020-06-24 15:53:56.009431+0530 Frats[1451:472426] 6.25.0 - [Firebase/InstanceID][I-IID014001] Token fetch successful, token: coy3EavYjE3AlzTVmLZShc:APA91bHDjfQkcs9ZS3zr5Cggw-JTJBDgM_FyAiWm5tmAX4pQQpJlip7ML77MH8vXF3twoAlpfUc4-DW1xZTjyfVtTasWgJ7x2jhOfNHavd0siwUsiDDA3sYIIr3JaiWITGTwuZVOThEz, authorizedEntity: 624030538768, scope:
2020-06-24 15:53:56.009773+0530 Frats[1451:472426] 6.25.0 - [Firebase/InstanceID][I-IID003010] Successfully fetched default token.
2020-06-24 15:53:56.009881+0530 Frats[1451:472426] 6.25.0 - [Firebase/InstanceID][I-IID003008] Got default token coy3EavYjE3AlzTVmLZShc:APA91bHDjfQkcs9ZS3zr5Cggw-JTJBDgM_FyAiWm5tmAX4pQQpJlip7ML77MH8vXF3twoAlpfUc4-DW1xZTjyfVtTasWgJ7x2jhOfNHavd0siwUsiDDA3sYIIr3JaiWITGTwuZVOThEz
2020-06-24 15:53:56.010142+0530 Frats[1451:472426] 6.25.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2020-06-24 15:53:56.010250+0530 Frats[1451:472426] 6.25.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
"autoUpdatePushToken=[\"message\": This device details Already Exist, push token updated, \"status\": 200]"
2020-06-24 15:54:27.038986+0530 Frats[1451:472394] [BackgroundTask] Background Task 1 ("Called by Frats, from $s5Frats17MyPointsViewModelC14startTimerTaskyyF"), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(_:) for your task in a timely manner to avoid this.
@vinod1988 Thank you for the provided log.
@chliangGoogle I can see IID unregister requests in the log that most likely lead to invalidation of FID on the server, so FIS SDK receives 404 response on an attempt to update the Installation auth token and resets FID (see log entries with 6.25.0 - [Firebase/InstanceID][I-IID021000] Unregister request to...). I'll try to understand why the unregister requests are sent.
@vinod1988 It looks like the method -[FIRInstanceID deleteTokenWithAuthorizedEntity:scope:handler:] may be called by the application some time after Firebase configuration. I think so because I cannot find traces (log entries and corresponding request parameters) in the logs, but I may miss something.
Could you please confirm if your app is calling -[FIRInstanceID deleteTokenWithAuthorizedEntity:scope:handler:] method?
@chliangGoogle Another potentially wrong thing I can see is that FIS should not be deleted when scope="" which is a potential server issue.
@maksymmalyhin and @chliangGoogle Thanks for your response.
I will implement the -[FIRInstanceID deleteTokenWithAuthorizedEntity:scope:handler:] in my application and will test it. If i found the bug again i will share the log same as well. If i am not wrong this method will be handle by the firebase SDK itself. Why we give this method call to end user application.
Also what is the time limit of FCM token expiration?
@vinod1988 I think what @maksymmalyhin asks is if you have already called -[FIRInstanceID deleteTokenWithAuthorizedEntity:scope:handler:] method in your code.
We are not sure if it's handled by SDK itself because we do not see "@"App reset detected. Will delete server registrations." log in your debug log. Can you also double check that?
@chliangGoogle and @maksymmalyhin
I have just cross check my code and found already the delete token and register new token methods added.
```
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
let instance = InstanceID.instanceID()
instance.deleteID { (error) in
print(error.debugDescription)
}
InstanceID.instanceID().instanceID { (result, error) in
if let error = error {
print("Error fetching remote instange ID: (error)")
} else if let result = result {
print("Remote instance ID token: (result.token)")
}
}
}
```
@vinod1988 It's great you found it. instance.deleteID {...} is the method that triggers FCM token deletion. If you remove it, FCM token should stay the same between app launches. Could you please remove the call instance.deleteID {...} and test again? Please let us know the results.
@maksymmalyhin Thanks for your suggestion. Now its working as expected. I removed instance.deleteID {...} this in app now the same token is coming on every app restart.
Let test it few days more if this work we will close this. If any bug we will continue the discussion here.
Going to close this since there hasn't been any activity in the last few days, but please re-open if you're still seeing issues. Thanks!