Allow initialization of registration V2 without FCM.

This commit is contained in:
Nicholas Tinsley
2024-05-08 16:30:53 -03:00
committed by Alex Hart
parent 9c5bb4aa17
commit 9af73b1409
@@ -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)
}