Guide
How to find or add your app's URL scheme
A URL scheme is a short name, like myapp, that opens your app from a link such as myapp://. Add it to your smart link and Android users who already have your app go straight into it instead of Google Play.
Pick a short, unique scheme in lowercase letters, like your app's name: dexwire, not app. Any change to the scheme only works after you publish a new version of the app.
Expo
Open app.json (or app.config.js) and look for scheme. If it's there, that's your scheme. If not, add it:
{
"expo": {
"scheme": "myapp"
}
}Then make a new build with EAS (eas build) and publish it. Expo Go uses its own exp:// links, so test with a development or store build. With Expo Router, myapp:// opens your home screen.
React Native CLI
Add the scheme on both platforms:
Android: in android/app/src/main/AndroidManifest.xml, add this inside the MainActivity <activity> tag, next to the existing intent filter:
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="myapp" />
</intent-filter>iOS: in Xcode, select your target → Info → URL Types → +, and enter your scheme under URL Schemes. Or add this to ios/YourApp/Info.plist:
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>myapp</string>
</array>
</dict>
</array>Using Expo modules in a bare app? Set scheme in app.json and run npx expo prebuild instead.
Flutter
Android: open android/app/src/main/AndroidManifest.xml and add this inside the <activity android:name=".MainActivity"> tag:
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="myapp" />
</intent-filter>iOS: add the scheme to ios/Runner/Info.plist:
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>myapp</string>
</array>
</dict>
</array>That's enough for the link to open your app. To also send people to a specific screen, handle the incoming link in your router (for example with go_router).
Android (Kotlin or Java)
Open AndroidManifest.xml. If your launcher activity already has an intent filter with <data android:scheme="…">, that value is your scheme. If not, add this inside your main <activity>:
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="myapp" />
</intent-filter>The BROWSABLEcategory is required: without it, browsers can't open your app from a link.
iOS (Swift)
In Xcode, select your app target → Info → URL Types. An existing entry under URL Schemes is your scheme. To add one, click + and type it in, or add this to Info.plist:
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>myapp</string>
</array>
</dict>
</array>Smart App Link uses the scheme on Android today. iPhone users still go to the App Store, where the button says Openif the app is installed. Adding the scheme now means you're ready when iPhone support arrives.
Test it
Android: with your phone connected (or an emulator running), run:
adb shell am start -a android.intent.action.VIEW -d "myapp://"If your app opens, the scheme works. Typing myapp://in Chrome's address bar doesn't work, so use adb or tap your smart link.
iPhone: type myapp://into Safari's address bar. Safari asks to open the app if the scheme is set up.
Then add the scheme to your link: Dashboard → Edit → Open the app if installed, and tap your smart link on an Android phone that has the app.
Open your app straight from your link
Available on Pro and Business. Android users who have your app skip the store.