Open GabrielKiesshau opened 5 years ago
Hi, could we have an option to disable the SMS button in the Account Kit UI?
FlutterAccountKitPlugin.java:
if (this.options.containsKey("enableSMS")) { boolean enableSMS = (Boolean) this.options.get("enableSMS"); configurationBuilder.setEnableSms(enableSMS); }
config.dart:
/// Enables the SMS button in the Account Kit UI. /// bool enableSMS; ... Map<String, dynamic> map = <String, dynamic>{ 'initialAuthState': initialAuthState, 'facebookNotificationsEnabled': facebookNotificationsEnabled, 'readPhoneStateEnabled': readPhoneStateEnabled, 'enableSMS': enableSMS, 'receiveSMS': receiveSMS, 'defaultCountry': defaultCountry, 'responseType': _responseTypeAsString(), 'titleType': _titleTypeAsString(), 'initialEmail': initialEmail, 'initialPhoneCountryPrefix': initialPhoneNumber != null ? initialPhoneNumber.countryCode : null, 'initialPhoneNumber': initialPhoneNumber != null ? initialPhoneNumber.number : null, }; ...
You can add it, should be simple
Hi, could we have an option to disable the SMS button in the Account Kit UI?
FlutterAccountKitPlugin.java:
config.dart: