setupInstructions constant
String
const setupInstructions
Implementation
static const String setupInstructions = '''# Deep Linking Setup Instructions
Your project has been initialized with deep linking capabilities!
## 1. Custom URL Scheme
Scheme: `{{SCHEME}}://`
To test custom URL scheme on devices:
- **Android**: `adb shell am start -a android.intent.action.VIEW -d "{{SCHEME}}://product/10"`
- **iOS**: `xcrun simctl openurl booted "{{SCHEME}}://product/10"`
---
## 2. Android App Links (Verified HTTPS Links)
Domains configured: `{{DOMAINS}}`
1. Place the generated `assetlinks.json` file inside a directory named `.well-known` on your HTTPS host:
`https://<your-domain>/.well-known/assetlinks.json`
2. Verify the content contains your package name `{{PACKAGE_NAME}}` and correct SHA-256 fingerprint.
3. Make sure the file is served with content-type `application/json` and returns standard HTTPS status 200.
---
## 3. iOS Universal Links (Verified HTTPS Links)
Domains configured: `{{DOMAINS}}`
1. Place the generated `apple-app-site-association` file inside a directory named `.well-known` on your HTTPS host:
`https://<your-domain>/.well-known/apple-app-site-association`
*Note: Do not append `.json` extension to this filename.*
2. Ensure it is served with content-type `application/json` over HTTPS with valid SSL/TLS certificate.
3. In Xcode, enable the **Associated Domains** capability and add entries:
`applinks:{{DOMAIN_1}}`
`applinks:{{DOMAIN_2}}` (etc.)
''';