connectSocial method

  1. @override
Future connectSocial({
  1. required String uri,
})
override

Implementation

@override
Future<dynamic> connectSocial({required String uri}) async {
  if (_socialsNotReady) {
    throw Exception('Service is not ready');
  }
  //
  _connectSocial = Completer<bool>();
  final message = ConnectSocial(uri: uri).toString();
  await _webViewController.runJavaScript('sendMessage($message)');
  return await _connectSocial.future;
}