Users gets unsubscribed atomically when app is restarted. User ID automatically gets overwritten by some code in PUSH_SUBSCRIPTION table. I still see the device is subscribed but we are unable to send push notification because user id does not exists any more.
This happens for both the type of subscription PUSH.ALL and PushEventSource.myEventSource
As our subscription is done on login success, the user will be enrolled again until they restart the app.
if (wlPushNotificationsFactory.isPushSupported()){
if (!wlPushNotificationsFactory.isPushSubscribed()){
wlPushNotificationsFactory.initReadyToSubscribe();
wlPushNotificationsFactory.doSubscribe();
}
}
My Iphone Logs https://www.dropbox.com/s/antqph0hztm5x2k/%20MY-iPhone.logs?dl=0
Pushnotification.js https://www.dropbox.com/s/t6ysatojxf6gnwn/Pushnotification.js?dl=0
