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

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -