Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

登录回调无法重建,暂时记录,看此问题是否存在? #71

Closed
zmm2tysu opened this issue Mar 3, 2022 · 2 comments
Closed

Comments

@zmm2tysu
Copy link

zmm2tysu commented Mar 3, 2022

Android这边调用登录后,跳转到qq选择账号后,获取不到回调信息,Tencent.instance.loginResp()没有执行

log

I/openSDK_LOG.Tencent(31864): login() with activity, scope is get_simple_userinfo
I/openSDK_LOG.QQAuth(31864): login()
I/openSDK_LOG.QQAuth(31864): -->login activity: com.youtu.xiongmaoyoutu.MainActivity@91a81e2
I/openSDK_LOG.SystemUtils(31864): apkPath=/data/app/com.youtu.xiongmaoyoutu-aid_nTW-1oNXgpb9SPCPEA==/base.apk
I/openSDK_LOG.AuthAgent(31864): startActionActivity() -- start
I/Timeline(31864): Timeline: Activity_launch_request time:28102209
I/openSDK_LOG.AuthAgent(31864): startActionActivity() -- end, found activity for loginIntent
I/openSDK_LOG.AuthAgent(31864): OpenUi, showUi, return Constants.UI_ACTIVITY
E/openSDK_LOG.Util(31864): getPackageInfo has exception: com.qzone
D/JIGUANG-JOperate(31864): [JOperateEventDispatch] onEvent:activity_lifecycle,bundle:Bundle[{lifecycle_name=onActivityPaused, activity_name=com.youtu.xiongmaoyoutu.MainActivity}]
I/System.out(31864): begin to call ****** send due to user permission
I/System.out(31864): [apache]:check permission begin!
D/JIGUANG-JCore(31864): [JCoreHelper] runActionWithService action:handle_life_resume
W/System  (31864): ClassLoader referenced unknown path: system/framework/mediatek-cta.jar
I/System.out(31864): [apache] e:java.lang.ClassNotFoundException: com.mediatek.cta.CtaUtils
W/ActivityThread(31864): handleWindowVisibility: no activity for token android.os.BinderProxy@f86af54
D/JIGUANG-JOperate(31864): [JOperateEventDispatch] onEvent:activity_lifecycle,bundle:Bundle[{lifecycle_name=onActivityCreated, activity_name=com.tencent.connect.common.AssistActivity}]
I/openSDK_LOG.AssistActivity(31864): --onCreate-- mRestoreLandscape=false
I/openSDK_LOG.AssistActivity(31864): --onCreate--activityIntent not null, will start activity, reqcode = 11101
D/ViewContentFactory(31864): initViewContentFetcherClass
I/openSDK_LOG.AssistActivity(31864): registerReceiver exception : Attempt to invoke virtual method 'java.lang.String android.net.Uri.getQueryParameter(java.lang.String)' on a null object reference
I/ContentCatcher(31864): ViewContentFetcher : ViewContentFetcher
D/ViewContentFactory(31864): createInterceptor took 0ms
I/Timeline(31864): Timeline: Activity_launch_request time:28102256
E/openSDK_LOG(31864): -->obtainFileWriter() old log file permission denied
D/ForceDarkHelper(31864): updateByCheckExcludeList: pkg: com.youtu.xiongmaoyoutu activity: com.tencent.connect.common.AssistActivity@4bc6efd
I/chatty  (31864): uid=10622(com.youtu.xiongmaoyoutu) identical 1 line
D/ForceDarkHelper(31864): updateByCheckExcludeList: pkg: com.youtu.xiongmaoyoutu activity: com.tencent.connect.common.AssistActivity@4bc6efd
I/openSDK_LOG.AssistActivity(31864): -->onStart
D/JIGUANG-JOperate(31864): [JOperateEventDispatch] onEvent:activity_lifecycle,bundle:Bundle[{lifecycle_name=onActivityStarted, activity_name=com.tencent.connect.common.AssistActivity}]
I/openSDK_LOG.AssistActivity(31864): -->onResume
D/JIGUANG-JOperate(31864): [JOperateEventDispatch] onEvent:activity_lifecycle,bundle:Bundle[{lifecycle_name=onActivityResumed, activity_name=com.tencent.connect.common.AssistActivity}]
D/JIGUANG-JCore(31864): [JCoreHelper] runActionWithService action:handle_life_resume
V/PhoneWindow(31864): DecorView setVisiblity: visibility = 4, Parent = null, this = DecorView@2ba87f2[]
E/u.xiongmaoyout(31864): Invalid ID 0x00000000.
D/JIGUANG-JOperate(31864): [AndoridUtils] NO versionName defined in manifest.
D/ViewRootImpl[AssistActivity](31864): hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
E/u.xiongmaoyout(31864): Invalid ID 0x00000000.
D/JIGUANG-JOperate(31864): [AndoridUtils] NO versionName defined in manifest.
V/PhoneWindow(31864): DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@1e5fdf9, this = DecorView@2ba87f2[AssistActivity]
D/Surface (31864): Surface::connect(this=0x7b952de000,api=1)
D/mali_winsys(31864): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/Surface (31864): Surface::setBufferCount(this=0x7b952de000,bufferCount=3)
D/Surface (31864): Surface::allocateBuffers(this=0x7b952de000)
I/openSDK_LOG.AssistActivity(31864): -->onPause
D/JIGUANG-JOperate(31864): [JOperateEventDispatch] onEvent:activity_lifecycle,bundle:Bundle[{lifecycle_name=onActivityPaused, activity_name=com.tencent.connect.common.AssistActivity}]
D/JIGUANG-JCore(31864): [JCoreHelper] runActionWithService action:handle_life_resume
D/JIGUANG-JCore(31864): [JCoreHelper] runActionWithService action:in_app_msg_handle
D/Surface (31864): Surface::disconnect(this=0x7b9522e000,api=1)
D/ViewRootImpl(31864): setSurfaceViewCreated, created:false
D/Surface (31864): Surface::disconnect(this=0x7b9522e000,api=-1)
D/Surface (31864): Surface::disconnect(this=0x7b95212000,api=1)
D/Surface (31864): Surface::disconnect(this=0x7b952de000,api=1)
I/GED     (31864): ged_boost_gpu_freq, level 80, eOrigin 2, final_idx 25, oppidx_max 31, oppidx_min 0
D/JIGUANG-JOperate(31864): [JOperateEventDispatch] onEvent:activity_lifecycle,bundle:Bundle[{lifecycle_name=onActivityStopped, activity_name=com.youtu.xiongmaoyoutu.MainActivity}]
D/JIGUANG-JOperate(31864): [JOperateEventDispatch] onEvent:activity_lifecycle,bundle:Bundle[{lifecycle_name=onActivitySaveInstanceState, activity_name=com.youtu.xiongmaoyoutu.MainActivity}]
V/PhoneWindow(31864): DecorView setVisiblity: visibility = 4, Parent = android.view.ViewRootImpl@c0a47d9, this = DecorView@d1ae59e[MainActivity]
I/openSDK_LOG.AssistActivity(31864): -->onStop
D/JIGUANG-JOperate(31864): [JOperateEventDispatch] onEvent:exit_app,bundle:null
D/JIGUANG-JOperate(31864): [JOperateEventDispatch] onEvent:activity_lifecycle,bundle:Bundle[{lifecycle_name=onActivityStopped, activity_name=com.tencent.connect.common.AssistActivity}]
E/u.xiongmaoyout(31864): Invalid ID 0x00000000.
D/JIGUANG-JOperate(31864): [AndoridUtils] NO versionName defined in manifest.
D/JIGUANG-JCore(31864): [JCoreHelper] runActionWithService action:change_foreground_dy
D/JIGUANG-JCore(31864): [JCoreHelper] runActionWithService action:change_foreground
E/u.xiongmaoyout(31864): Invalid ID 0x00000000.
D/JIGUANG-JOperate(31864): [AndoridUtils] NO versionName defined in manifest.
I/openSDK_LOG.AssistActivity(31864): --onSaveInstanceState--
D/JIGUANG-JOperate(31864): [JOperateEventDispatch] onEvent:activity_lifecycle,bundle:Bundle[{lifecycle_name=onActivitySaveInstanceState, activity_name=com.tencent.connect.common.AssistActivity}]
V/PhoneWindow(31864): DecorView setVisiblity: visibility = 4, Parent = android.view.ViewRootImpl@1e5fdf9, this = DecorView@2ba87f2[AssistActivity]
E/openSDK_LOG.ReportManager(31864): -->ReportCenter httpRequest Exception:
I/openSDK_LOG.AssistActivity(31864): -->onStart
D/JIGUANG-JOperate(31864): [JOperateEventDispatch] onEvent:start_app,bundle:Bundle[{type=3}]
E/openSDK_LOG(31864): -->obtainFileWriter() old log file permission denied
D/JIGUANG-JCore(31864): [JCoreHelper] runActionWithService action:notification_state
D/JIGUANG-JOperate(31864): [JOperateEventDispatch] onEvent:activity_lifecycle,bundle:Bundle[{lifecycle_name=onActivityStarted, activity_name=com.tencent.connect.common.AssistActivity}]
D/JIGUANG-JCore(31864): [JCoreHelper] runActionWithService action:change_foreground_dy
D/JIGUANG-JCore(31864): [JCoreHelper] runActionWithService action:change_foreground
E/u.xiongmaoyout(31864): Invalid ID 0x00000000.
D/JIGUANG-JOperate(31864): [AndoridUtils] NO versionName defined in manifest.
V/PhoneWindow(31864): DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@1e5fdf9, this = DecorView@2ba87f2[AssistActivity]
E/u.xiongmaoyout(31864): Invalid ID 0x00000000.
D/JIGUANG-JOperate(31864): [AndoridUtils] NO versionName defined in manifest.
D/JIGUANG-JOperate(31864): [JOperateEventDispatch] onEvent:activity_lifecycle,bundle:Bundle[{lifecycle_name=onActivityStarted, activity_name=com.youtu.xiongmaoyoutu.MainActivity}]
V/PhoneWindow(31864): DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@c0a47d9, this = DecorView@d1ae59e[MainActivity]
D/Surface (31864): Surface::connect(this=0x7b952de000,api=1)
D/mali_winsys(31864): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/Surface (31864): Surface::setBufferCount(this=0x7b952de000,bufferCount=3)
D/Surface (31864): Surface::connect(this=0x7b95212000,api=1)
D/mali_winsys(31864): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/ViewRootImpl(31864): setSurfaceViewCreated, created:true
D/Surface (31864): Surface::connect(this=0x7b45000000,api=1)
D/mali_winsys(31864): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/Surface (31864): Surface::setBufferCount(this=0x7b45000000,bufferCount=3)
D/Surface (31864): Surface::allocateBuffers(this=0x7b45000000)
I/openSDK_LOG.AssistActivity(31864): --onActivityResult--requestCode: 11101 | resultCode: -1data = null ? false
I/openSDK_LOG.AssistActivity(31864): --setResultData--openid and token not empty, setResult ACTIVITY_OK
I/openSDK_LOG.AssistActivity(31864): onActivityResult finish immediate
E/openSDK_LOG.Util(31864): getPackageInfo has exception: com.qzone
I/System.out(31864): begin to call ****** send due to user permission
I/System.out(31864): [apache]:check permission begin!
W/System  (31864): ClassLoader referenced unknown path: system/framework/mediatek-cta.jar
I/System.out(31864): [apache] e:java.lang.ClassNotFoundException: com.mediatek.cta.CtaUtils
I/System.out(31864): [socket]:check permission begin!
W/System  (31864): ClassLoader referenced unknown path: system/framework/mediatek-cta.jar
I/System.out(31864): [socket] e:java.lang.ClassNotFoundException: com.mediatek.cta.CtaUtils
I/openSDK_LOG.Tencent(31864): onActivityResultData() reqcode = 11101, resultcode = -1, data = null ? false, listener = null ? false
I/openSDK_LOG.UIListenerManager(31864): onActivityResult req=11101 res=-1
W/openSDK_LOG.AuthAgent(31864): FeedConfirmListener onComplete There is no value for sendinstall.
I/openSDK_LOG.AuthAgent(31864):  WORDING = xx,showConfirmDialog=false
E/openSDK_LOG(31864): -->obtainFileWriter() old log file permission denied
I/QQToken (31864): saveJsonPreference sucess
I/openSDK_LOG.AuthAgent(31864):  saveSession saveSuccess=true
D/ffmpeg-kit-flutter(31864): selectDocument completed with requestCode: 11101, resultCode: -1, data: Intent { (has extras) }.
I/ffmpeg-kit-flutter(31864): FFmpegKitFlutterPlugin ignored unsupported activity result for requestCode: 11101.
D/JIGUANG-JOperate(31864): [JOperateEventDispatch] onEvent:activity_lifecycle,bundle:Bundle[{lifecycle_name=onActivityResumed, activity_name=com.youtu.xiongmaoyoutu.MainActivity}]
D/JIGUANG-JCore(31864): [JCoreHelper] runActionWithService action:handle_life_resume
V/PhoneWindow(31864): DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@c0a47d9, this = DecorView@d1ae59e[MainActivity]
E/u.xiongmaoyout(31864): Invalid ID 0x00000000.
D/JIGUANG-JOperate(31864): [AndoridUtils] NO versionName defined in manifest.
E/u.xiongmaoyout(31864): Invalid ID 0x00000000.
D/JIGUANG-JOperate(31864): [AndoridUtils] NO versionName defined in manifest.
D/Surface (31864): Surface::disconnect(this=0x7b952de000,api=1)
D/Surface (31864): Surface::connect(this=0x7b952de000,api=1)
D/mali_winsys(31864): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/Surface (31864): Surface::setBufferCount(this=0x7b952de000,bufferCount=3)
I/openSDK_LOG.HttpUtils(31864): -->openUrl2 response cdoe =200
D/Surface (31864): Surface::disconnect(this=0x7b45000000,api=1)
I/openSDK_LOG.AssistActivity(31864): -->onStop
D/JIGUANG-JOperate(31864): [JOperateEventDispatch] onEvent:activity_lifecycle,bundle:Bundle[{lifecycle_name=onActivityStopped, activity_name=com.tencent.connect.common.AssistActivity}]
V/PhoneWindow(31864): DecorView setVisiblity: visibility = 4, Parent = android.view.ViewRootImpl@1e5fdf9, this = DecorView@2ba87f2[AssistActivity]
I/openSDK_LOG.AssistActivity(31864): -->onDestroy
D/JIGUANG-JOperate(31864): [JOperateEventDispatch] onEvent:activity_lifecycle,bundle:Bundle[{lifecycle_name=onActivityDestroyed, activity_name=com.tencent.connect.common.AssistActivity}]
D/View    (31864): [Warning] assignParent to null: this = DecorView@2ba87f2[AssistActivity]
D/JIGUANG-JCore(31864): [JCoreHelper] runActionWithService action:in_app_msg_handle

@zmm2tysu zmm2tysu changed the title 登录回调无法重建,暂时记录,开是否存在? 登录回调无法重建,暂时记录,看此问题是否存在? Mar 3, 2022
@guoguoguilai
Copy link

我也遇到了这个问题,将初始化部分
late StreamSubscription<TencentLoginResp> _login = Tencent.instance.loginResp().listen(_listenLogin);
改为late StreamSubscription<TencentLoginResp> _login;
并在initState里增加_login = Tencent.instance.loginResp().listen(_listenLogin);即可

@xywww
Copy link

xywww commented Apr 7, 2022

同收不到回调,ios15.4 微博的那个插件同样如此

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants