Why does Cordova 2.7.0 JS seemingly no longer work on remote pages?

前端 未结 6 1458
执笔经年
执笔经年 2021-02-06 00:48

Background

I\'m attempting to upgrade an iOS app built on Cordova 2.0 to version 2.7.

It\'s basically a welcome screen that points to a remote search engine (p

6条回答
  •  清酒与你
    2021-02-06 01:09

    Like me if you are using Cordova 5.1.1 and want to access native functionality after redirect then copy cordova.js, cordova_plugins.js and plugins folder which is at \platforms\platform_name\assets\www\ and put them on server, finally reference cordova.js inside your html. After every plugin add make sure to update these files and folder.

提交回复
热议问题