I am working on my applinking, and everything works fine on Android version 11
, but doesn't work on version 12 or above!
Btw, I am using Firebase Hosting for my Website!
And lately, I've found that my domain ownership is not verified
on Google Play Console (GPC)
. I did copy all the codes from GPC -> Setup -> App Signing
and configure
them into my website assetlinks.json
. Yet, my app isn't getting verified, I did everything I could, but still, the issue remains unmoved.
- public/.well-known/assetlinks.json
[
{
"relation": ["delegate_permission/common.handle_all_urls"],
"target" : {
"namespace": "android_app",
"package_name": "com.(myDomain).(myapp)",
"sha256_cert_fingerprints": ["EE:C6:DF..."]
}
},
{
"relation": ["delegate_permission/common.handle_all_urls"],
"target" : {
"namespace": "android_app",
"package_name": "com.(mydomain).(myApp)",
"sha256_cert_fingerprints": ["A9:11:AA..."]
}
}
]
- My Android Manifest
<intent-filter android:autoVerify="true" tools:targetApi="m">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="https" android:host="(myDomain).com" android:pathPrefix="/view/"/>
</intent-filter>
My Website Firebase.json file:
{
"hosting": {
"public": "public",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
]
}
}
Though my codes seem perfect, yet, I'm not sure if I'm missing something, but I'm definitely getting issues: My domain ownership not getting verified.
<data android:host="example.com" />
<data android:scheme="http" />
<data android:scheme="https" />
ps.: be sure that yourassetlinks.json
is something likeexample.com/.well-known/assetlinks.json
1, default, activity