jsInitPlugin not called
Closed this issue · 1 comments
It was working several days ago.and I thought when I open the app,it will always call the jsInitPlugin method in OC,which will lead to the check-download area.
but now the jsInitPlugin method is never called and the new version is not update,I have checked all the settings.
`
// Called when Cordova is ready for work.
// Here we will send default callback to the native side through which it will send to us different events.
channel.onCordovaReady.subscribe(function() {
ensureCustomEventExists();
alert('Cordova is ready for work!');
exec(nativeCallback, null, PLUGIN_NAME, pluginNativeMethod.INITIALIZE, []);
});
`
so the jsInitPlugin should always be called when I open the app,right?
damn,same mistake!
my college send me his new www folder,,and he don't know to include the cordova.js,the 'Cordova is ready' channel will never fired.
will close this issue