Newsfreak Doc
Product LinkInstallation PlansSupport
  • Introduction
  • Changelogs
  • Getting Started
  • 🌐WordPress Setup
    • 1. Install Plugins
      • 1.1 JWT Authentication Setup
    • 2. Import Newsfreak Assets
  • 📱App Setup
    • 1. Flutter Installation
    • 2. Code Setup
    • 3. Push Notification Setup
      • 3.1 Android Notification Setup
      • 3.2 iOS Notification Setup
      • 3.3 OneSignal Setup
    • 4. App Information Setup
      • 4.1 Change Package Name
      • 4.2 Change App Name
      • 4.3 Change App Icon
      • 4.4 Change Splash Icon
      • 4.5 Change Logo
      • 4.6 Change App Theme Color
      • 4.7 On-Boarding Setup
      • 4.8 Update Website URL
    • 5. Run the App
    • 6. Releasing the Android App
      • 6.1 Generate Keystore File
      • 6.2 Uploading At Google Play
    • 7. Releasing the iOS App
  • ⚒️Additional Setup
    • 8. Multi-Language Setup
    • 9. Ads Setup
      • 9.1 Admob Setup
        • 9.1.1 Admob Setup for Android
        • 9.1.2 Admob Setup for iOS
      • 9.2 Custom Ads Setup
    • 10. Social Logins Setup
      • 10.1 Google Login
      • 10.2 Facebook Login
      • 10.3 Apple Login
    • 11. Deep/App Links Setup
      • 11.1 WordPress Setup
      • 11.2 Android Setup
      • 11.3 iOS Setup
    • 12. Featured Posts Setup
    • 13. Video Posts Setup
    • 14. Home Categories Setup
  • ✨Updates
    • Migrate to v2.2
    • Migrate to v2.1
    • Migrate to v2.0
  • 🎇Issues & Fixes
    • 1. No Internet Issue
Powered by GitBook
On this page
  1. Additional Setup
  2. 11. Deep/App Links Setup

11.2 Android Setup

Last updated 9 months ago

  1. From your Cpanel, go to the File Manager > Your Site > .well-known folder and create a file named assetlinks.json and open the file and insert the following code.

[
    {
        "relation": [
            "delegate_permission/common.handle_all_urls"
        ],
        "target": {
            "namespace": "android_app",
            "package_name": "com.mrblab.newsfreak",
            "sha256_cert_fingerprints": [
                "56:35:86:19:1F:37:76:31:7F:16:F5:48:0F:8A:67:D8:42:3A:98:09:A0:45:3D:18:E9:F1:40:04:CB:30:52:54",
                
                "4C:5F:7D:8F:45:F8:AF:BF:06:21:FA:76:0A:A5:FC:0B:17:38:42:7F:55:DE:B8:BA:50:85:D4:DA:DD:0B:63:C9"
            ]
        }
    }
]
  1. Replace the package_name value with your Android package name.

  2. Now you need to generate two sha256 fingerprints (Debug and Release).

  3. Replace the sha256_cert_fingerprints values with your values.

  4. Save the file. Now, You can check on this site if your deep link setup working not:

  1. From the source code, go to the android/app/src/main/AndroidManifest.xml file and add your site URL.

That's it. Android configuration for deep/app links is complete.

⚒️
https://developers.google.com/digital-asset-links/tools/generator