-
- All Implemented Interfaces:
-
com.onesignal.core.internal.startup.IStartableService,com.onesignal.user.internal.migrations.IMigrationRecovery
public final class RecoverConfigPushSubscription extends MigrationRecovery
Purpose: Automatically recovers a missing push sub ID in the config model store due to a bug migrating from the SDK 5.2.0-beta
-
-
Field Summary
Fields Modifier and Type Field Description private final <ERROR CLASS>activePushSubscription
-
Constructor Summary
Constructors Constructor Description RecoverConfigPushSubscription(ConfigModelStore _configModelStore, SubscriptionModelStore _subscriptionModelStore)
-
Method Summary
Modifier and Type Method Description final <ERROR CLASS>getActivePushSubscription()BooleanisInBadState()Unitrecover()StringrecoveryMessage()-
-
Constructor Detail
-
RecoverConfigPushSubscription
RecoverConfigPushSubscription(ConfigModelStore _configModelStore, SubscriptionModelStore _subscriptionModelStore)
-
-
Method Detail
-
getActivePushSubscription
final <ERROR CLASS> getActivePushSubscription()
-
isInBadState
Boolean isInBadState()
-
recoveryMessage
String recoveryMessage()
-
-
-
-