0

I have created a flutter app which uses Azure ADB2C for login, this login screen in displayed as webview in flutter app. Once successful login user has to authenticate using Microsoft authenticator app.

Here a URL is generated to open authenticator app which looks like this otpauth://totp/B2CDev:*****?secret=asdfasdfasdf&issuer=B2CDev

But when clicked on the link it throws error as 'ERR_UNKNOWN_URL_SCHEME'.

Does not open authenticator app

Is it possible to communicate to android native apps from flutter inapp-webview ? Is there any other approach to achieve this ?

1
  • can you include sample snippet? Commented Sep 16, 2024 at 11:37

1 Answer 1

0

You can Use url_launcher

launchUrl(Uri.parse(url),mode: LaunchMode.externalApplication);
Sign up to request clarification or add additional context in comments.

1 Comment

It works with url_launcher when trigger from flutter app but will it open the authenticator app from webview since link to open authenticator app is available inside webview itself

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.