Receive URL in Ionic for ios

后端 未结 6 1948
逝去的感伤
逝去的感伤 2021-02-02 11:11

I am using ionic framework. I\'m trying to set up a way to receive a url from another app. Like, you are in browser, click share, and send the link to another app (my app). I fo

6条回答
  •  我在风中等你
    2021-02-02 12:00

    what you are asking is deep linking facility for your app. Although I can't provide you exact solution but its fairly simple by writing few lines of code into your native ios app's .plist file (just like what you did for android in manifest.xml). Its called URL scheming, and you can make one for your ios app too.

    Please go to http://docs.urbanairship.com/topic-guides/ios-deep-linking.html. I hope it provides you guidance over how you can do this.

    The angular/ionic code which opens 'another app that has provided deep linking facility(like youtube,etc.)' - https://medium.com/angularjs-articles/deep-linking-in-ionic-mobile-applications-44d8b4685bb3

提交回复
热议问题