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
*Calling the `user` property of the `OneSignalUserManagerImpl` will return a mock user, the user instance, or call start().
* In some methods, if there is no user instance, don't trigger a start() call, to prevent deadlocks if these methods are called by start() itself.
* Currently, only the properties model and subscription model may have update enqueued at the end of the start() method to enqueue any changes such as timezone and app version for the user instance, which exists by this point.
* The other refactors are for safety.
let userInstance =OneSignalUserManagerImpl.sharedInstance._user
50
+
else{
51
+
OneSignalLog.onesignalLog(.LL_ERROR, message:"OSPropertiesModelStoreListener.getUpdateModelDelta encountered unsupported property: \(args.property) or no user instance")
0 commit comments