Logo
  • Introduction
  • Release notes
  • Maintenance and release schedule
  • Installation and server configuration
  • Nextcloud configuration
    • Warnings on admin page
    • Configuration Parameters
    • Activity app
    • Administration privileges (Delegation)
    • Android Deep Link Handling
      • Android 11 and Below
      • Android 12 and Above
        • Creating assetlinks.json
    • Antivirus scanner
    • Automatic setup
    • Background jobs
    • Brute force protection
    • Memory caching
    • Dashboard app
    • Domain Change
    • Email
    • Linking external sites
    • Language & Locale
    • Logging
    • OAuth2
    • Reverse proxy
    • Text app
    • Theming
  • Using the occ command
  • Apps management
  • ExApps management
  • User management
  • File sharing and management
  • Flow
  • Groupware
  • Office
  • Reference management
  • Artificial Intelligence
  • Webhook Listeners
  • Windmill Workflows
  • Desktop Clients
  • Database configuration
  • Mimetypes management
  • Maintenance
  • Issues and troubleshooting
  • GDPR-compliance
Nextcloud latest Administration Manual
  • Nextcloud configuration
  • Android Deep Link Handling
  • Edit on GitHub

Android Deep Link Handling

Deep linking in Android allows your application to be launched directly from a URL, making it easier for users to navigate to specific content within your app. Starting from Android 12, handling deep links requires additional configuration using an assetlinks.json file to ensure the app and the host domain are properly associated.

Android 11 and Below

For Android 11 and below, deep linking is straightforward and does not require additional configuration beyond the usual manifest settings.

Android 12 and Above

For Android 12 and above, an additional configuration step is required to verify the relationship between your app and the host domain using the assetlinks.json file.

Creating assetlinks.json

Create a file named assetlinks.json and host it in the .well-known directory of your website (e.g., https://www.cloud.example.com/.well-known/assetlinks.json).

Example assetlinks.json:

[
  {
    "relation": ["delegate_permission/common.handle_all_urls"],
    "target": {
      "namespace": "android_app",
      "package_name": "com.cloud.example.nextcloud",
      "sha256_cert_fingerprints": [
        "FB:00:95:22:F6:5E:25:80:22:61:B6:7B:10:A4:5F:D7:0E:61:00:31:97:6F:40:B2:8A:64:9E:15:2D:ED:03:73"
      ]
    }
  }
]

Nextcloud Configuration Limitation

Due to the additional requirement of hosting an assetlinks.json file for Android 12 and above, Nextcloud cannot configure the Android client for all different hosts. This is because each host needs its own assetlinks.json file to establish a verified relationship with the app, and Nextcloud cannot manage this file for every possible host domain.

Previous Next

© Copyright 2025 Nextcloud GmbH.

Read the Docs v: latest
Versions
29
30
31
stable
latest