setSettings method

Future<void> setSettings({
  1. bool? appVerificationDisabledForTesting,
  2. String? userAccessGroup,
})

Updates the current instance with the provided settings.

appVerificationDisabledForTesting This setting only applies to iOS and web platforms. When set to true, this property disables app verification for the purpose of testing phone authentication. For this property to take effect, it needs to be set before handling a reCAPTCHA app verifier. When this is disabled, a mock reCAPTCHA is rendered instead. This is useful for manual testing during development or for automated integration tests.

In order to use this feature, you will need to whitelist your phone number via the Firebase Console.

The default value is false (app verification is enabled).

userAccessGroup This setting only applies to iOS and MacOS platforms. When set, it allows you to share authentication state between applications. Set the property to your team group ID or set to null to remove sharing capabilities.

Key Sharing capabilities must be enabled for your app via XCode (Project settings > Capabilities). To learn more, visit the Apple documentation.

Implementation

Future<void> setSettings({
  bool? appVerificationDisabledForTesting,
  String? userAccessGroup,
}) {
  throw UnimplementedError('setSettings() is not implemented');
}