第三方登陆授权问题,需要点2次

dancky
2018-09-20 11:56 1.3k 0

调用JShareInterface.authorize接口
点第一次提交时候授权成功后没有触发AuthListener里面的onComplete方法
Log显示:
09-20 19:47:49.820 28055-28525/com.smartsung.shengyue E/AbstractTracker: Can't create handler inside thread that has not called Looper.prepare()
09-20 19:47:49.820 28055-28525/com.smartsung.shengyue D/AppTracker: App Event: stop
09-20 19:47:50.573 28055-28526/com.smartsung.shengyue E/AbstractTracker: Can't create handler inside thread that has not called Looper.prepare()
09-20 19:47:50.573 28055-28526/com.smartsung.shengyue D/AppTracker: App Event: start

再点一次时候可以触发AuthListener里面的onComplete方法
Log显示
09-20 19:48:02.449 28055-28415/com.smartsung.shengyue D/JIGUANG-JShare: [JiGuangJsInterface] onComplete:Platform{name=Wechat},action:1,data:AccessTokenInfo{....

1个回答

热门排序