如何从 http/https link 打开 Ionic Cordova 应用程序
How can i open Ionic Cordova application from http/https link
我正在尝试使用 http/https 协议从 url 打开 cordova 应用程序
当我点击 https://open.myapp/com/test/123 强制我打开我的应用程序并处理参数“/test/123”时。
我想成为 http/https 所以将来可以在社交网络上分享
大多数 ot 答案仅适用于特定平台或使用自定义方案。
您要找的是"deep links"。有几个支持此功能的 Cordova 插件,例如:
- https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking
- https://github.com/ionic-team/ionic-plugin-deeplinks
- https://github.com/nordnet/cordova-universal-links-plugin
- https://github.com/EddyVerbruggen/Custom-URL-scheme
您必须select选择最符合您要求的那个,安装并配置它。
我正在尝试使用 http/https 协议从 url 打开 cordova 应用程序
当我点击 https://open.myapp/com/test/123 强制我打开我的应用程序并处理参数“/test/123”时。
我想成为 http/https 所以将来可以在社交网络上分享 大多数 ot 答案仅适用于特定平台或使用自定义方案。
您要找的是"deep links"。有几个支持此功能的 Cordova 插件,例如:
- https://github.com/BranchMetrics/cordova-ionic-phonegap-branch-deep-linking
- https://github.com/ionic-team/ionic-plugin-deeplinks
- https://github.com/nordnet/cordova-universal-links-plugin
- https://github.com/EddyVerbruggen/Custom-URL-scheme
您必须select选择最符合您要求的那个,安装并配置它。