Ionic-platform-web-client does not bootstrap cordova


#1

Recently I’ve installed this new library, and my index.html file was updated like this:

<!-- Cordova is bootstrapped by ionic-platform-web-client, uncomment this if you remove ionic-platform-web-client... -->
<!--<script src="cordova.js"></script>-->

If I leave cordova.js commented - none of cordova plugins are working. Does anyone had this problem? Thank you!

Your system information:

Cordova CLI: 5.3.3
Gulp version:  CLI version 3.9.0
Gulp local:   Local version 3.9.0
Ionic Version: 1.1.0
Ionic CLI Version: 1.6.5
Ionic App Lib Version: 0.3.9
ios-deploy version: Not installed
ios-sim version: 4.1.1 
OS: Mac OS X Yosemite
Node Version: v0.12.7
Xcode version: Xcode 7.0.1 Build version 7A1001

#2

Same issue here on android.

if I include ng-cordova.min.js and debug directly on my device - its working!

But not via ionic deploy :frowning:


#3

It turned out, all I need was:

ionic io init

#4

Hi @SwataZ: Can you show me in detail?