authWeChatByPhoneLogin function

Future<bool> authWeChatByPhoneLogin({
  1. required String scope,
  2. String state = 'state',
})

IOS only

Implementation

Future<bool> authWeChatByPhoneLogin({
  required String scope,
  String state = 'state',
}) async {
  return await _channel.invokeMethod(
    'authByPhoneLogin',
    {'scope': scope, 'state': state},
  );
}