how can cordova open app from http or https url?

后端 未结 4 1445
刺人心
刺人心 2021-02-04 08:03

I found many answers for a custom URL-Scheme like this (mycoolapp://somepath).

This plugin for example adds a custom URL-Sheme.*

But I don\'t want a

4条回答
  •  庸人自扰
    2021-02-04 08:44

    What you need to do is detect the device that is connecting to http://www.mycoolapp.com/somepath

    If it is a mobile device then you can present them with a page with a link with your custom url scheme that opens your app. Or auto open the custom url of the app if you want.

提交回复
热议问题