Allow initialization of registration V2 without FCM.

This commit is contained in:
Nicholas Tinsley 2024-05-06 15:55:44 -04:00 committed by Alex Hart
parent 9c5bb4aa17
commit 9af73b1409

View file

@ -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)
}