Home » Android » trusted web activity – How to add an URI scheme to Android TWAs-Exceptionshub

trusted web activity – How to add an URI scheme to Android TWAs-Exceptionshub

Posted by: admin February 26, 2020 Leave a comment

Questions:

Is there a way to add an URI scheme for Android TWAs?

I’ve added my own scheme in our TWA, say for example <data android:scheme="blah"/>. However, when I try to access the URI using blah:// when the app had not been launched, it fails to launch the app; It works however when the app has already been launched. Is there a way for us to add a scheme in the TWA that also succeeds on launch?

How to&Answers: