Skip to content

Upgrading firebase_auth 3 to 4

Unknown3.11.2 → 4.20.0

Fetching 68 releases from GitHub…0 / 68
UnknownUpgrade verdict

DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.

  • DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
  • This page updates as the notes come in.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

Dart SDK requirement changed in 4.20.0: >=2.16.0 <3.0.0 → >=3.2.0 <4.0.0.

Flutter requirement changed in 4.20.0: >=1.12.13+hotfix.5 → >=3.16.0.

Generated by DepDelta from published Dart source. Not mixed with prose notes.

  • changed: ctor FirebaseAuth.instanceFor( {required FirebaseApp app, Persistence? persistence}) → ctor FirebaseAuth.instanceFor({ required FirebaseApp app, @Deprecated( 'Will be removed in future release. Use setPersistence() instead.', ) Persistence? persistence, })
  • changed: method FirebaseAuth.setSettings({ bool? appVerificationDisabledForTesting, String? userAccessGroup, String? phoneNumber, String? smsCode, bool? forceRecaptchaFlow, }): Future<void> → method FirebaseAuth.setSettings({ bool appVerificationDisabledForTesting = …, String? userAccessGroup, String? phoneNumber, String? smsCode, bool? forceRecaptchaFlow, }): Future<void>
  • changed: method FirebaseAuth.useAuthEmulator(String host, int port): Future<void> → method FirebaseAuth.useAuthEmulator(String host, int port, {bool automaticHostMapping = …}): Future<void>
  • changed: method User.getIdToken([bool forceRefresh = …]): Future<String> → method User.getIdToken([bool forceRefresh = …]): Future<String?>
  • added: class TotpMultiFactorGenerator
  • added: class TotpSecret
  • added: field TotpSecret.codeIntervalSeconds: final int?
  • added: field TotpSecret.codeLength: final int?
  • added: field TotpSecret.enrollmentCompletionDeadline: final DateTime?
  • added: field TotpSecret.hashingAlgorithm: final String?
  • added: field TotpSecret.secretKey: final String
  • added: get FirebaseAuth.customAuthDomain: String?
  • added: method FirebaseAuth.revokeTokenWithAuthorizationCode(String authorizationCode): Future<void>
  • added: method TotpSecret.generateQrCodeUrl({ String? accountName, String? issuer, }): Future<String>
  • added: method TotpSecret.openInOtpApp( String qrCodeUrl, ): Future<void>
  • added: method User.reauthenticateWithPopup( AuthProvider provider, ): Future<UserCredential>
  • added: method User.reauthenticateWithRedirect( AuthProvider provider, ): Future<void>
  • added: set FirebaseAuth.customAuthDomain(String? customAuthDomain)
  • added: static method TotpMultiFactorGenerator.generateSecret( MultiFactorSession session, ): Future<TotpSecret>
  • added: static method TotpMultiFactorGenerator.getAssertionForEnrollment( TotpSecret secret, String oneTimePassword, ): Future<MultiFactorAssertion>
  • added: static method TotpMultiFactorGenerator.getAssertionForSignIn( String enrollmentId, String oneTimePassword, ): Future<MultiFactorAssertion>