dispatchEnvelope method
/////* PUBLIC METHODS */////////
Implementation
@override
Future<bool> dispatchEnvelope(String url) async {
_appKit.core.logger.d('[$runtimeType] dispatchEnvelope $url');
final envelope = ReownCoreUtils.getSearchParamFromURL(url, 'wc_ev');
if (envelope.isNotEmpty) {
await _appKit.dispatchEnvelope(url);
return true;
}
final state = ReownCoreUtils.getSearchParamFromURL(url, 'state');
if (state.isNotEmpty) {
_magicService.completeSocialLogin(url: url);
return true;
}
return false;
}