Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试为 android 创建一个 phonegap 插件,我得到了正确的结果,但是当我尝试执行验证时,我无法正确地获取错误。
发回结果时,我可以选择确定结果是正常还是错误,所以我必须这样做
return new PluginResult(PluginResult.Status.OK,"Login Successful"); return new PluginResult(PluginResult.Status.ERROR,"Login Failed");