如何提供和处理科尔多瓦/ PhoneGap的应用程序深层链接科尔、应用程序、多瓦、链接

2023-09-12 22:12:07 作者:相聚

喜 我想知道一个科尔多瓦/ PhoneGap的插件或方式,揭露和处理深度链接在我的煎茶触摸/科尔多瓦应用程序

Hi I would like to know of a Cordova / Phonegap plugin or way to expose and handle deep-links in my Sencha Touch / Cordova App

到目前为止,我能够深层链接到其他应用程序可以说,开放的谷歌播放到一个特定的应用程序详细信息页面。

So far I am able to deep-link into other applications lets say open Google Play to a specific app detail page.

使用这个插件 https://github.com/$c$c4jhon /org.apache.cordova.startapp

Using this plugin https://github.com/code4jhon/org.apache.cordova.startapp

因此​​,我想要做的就是让其他的应用程序在我的应用程序中打开特定的视图或功能。我想支持Android和iOS。

So what I would like to do is enable other applications to open specific views or functionalities in my application. I would like to support Android and IOS.

所以,底线是有一个科尔多瓦插件公开为Android活动及其对应的IOS?

或者如何实现这一目标?

Or how to achieve this?

看着科尔多瓦文档,但没有发现任何东西...任何帮助,文档的链接将非常AP preciated。

Looked into Cordova docs but didn't find anything... any help, doc link would be very much appreciated.

推荐答案

您可以尝试的https:/ /github.com/EddyVerbruggen/LaunchMyApp-PhoneGap-Plugin

它的工作完美的我。

记得清洗/建造安装后

您可以处理可变实施handleOpenURL

You can handle variable implementing handleOpenURL

function handleOpenURL(url) {
  console.log("received url: " + url);
}