cordova - How to get result in android phonegap plugin -
i'm trying create phonegap plugin android, i'm getting result when i'm trying perform validation, i'm not able fetch errors appropriately.
when sending result have option decide if result ok or error, have
return new pluginresult(pluginresult.status.ok,"login successful"); return new pluginresult(pluginresult.status.error,"login failed");
Comments
Post a Comment