如何提供和处理科尔多瓦/ PhoneGap的应用程序深层链接 [英] How to provide and handle deep links in cordova / phonegap applications

查看:162
本文介绍了如何提供和处理科尔多瓦/ PhoneGap的应用程序深层链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

喜 我想知道一个科尔多瓦/ 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 <​​/A>

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);
}

这篇关于如何提供和处理科尔多瓦/ PhoneGap的应用程序深层链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆