Ionic picker / browser launch or android plugins not loading

I am struggling with setting up an environment for an Ionic app using Cordova v5.0.

$ ionic platform list 
Installed platforms: android 3.6.4, browser 3.5.2.

$ ionic plugin list
com.ionic.keyboard 1.0.4 "Keyboard"
com.msopentech.azure-mobile-services 0.1.4 "Windows Azure Mobile Services"
org.apache.cordova.console 0.2.13 "Console"
org.apache.cordova.device 0.3.0 "Device"
org.apache.cordova.inappbrowser 0.6.0 "InAppBrowser"

$ ionic build browser => build is done ok
$ ionic build android => build is done ok

      

Now when I go to "platforms \ browser \ www \ plugins" I only have the keyboard and device plugin.

Why isn't the Azure plugin available? or InAppBrowser? Is there a dedicated command to run when adding plugins to an ionic project? I added Azure and InAppBrowser using the following commands:

$ ionic plugin add cordova-plugin-inappbrowser
$ ionic plugin add com.msopentech.azure-mobile-services

      

Also, when I build android platform and emulate -> plugins load fine, but when I put apk on my phone (Galaxy SII 4.2.2) I get "WindowsAzure not defined" which means the plugin was not loaded normally.

Do I need to add something to the config.xml file? I don't see any links to any of the above plugins.

Please help, I am new to this. On another laptop, I installed VS2015 and the builds are fine, but I would like to be able to work from the command line.

Thank you so much!

+3


source to share





All Articles