以下就是上述问题在真机上运行的日志,点击如下图片中同意或拒绝后,没有回调通知:
关健日志提示:
I/MicroMsg.SDK.WXApiImplV10: handleIntent fail, intent not from weixin msg
2021-07-15 11:23:48.848 10862-11065/com.eyp.app W/libEGL: EGLNativeWindowType 0x7b9b983bd0 disconnect failed
2021-07-15 11:23:48.869 10862-10862/com.eyp.app D/MicroMsg.PaySdk.WXFactory: createWXAPI, appId = wx254dc5f252d27f2e, checkSignature = false
2021-07-15 11:23:48.879 10862-10862/com.eyp.app D/MicroMsg.SDK.WXApiImplV10: , appId = wx254dc5f252d27f2e, checkSignature = false
2021-07-15 11:23:48.879 10862-10862/com.eyp.app I/MicroMsg.SDK.WXApiImplV10: handleIntent fail, intent not from weixin msg
2021-07-15 11:23:48.880 10862-10862/com.eyp.app D/MicroMsg.SDK.WXMsgImplComm: ignore wechat app signature validation
2021-07-15 11:23:48.880 10862-10862/com.eyp.app I/MicroMsg.SDK.WXApiImplV10: sendReq, req type = 1
2021-07-15 11:23:48.897 10862-10862/com.eyp.app I/MicroMsg.SDK.WXApiImplV10: getTokenFromWX token is OpenSdkToken@1626319428893
2021-07-15 11:23:48.900 10862-10862/com.eyp.app D/MicroMsg.SDK.MMessageAct: send, targetPkgName = com.tencent.mm, targetClassName = com.tencent.mm.plugin.base.stub.WXEntryActivity
2021-07-15 11:23:48.921 10862-10862/com.eyp.app D/MicroMsg.SDK.MMessageAct: send mm message, intent=Intent { flg=0x18000000 cmp=com.tencent.mm/.plugin.base.stub.WXEntryActivity (has extras) }
2021-07-15 11:23:48.924 10862-10862/com.eyp.app W/InputMethodManager: startInputReason = 1
2021-07-15 11:23:49.037 10862-11520/com.eyp.app I/MID: >>> queryMatchContentProviders size:2
2021-07-15 11:23:49.038 10862-11520/com.eyp.app D/MID: >>> read mid from other providrt cmd:content://com.tencent.abcmouse.TENCENT.MID.V3/2
2021-07-15 11:23:49.039 10862-11520/com.eyp.app D/MID: >>> mid cmd:content://com.tencent.abcmouse.TENCENT.MID.V3/2, return:null
2021-07-15 11:23:49.039 10862-11520/com.eyp.app D/MID: >>> read mid from other providrt cmd:content://cn.kuwo.player.TENCENT.MID.V3/2
2021-07-15 11:23:49.041 10862-11520/com.eyp.app D/MID: >>> mid cmd:content://cn.kuwo.player.TENCENT.MID.V3/2, return:null
2021-07-15 11:23:49.041 10862-11520/com.eyp.app D/MID: >>> appPrivateMidMap size:0,content:
2021-07-15 11:23:49.043 10862-11012/com.eyp.app E/MtaSDK: Could not get permission of android.permission.READ_PHONE_STATE
2021-07-15 11:23:49.045 10862-11053/com.eyp.app E/MtaSDK: Could not get permission of android.permission.READ_PHONE_STATE
2021-07-15 11:23:49.182 10862-10862/com.eyp.app D/RtgSched: resetRtgSchedHandle failed enable:0
2021-07-15 11:23:49.814 10862-11585/com.eyp.app I/MID: >>> queryMatchContentProviders size:2
2021-07-15 11:23:49.814 10862-11585/com.eyp.app D/MID: >>> read mid from other providrt cmd:content://com.tencent.abcmouse.TENCENT.MID.V3/2
2021-07-15 11:23:49.815 10862-11585/com.eyp.app D/MID: >>> mid cmd:content://com.tencent.abcmouse.TENCENT.MID.V3/2, return:null
2021-07-15 11:23:49.815 10862-11585/com.eyp.app D/MID: >>> read mid from other providrt cmd:content://cn.kuwo.player.TENCENT.MID.V3/2
2021-07-15 11:23:49.816 10862-11585/com.eyp.app D/MID: >>> mid cmd:content://cn.kuwo.player.TENCENT.MID.V3/2, return:null
2021-07-15 11:23:49.816 10862-11585/com.eyp.app D/MID: >>> appPrivateMidMap size:0,content:
2021-07-15 11:23:49.819 10862-11012/com.eyp.app E/MtaSDK: Could not get permission of android.permission.READ_PHONE_STATE
2021-07-15 11:23:49.824 10862-11053/com.eyp.app E/MtaSDK: Could not get permission of android.permission.READ_PHONE_STATE
2021-07-15 11:23:51.117 10862-10862/com.eyp.app W/InputMethodManager: startInputReason = 1
2021-07-15 11:23:51.140 10862-10862/com.eyp.app D/RtgSchedIpcFile: setCommandByIoctl failed ret:-1, cmdid:22, errno:103
2021-07-15 11:23:51.140 10862-10862/com.eyp.app D/ActivityThread: Won't deliver top position change in state=4
2021-07-15 11:23:51.140 10862-10862/com.eyp.app D/RtgSchedIpcFile: setCommandByIoctl failed ret:-1, cmdid:23, errno:103
2021-07-15 11:23:51.143 10862-10862/com.eyp.app D/RtgSchedIpcFile: setCommandByIoctl failed ret:-1, cmdid:22, errno:103
2021-07-15 11:23:51.178 10862-10862/com.eyp.app D/RtgSchedIpcFile: setCommandByIoctl failed ret:-1, cmdid:23, errno:103
2021-07-15 11:23:56.804 10862-10862/com.eyp.app D/InputTransport: history resample interval is too short, cannot uses it to resample!!
2021-07-15 11:23:56.937 10862-10862/com.eyp.app D/InputTransport: history resample interval is too short, cannot uses it to resample!!
2021-07-15 11:23:57.003 10862-10862/com.eyp.app D/InputTransport: history resample interval is too short, cannot uses it to resample!!
2021-07-15 11:23:57.086 10862-10862/com.eyp.app D/InputTransport: history resample interval is too short, cannot uses it to resample!!
2021-07-15 11:23:57.285 10862-10862/com.eyp.app D/InputTransport: history resample interval is too short, cannot uses it to resample!!
2021-07-15 11:23:57.303 10862-10862/com.eyp.app W/HiTouch_PressGestureDetector: Touch pointer move a lot. The moving distance of X is:3.0, limit is:60The moving distance of Y is:60.270508, limit is:60
2021-07-15 11:23:57.385 10862-10862/com.eyp.app D/InputTransport: history resample interval is too short, cannot uses it to resample!!
2021-07-15 11:23:57.423 10862-11065/com.eyp.app W/libEGL: EGLNativeWindowType 0x7bf0c21250 disconnect failed
2021-07-15 11:23:57.434 10862-10862/com.eyp.app W/InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed.
2021-07-15 11:23:57.437 10862-10862/com.eyp.app D/DecorView: showOrHideHighlightView: hasFocus=true; winMode=1; isMrgNull=true
2021-07-15 11:23:57.437 10862-10862/com.eyp.app W/InputMethodManager: startInputReason = 1
2021-07-15 11:24:18.693 10862-11304/com.eyp.app I/TPush: [XGPushProvider] getType uri:content://com.eyp.app.XGVIP_PUSH_AUTH/heart,match:30
2021-07-15 11:26:03.731 10862-11304/com.eyp.app I/TPush: [XGPushProvider] getType uri:content://com.eyp.app.XGVIP_PUSH_AUTH/heart,match:30
2021-07-15 11:26:18.711 10862-11304/com.eyp.app I/TPush: [XGPushProvider] getType uri:content://com.eyp.app.XGVIP_PUSH_AUTH/heart,match:30
授权后回到宿主应用的日志如下:
2021-07-16 09:35:59.328 1379-13950/? V/ActivityManager: Successfully start provider ContentProviderRecord{13fe290 u0 com.huawei.systemmanager/.comm.preferenceprovider.SharedPreferenceProvider} launchingApp=null caller pid= 9756
2021-07-16 09:35:59.796 1379-2359/? I/ActivityManager: sendIntentSender target:PendingIntentRecord{14bc77d com.tencent.mm startActivity}, intent:null
2021-07-16 09:35:59.808 1379-1669/? D/HwActivityManagerServiceEx: notifyAppToTop pid:4130, enable:1
2021-07-16 09:35:59.809 1379-1669/? D/HwActivityManagerServiceEx: notifyAppToTop pid:31808, enable:0
2021-07-16 09:35:59.876 2144-2401/? D/DollieActivityManagerAdapter: [Paused] pid:31808 uid:10345 ComponentInfo{com.tencent.mm/com.tencent.mm.plugin.webview.ui.tools.SDKOAuthUI} uidState:2
2021-07-16 09:35:59.880 2144-2401/? D/DollieActivityManagerAdapter: [Resumed] bg:false pid:4130 uid:10346 ComponentInfo{com.eyp.app/com.eyp.app.wxapi.WXPayEntryActivity}
2021-07-16 09:35:59.937 2144-2401/? D/DollieActivityManagerAdapter: [UidStateChanged] uid:10345 uidState:11