Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

All cordova plugin undefined on IOS

$
0
0

@pierro wrote:

Hi,

All my cordova plugins don't work when I test on IOS devices.
They all work perfectly on android.

I did try to remove the platform and re-add it.
I did check that all plugins were in the platforms/projectName/plugins folder.
I did wrap my cordova calls in $ionicplatform.ready
They are all listed when I type cordova plugin list

What I get in my console log when I debug it is:

Error: undefined is not an object (evaluating 'window.plugins.allMyPlugins')
Or also, for the cordova camera, I get
Error: Can't find variable: Camera

Also, very weird, when I
$ionicPlatform.ready(function() {
console.log(window.cordova.plugins);
});
to see what plugins actually get loaded, I only get:
Object [keyboard] => as if only they keyboard plugin was loaded...

I am using Cordova 5.4.1 (I cannot even build with the new cordova 6.0.0)

I am testing on Iphone 4.

Any help, I beg you all. This is the very last step for me to publish my app on apple store. :cry:

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>