App scheme¶
Documentation
https://developer.android.com/reference/android/content/Intent.html#URI_ANDROID_APP_SCHEME
Very similar to Intent scheme.
🌍 Web¶
Extra parameters can be added to the link and will be transfered as extras Bundle in the Intent:
- String:
S.key=value - Boolean:
B.key=value - Integer:
i.key=value - Long:
l.key=value - Float:
f.key=value
More:
S.market_referrerwill trigger acom.android.vending.INSTALL_REFERRERBroadcast once the app is installed.
🤖 Android¶
The url will be rewritten by the parseUri() method from the Android source code.
The new url will be https://smarquis.fr/action?key=value#data
And will contain additional parameters in the Intent.
📦 Data¶
| Uri | Value |
|---|---|
| scheme | https |
| host | smarquis.fr |
| path | /action |
| query | ?key=value |
| fragment | data |
| Extra | Value |
|---|---|
key |
value |
market_referrer |
my referrer data |
| Referrer |
|---|
my referrer data |
⚙️ Features¶
| Feature | ✔️/❌ |
|---|---|
| App not installed | ✔️ |
| Offline | ✔️ |
| Referrer | ✔️ |
| Deeplink | ✔️ |
| Deferred deeplink | ❌ |
📈 Pros and Cons¶
➖ Some browsers don't handle non-http links