与 IOS 和 Android Nativescript 深度链接 [英] Deep Linking with IOS and Android Nativescript
问题描述
我需要在我的应用中实现深层链接.我的问题是互联网上几乎没有资源.
I need to implement deeplinking within my app. My problem is there is little to no resources on the internet.
我可以从哪里开始学习深度链接实现?
Where can I start studying about deep linking implementation?
我使用 Angular 作为我的框架.
I am using Angular as my framework.
谢谢!
推荐答案
使用 nativescript-urlhandler 插件
tns plugin add nativescript-urlhandler
插件文档中的说明显示了如何处理非 http 链接.Http链接可能需要额外配置,Android/
The instructions in the plugin docs shows, how you may handle non-http link. There may be additional configurations required for Http links, Android / iOS setup.
使用插件,您可以读取用于打开应用程序的 url,基于您可以执行导航的参数.
Using the plugin you may read the url that was used to open the app, based on the parameters you may perform navigation.
这篇关于与 IOS 和 Android Nativescript 深度链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!