Applist icon indicating copy to clipboard operation
Applist copied to clipboard

Applist is not working in cordova 4.0 and i think also in 5.0 and up

Open Sharathnasa opened this issue 9 years ago • 4 comments

Hello,

Hope you remember me. I had raised a issue in the month of April 2015. Which i resolved for myself and informed you. But now i'm facing new issue. After adding the plugin to the cordova project and when i try to run, it is showing the below error message. Could you please let me know where it is going wrong.

10-19 21:53:12.761: D/CordovaLog(27736): file:///android_asset/www/sample.html: Line 171 : Uncaught ReferenceError: Applist is not defined 10-19 21:53:12.761: I/chromium(27736): [INFO:CONSOLE(171)] "Uncaught ReferenceError: Applist is not defined", source: file:///android_asset/www/sample.html (171) 10-19 22:11:37.221: D/CordovaWebViewClient(28630): onPageFinished(file:///android_asset/www/sample.html) 10-19 22:11:37.221: D/CordovaActivity(28630): onMessage(onPageFinished,file:///android_asset/www/sample.html) 10-19 22:11:37.321: I/chromium(28630): [INFO:SkUtilsArm.cpp(179)] Device supports ARM NEON instructions! 10-19 22:11:39.221: D/CordovaActivity(28630): onMessage(spinner,stop) 10-19 22:11:42.036: D/CordovaLog(28630): file:///android_asset/www/cordova.js: Line 1154 : deviceready has not fired after 5 seconds. 10-19 22:11:42.036: I/chromium(28630): [INFO:CONSOLE(1154)] "deviceready has not fired after 5 seconds.", source: file:///android_asset/www/cordova.js (1154) 10-19 22:11:42.036: D/CordovaLog(28630): file:///android_asset/www/cordova.js: Line 1147 : Channel not fired: onNativeReady 10-19 22:11:42.036: I/chromium(28630): [INFO:CONSOLE(1147)] "Channel not fired: onNativeReady", source: file:///android_asset/www/cordova.js (1147) 10-19 22:11:42.036: D/CordovaLog(28630): file:///android_asset/www/cordova.js: Line 1147 : Channel not fired: onPluginsReady 10-19 22:11:42.036: I/chromium(28630): [INFO:CONSOLE(1147)] "Channel not fired: onPluginsReady", source: file:///android_asset/www/cordova.js (1147) 10-19 22:11:42.036: D/CordovaLog(28630): file:///android_asset/www/cordova.js: Line 1147 : Channel not fired: onCordovaReady 10-19 22:11:42.036: I/chromium(28630): [INFO:CONSOLE(1147)] "Channel not fired: onCordovaReady", source: file:///android_asset/www/cordova.js (1147)

Please let me know where i'm doing wrong.

Sharathnasa avatar Oct 19 '15 16:10 Sharathnasa

Hey!

I am really sorry for my late reply, I have been extremely busy..

I am sorry to hear that you have problem with this plugin on cordova 4. I did a search and there seems to be another app list plugin, is that helpful to you?

I am not sure if I have the time to update the plugin.. Do you want to try fixing it?

Thanks!

jmrezayi2 avatar Oct 27 '15 13:10 jmrezayi2

Hey Thanks for reply. Even busy right now. Could you please provide other plugin link. If i get the time, i will fix it.

Sharathnasa avatar Oct 27 '15 18:10 Sharathnasa

Ionic3 ,I want to get a list of applications that have been installed on the phone,Can you tell me how to use it,(<any>window).Applist.createEvent('', '', '', '', '', (app_list)=>{ alert(JSON.stringify(app_list)); console.log(JSON.stringify(app_list)); }, (app_list)=>{ alert("Oopsie! " + app_list); console.log("Oopsie! " + app_list); }); error:'createEvent' of undefined (<any>window)。Applist.Applist.createEvent('', '', '', '', '', (app_list)=>{ error:'Applist' of undefined

CjoyHome avatar Mar 13 '18 09:03 CjoyHome

@jmrezayi2 can u suggest one that is working as i have tried over 5 variations and none are working. or atleast point to how to make it compatible for cordova 5.0 and above?

acedigibits avatar Dec 28 '19 07:12 acedigibits