数据库中都删了数据了, 怎么还能验证成功
你好,用带 callback 的方法。
AVUser.getCurrentUser().isAuthenticated(new AVCallback<Boolean>() { @Override protected void internalDone0(Boolean aBoolean, AVException e) { } });
对, 就是用了带callback的方法, 返回true
我这边测试是没有问题的。
请在 application 的 onCreate() 里调用 AVOSCloud.setDebugLogEnabled(true); 来打开日志。把 isAuthenticated 这次请求的 cURL 日志发出来。