|
|
@ -71,7 +71,7 @@ class GenericPushManager @Inject constructor(
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
val v2 = pushManagerV2.register(
|
|
|
|
val v2 = pushManagerV2.register(
|
|
|
|
Device.ANDROID, token, publicKey, userEd25519Key, namespaces
|
|
|
|
device, token, publicKey, userEd25519Key, namespaces
|
|
|
|
) fail {
|
|
|
|
) fail {
|
|
|
|
Log.e(TAG, "register v2 failed", it)
|
|
|
|
Log.e(TAG, "register v2 failed", it)
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -87,7 +87,7 @@ class GenericPushManager @Inject constructor(
|
|
|
|
userPublicKey: String,
|
|
|
|
userPublicKey: String,
|
|
|
|
userEdKey: KeyPair
|
|
|
|
userEdKey: KeyPair
|
|
|
|
): Promise<*, Exception> = PushManagerV1.unregister() and pushManagerV2.unregister(
|
|
|
|
): Promise<*, Exception> = PushManagerV1.unregister() and pushManagerV2.unregister(
|
|
|
|
Device.ANDROID, token, userPublicKey, userEdKey
|
|
|
|
device, token, userPublicKey, userEdKey
|
|
|
|
) fail {
|
|
|
|
) fail {
|
|
|
|
Log.e(TAG, "unregisterBoth failed", it)
|
|
|
|
Log.e(TAG, "unregisterBoth failed", it)
|
|
|
|
} success {
|
|
|
|
} success {
|
|
|
|