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

c++ - Linked List error when inserting for the last time -

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

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