handleUrl method
Handle a callback URL.
Implementation
@override
Future<bool> handleUrl(Uri url) async {
try {
final result = await methodChannel.invokeMethod<bool>('handleUrl', {
'url': url.toString(),
});
return result ?? false;
} on PlatformException catch (e) {
throw TelegramLoginError.platformError(
e.message ?? 'URL handling failed',
);
}
}