|
|
|
|
@ -460,7 +460,7 @@ class _VerificationMethodsScreenState extends State<VerificationMethodsScreen> {
|
|
|
|
|
if (authMethodType == AuthMethodTypes.SMS ||
|
|
|
|
|
authMethodType == AuthMethodTypes.WhatsApp) {
|
|
|
|
|
GifLoaderDialogUtils.hideDialog(context);
|
|
|
|
|
this.startSMSService(authMethodType);
|
|
|
|
|
this.startSMSService(authMethodType,isSilentLogin: true);
|
|
|
|
|
} else {
|
|
|
|
|
checkActivationCode(isSilentLogin: true);
|
|
|
|
|
}
|
|
|
|
|
@ -503,7 +503,7 @@ class _VerificationMethodsScreenState extends State<VerificationMethodsScreen> {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
startSMSService(AuthMethodTypes type) {
|
|
|
|
|
startSMSService(AuthMethodTypes type,{isSilentLogin: false}) {
|
|
|
|
|
new SMSOTP(
|
|
|
|
|
context,
|
|
|
|
|
type,
|
|
|
|
|
@ -515,7 +515,7 @@ class _VerificationMethodsScreenState extends State<VerificationMethodsScreen> {
|
|
|
|
|
return AppLoaderWidget();
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
this.checkActivationCode(value: value,isSilentLogin: false);
|
|
|
|
|
this.checkActivationCode(value: value,isSilentLogin: isSilentLogin);
|
|
|
|
|
},
|
|
|
|
|
() =>
|
|
|
|
|
{
|
|
|
|
|
|