2021-09-29 20:09:02 +08:00
|
|
|
# Deeplinks
|
|
|
|
|
|
|
|
```
|
|
|
|
$ ionic cordova plugin add ionic-plugin-deeplinks --variable URL_SCHEME=myapp --variable DEEPLINK_SCHEME=https --variable DEEPLINK_HOST=example.com --variable ANDROID_PATH_PREFIX=/
|
2021-09-29 21:19:55 +08:00
|
|
|
$ npm install @awesome-cordova-plugins/deeplinks
|
2021-09-29 20:09:02 +08:00
|
|
|
```
|
|
|
|
|
2021-09-29 21:19:55 +08:00
|
|
|
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/deeplinks/)
|
2021-09-29 20:09:02 +08:00
|
|
|
|
|
|
|
Plugin Repo: [https://github.com/ionic-team/ionic-plugin-deeplinks](https://github.com/ionic-team/ionic-plugin-deeplinks)
|
|
|
|
|
|
|
|
This plugin handles deeplinks on iOS and Android for both custom URL scheme links
|
|
|
|
and Universal App Links.
|
|
|
|
|
|
|
|
Please read the [ionic plugin deeplinks docs](https://github.com/ionic-team/ionic-plugin-deeplinks) for iOS and Android integration.
|
|
|
|
You must add `universal-links` to your `config.xml` and set up Apple App Site Association (AASA) for iOS and Asset Links for Android.
|
|
|
|
|
|
|
|
## Supported platforms
|
|
|
|
|
|
|
|
- Android
|
|
|
|
- Browser
|
|
|
|
- iOS
|
2021-09-29 20:38:45 +08:00
|
|
|
|
|
|
|
|
|
|
|
|