GroFresh

View Categories

DeepLink Setup

Table of Contents

Android Setup:

1. Modify assetlinks.json:

  • Go to the web/.well-known/assetlinks.json file.
  • Update the “package_name” value with your Flutter app’s package name:
"package_name": "YOUR_PACKAGE_NAME_HERE"

2. Generate and Add SHA-256 Fingerprint:

  • Follow the instructions in this guide to generate your SHA-256 certificate fingerprint.
  • After deploying your app to the Play Store, add the SHA-256 certificate fingerprint key in the Play Console under Setup -> App signing.

3. Update AndroidManifest.xml:

  • Open android/app/src/main/AndroidManifest.xml.
  • Replace “YOUR_DOMAIN_WITHOUT_HTTPS” with your domain (without “http://” or “https://”) in the <intent-filter> section:
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:host="YOUR_DOMAIN_WITHOUT_HTTPS" android:scheme="http"/>
<data android:host="YOUR_DOMAIN_WITHOUT_HTTPS" android:scheme="https"/>
</intent-filter>

iOS Setup​ #

1. Update Runner.entitlements:

  • Go to ios/Runner/Runner.entitlements.
  • Replace “YOUR_DOMAIN_HERE_WITHOUT_HTTP” with your domain (without “http://” or “https://”). For example: grofresh-web.6amtech.com.

2. Edit apple-app-site-association:

  • Go to web/.well-known/apple-app-site-association.
  • Add your team ID and bundle ID. For example:
"applinks": {
  "apps": [],
  "details": [
    {
      "appID": "S8QB4VV633.com.example.deeplink",
      "paths": [ "*" ]
    }
  ]
}

Info

Make sure to replace “S8QB4VV6***” with your team ID and “com.example.deeplink” with your bundle ID. You can locate the team ID in your developer account.