Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Associating website with Android app For Better DeepLink Support #44650

Open
alperozturk96 opened this issue Apr 4, 2024 · 0 comments · May be fixed by nextcloud/android#12820 or #44665
Open

Associating website with Android app For Better DeepLink Support #44650

alperozturk96 opened this issue Apr 4, 2024 · 0 comments · May be fixed by nextcloud/android#12820 or #44665

Comments

@alperozturk96
Copy link

Document

Currently, when user wants to open deep link with latest Android version, Google Chrome opening instead of Nextcloud Android app. To prevent that, we need to do some configuration in server side.

We need to ensure that our app's digital asset links are correctly set up. Digital asset links are used by Android to verify ownership of deep links. We can set up digital asset links by creating an assetlinks.json file and placing it in the website's .well-known directory. This file should contain information about our app and the deep links it handles.

assetlinks.json

[{
  "relation": ["delegate_permission/common.handle_all_urls"],
  "target": {
    "namespace": "android_app",
    "package_name": "com.nextcloud.client",
    "sha256_cert_fingerprints":
    ["APP_CERT_FINGERPRINT"]
  }
}]
@alperozturk96 alperozturk96 added enhancement 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Apr 4, 2024
@alperozturk96 alperozturk96 linked a pull request Apr 4, 2024 that will close this issue
1 task
@Pytal Pytal linked a pull request Apr 4, 2024 that will close this issue
4 tasks
@Pytal Pytal self-assigned this Apr 4, 2024
@Pytal Pytal added 3. to review Waiting for reviews and removed 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants