Allow initialization of registration V2 without FCM.
This commit is contained in:
parent
9c5bb4aa17
commit
9af73b1409
1 changed files with 1 additions and 4 deletions
|
@ -267,10 +267,7 @@ object RegistrationRepository {
|
|||
|
||||
val result = (
|
||||
if (fcmToken == null) {
|
||||
// TODO [regv2]
|
||||
val notImplementedError = NotImplementedError()
|
||||
Log.w(TAG, "Not yet implemented!", notImplementedError)
|
||||
NetworkResult.ApplicationError(notImplementedError)
|
||||
api.createRegistrationSession(null, mcc, mnc)
|
||||
} else {
|
||||
createSessionAndBlockForPushChallenge(api, fcmToken, mcc, mnc)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue