-
- All Implemented Interfaces:
-
com.onesignal.core.internal.startup.IStartableService
public final class RecoverFromDroppedLoginBug implements IStartableService
Purpose: Automatically recovers a stalled User in the OperationRepo due to a bug in the SDK from 5.0.0 to 5.1.7.
Issue: Some calls to OneSignal.login() would not be reflected on the backend and would stall the the queue for that User. This would result in User and Subscription operations to not be processed by OperationRepo. See PR #2046 for more details.
Even if the developer called OneSignal.login() again with the same externalId it would not correct the stalled User.
Only calling logout() or login() with different externalId would have un-stalled the OperationRepo. And then only after logging back to the stalled user would it have recover all the unsent operations they may exist.
-
-
Constructor Summary
Constructors Constructor Description RecoverFromDroppedLoginBug(IOperationRepo _operationRepo, IdentityModelStore _identityModelStore, ConfigModelStore _configModelStore)
-
Method Summary
-
-
Constructor Detail
-
RecoverFromDroppedLoginBug
RecoverFromDroppedLoginBug(IOperationRepo _operationRepo, IdentityModelStore _identityModelStore, ConfigModelStore _configModelStore)
-
-
-
-