...
intl-whitelabel-app
TASK 1— [Android] Add configuration to Apps Link
We will need to hosts on
AndroidManifest.xml
inside<intent-filter>
:PLK
path:
intl-whitelabel-app/workspaces/frontend/native-assets/plk/es/android/app/src/main/AndroidManifest.xml
popeyes.es
: This host will be to open link relates with:popeyes.es/PATH
*.es.rbi.tools
: This host will be to open link relates with:dev-plk-web.es.rbi.tools/PATH
qa-bk-web.es.rbi.tools/PATH
*.popeyes.es
: This host will be to open link relates with:hello.popeyes.es/PATH
whopper.popeyes.es/PATH
BK
path:
intl-whitelabel-app/workspaces/frontend/native-assets/bk/es/android/app/src/main/AndroidManifest.xml
burgerking.es
: This host will be to open link relates with:burgerking.es/PATH
.es
dev-bk-web.es.rbi.tools/PATH
qa-bk-web.es.rbi.tools/PATH
*.burgerking.es
: This host will be to open link relates with:hello.burgerking.es/PATH
whopper.burgerking.es/PATH
OBS: add the attribute
android:autoVerify="true"
on tag<intent-filter>
the code base will be auto-generate with App links Assintant
This assistent, will auto-generate:
AndroidManifest.xml
code;MainActivity.java
code or in another class;Generate Digital Asset Links
path:
intl-whitelabel-app/workspaces/frontend/native-assets/bk/es/.well-known/assetlinks.json
Code Block language json [{ "relation": ["delegate_permission/common.handle_all_urls"], "target": { "namespace": "android_app", "package_name": "es.popeyes.android", "sha256_cert_fingerprints": ["49:53:9C:0B:62:E9:A8:02:10:1A:59:1D:D6:21:38:4B:86:C8:59:12:B8:8C:50:61:ED:B2:7D:90:6C:6D:5B:51"] } }]
follow the steps: https://developer.android.com/studio/write/app-link-indexing
We will know if will works, when the links are validated
...