jmrezayi2 / Applist

Applist: A plugin for Cordova that gives the list of installed apps on device
Other
19 stars 12 forks source link

Not working in iOS device #11

Open merbin2012 opened 6 years ago

merbin2012 commented 6 years ago

I am using this plugin in Android it is working perfectly with the below code

` function fun_name() { Applist.createEvent('', '', '', '', '', success, error); }

function success(result){
alert(JSON.stringify((result)));
}
function error(err){ alert("Oopsie! " + err); };`

But in the iOS device, it has shown Date error, so just I was send the current date as endDate and 2010-01-01 as startDate, but not working, error method also not calling

nw1=new Date("2010-01-01"); nw=new Date(); Applist.createEvent('', '', '', nw1, nw, function(a,b,c){ debugger; }, function(a,b,c){ debugger; });