We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31fe4e0 commit b7f0396Copy full SHA for b7f0396
android/src/main/java/io/github/v7lin/tencent_kit/TencentKitPlugin.java
@@ -211,7 +211,7 @@ public void onComplete(Object o) {
211
final String accessToken = !object.isNull("access_token") ? object.getString("access_token") : null;
212
final int expiresIn = !object.isNull("expires_in") ? object.getInt("expires_in") : 0;
213
final long createAt = System.currentTimeMillis();
214
- if (!TextUtils.isEmpty(openId) && !TextUtils.isEmpty(accessToken)) {
+ if (!TextUtils.isEmpty(accessToken)) {
215
map.put("ret", TencentRetCode.RET_SUCCESS);
216
map.put("openid", openId);
217
map.put("access_token", accessToken);
0 commit comments