Javokhir Savriev
08/24/2023, 1:21 PMJavokhir Savriev
08/24/2023, 1:21 PM<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="uz.uzinfocom.myid" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="myid.uz"
android:pathPattern="/api/v.*/oauth2/authorization"
android:scheme="https" />
</intent-filter>
@Destination(
deepLinks = [
DeepLink(
uriPattern = "<https://myid.uz/$FULL_ROUTE_PLACEHOLDER>"
)
]
)
@Composable
fun AppLinkScreen() {
}
But it doesn’t work. I logged the data from the intent through the onNewIntent()
method and got this result.
<uz.uzinfocom.myid://authorization?client_id=test&auth_method=simple&status=0&state=None&method=simple&scope=address,contacts,doc_data,common_data>
Clicked url
<https://myid.uz/api/v1/oauth2/authorization?client_id=test&response_type=code&scope=address%2Ccontacts%2Cdoc_data%2Ccommon_data&method=simple>
But I can’t navigate the required screen.Peter
08/24/2023, 2:13 PMPeter
08/24/2023, 2:14 PMStylianos Gakis
08/24/2023, 6:17 PM