Android Question How to redirect to custom url scheme in webview?


Licensed User
Hi everybody!

In this case,i got some project that need to connect with php oAuth2 server for an authentication purposes. And i used a webview for doing that case, but when i try to redirecting back to apps after allow the oAuth request why webview cannot read the custom url scheme that i build in intent filter with error messages net::ERR_UNKNOWN_URL_SCHEME, but when i make a simple php redirection within my custom scheme in the value and i open it directly on the android browser and its working fine and successfull redirect to my apps.

is there anybody had a some case with me ? in case redirecting oAuth2 with webview.

this is my Manifest

<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="my.special.schemes" />

and this is my intent url

Thank you.