Cordova Plugin for Launch App from Browser using URL Schemas

故事扮演 提交于 2019-12-04 07:55:50

Have you tried LaunchMyApp-PhoneGap-Plugin ?

(url : https://github.com/EddyVerbruggen/LaunchMyApp-PhoneGap-Plugin)

It is pretty straight forward and is based on defining custom schema.

I am using cordova build so the only thing I had to do was add

<gap:plugin name="nl.x-services.plugins.launchmyapp">
  <param name="URL_SCHEME" value="MagicButtonApp" />
</gap:plugin>

and then open a browser and type in MagicButtonApp:// to launch my application. Obviously in a real world scenario this would be a link on a site!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!