You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Motivation: The Messaging Controller was pulling IAMs when the push sub observer fires with any change. As a result, it was pulling IAMs more often than needed.
* Instead, only pull IAMs when the subscription_ID has changed and is valid.
[OneSignalLog onesignalLog:ONE_S_LL_VERBOSE message:@"OSMessagingController onOSPushSubscriptionChangedWithStateChanges: changed to the same subscription id"];
980
+
return;
980
981
}
982
+
983
+
// Pull new IAMs when the subscription id changes to a new valid subscription id
984
+
[OneSignalLog onesignalLog:ONE_S_LL_VERBOSE message:@"OSMessagingController onOSPushSubscriptionChangedWithStateChanges: changed to new valid subscription id"];
0 commit comments