fix:修复Android端getPhoneNumber错误问题;
parent
06fba0ff0b
commit
26424f89c6
|
@ -377,7 +377,7 @@ public class AppletHandlerModule extends BaseApi {
|
||||||
callback.onSuccess(null);
|
callback.onSuccess(null);
|
||||||
if (phoneNumberCallback != null) {
|
if (phoneNumberCallback != null) {
|
||||||
try {
|
try {
|
||||||
JSONObject jsonObject = new JSONObject(param.get("phone").toString());
|
JSONObject jsonObject = new JSONObject(param);
|
||||||
phoneNumberCallback.onSuccess(jsonObject);
|
phoneNumberCallback.onSuccess(jsonObject);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
|
Loading…
Reference in New Issue