Cordova_Plugins.js not found

I am running Cordova 2.9.1 for iOS. When I launch my application in a browser, the console says that I am missing cordova_plugins.js.

What is it? How do i get this?

Is this the reason that none of my plugins work at all?

Thanks!

+6
source share
1 answer

Have you added a browser platform to your project in Cordoba?

Cordoba platform add browser

After which you need to build a Cordova project:

Cordoba build a browser

You will notice that the platform / browser / www folder exists and contains the cordova_plugins.js file.

At this point, you need to β€œsubmit” files to your web browser from this folder (to test your application using a web browser). For this purpose, I use the Grunt and NodeStatic tasks.

Hope this helps! Let me know if you have any questions, take care.

0
source

Source: https://habr.com/ru/post/970824/


All Articles