Closed lhh-sofy closed 6 years ago
检查下配置是否完整,没有wb值指什么?
ios的配置中需要加wb的,如:wb+appid 配置都应该是没有问题的,微博,qq都可以登陆,就是微信不可以,什么提示都没有。。。
下面是登陆时候的日志
2018-10-30 15:49:06.133 1045-12511/? I/ActivityManager: START u0 {flg=0x18000000 cmp=com.tencent.mm/.plugin.base.stub.WXEntryActivity (has extras)} from uid 10349
2018-10-30 15:49:06.143 1045-12511/? I/ActivityManager: ActivityRecord info: ActivityInfo{31c0a4c com.tencent.mm.plugin.base.stub.WXEntryActivity}
2018-10-30 15:49:06.161 1045-12511/? V/WindowManager: addAppToken: AppWindowToken{a257f38 token=Token{8833f9b ActivityRecord{4a607aa u0 com.tencent.mm/.plugin.base.stub.WXEntryActivity t7208}}} controller={TaskWindowContainerController taskId=7208} at 2147483647
2018-10-30 15:49:06.175 1045-3219/? V/WindowManager: No longer Stopped: AppWindowToken{a257f38 token=Token{8833f9b ActivityRecord{4a607aa u0 com.tencent.mm/.plugin.base.stub.WXEntryActivity t7208}}}
2018-10-30 15:49:06.192 1045-3219/? V/WindowManager: findFocusedWindow: AppWindowToken{b4eaa35 token=Token{f0c746c ActivityRecord{54cb91f u0 com.zhaowentoutiao.app/.MainActivity t7207}}} below Reached focused app=AppWindowToken{a257f38 token=Token{8833f9b ActivityRecord{4a607aa u0 com.tencent.mm/.plugin.base.stub.WXEntryActivity t7208}}}
2018-10-30 15:49:06.194 1045-3219/? V/WindowManager: No longer Stopped: AppWindowToken{a257f38 token=Token{8833f9b ActivityRecord{4a607aa u0 com.tencent.mm/.plugin.base.stub.WXEntryActivity t7208}}}
2018-10-30 15:49:06.197 1045-3219/? V/WindowManager: Check opening app=AppWindowToken{a257f38 token=Token{8833f9b ActivityRecord{4a607aa u0 com.tencent.mm/.plugin.base.stub.WXEntryActivity t7208}}}: allDrawn=false startingDisplayed=false startingMoved=false isRelaunching()=false
2018-10-30 15:49:06.217 3935-3935/? D/HwRTBlurUtils: check blur style for HwPhoneWindow, themeResId : 0x7f0c021a, context : com.tencent.mm.plugin.base.stub.WXEntryActivity@a7e8bb0, Nhwext : 0, get Blur : disable with , null
2018-10-30 15:49:06.232 1045-3219/? W/ActivityManager: Duplicate finish request for ActivityRecord{4a607aa u0 com.tencent.mm/.plugin.base.stub.WXEntryActivity t7208 f}
2018-10-30 15:49:06.233 3935-3935/? D/ActivityThread: add activity client record, r= ActivityRecord{b272fa4 token=android.os.BinderProxy@ccf52f3 {com.tencent.mm/com.tencent.mm.plugin.base.stub.WXEntryActivity}} token= android.os.BinderProxy@ccf52f3
2018-10-30 15:49:06.234 1045-12513/? D/ActivityManager: allPausedActivitiesComplete: r=ActivityRecord{4a607aa u0 com.tencent.mm/.plugin.base.stub.WXEntryActivity t7208 f} state=FINISHING
2018-10-30 15:49:06.353 1045-3219/? D/ActivityManager: Skipping intent:flg=0x18800000 cmp=com.tencent.mm/.plugin.base.stub.WXEntryActivity
2018-10-30 15:49:06.353 1045-3219/? D/ActivityManager: Skipping intent:act=android.intent.action.VIEW dat=http://wxz.myapp.com/... flg=0x10800000 pkg=com.android.browser cmp=com.android.browser/.BrowserActivity
2018-10-30 15:49:06.494 3935-3935/? D/ActivityThread: Remove activity client record, r= ActivityRecord{b272fa4 token=android.os.BinderProxy@ccf52f3 {com.tencent.mm/com.tencent.mm.plugin.base.stub.WXEntryActivity}} token= android.os.BinderProxy@ccf52f3
2018-10-30 15:49:06.495 1045-3219/? V/WindowManager: removeAppToken: AppWindowToken{a257f38 token=Token{8833f9b ActivityRecord{4a607aa u0 com.tencent.mm/.plugin.base.stub.WXEntryActivity t7208}}} delayed=false Callers=com.android.server.wm.DisplayContent.removeAppToken:1004 com.android.server.wm.AppWindowContainerController.removeContainer:285 com.android.server.am.ActivityRecord.removeWindowContainer:1056 com.android.server.am.ActivityStack.removeActivityFromHistoryLocked:4615
2018-10-30 15:49:17.968 1045-3210/? D/ActivityManager: Skipping intent:act=android.intent.action.VIEW dat=http://wxz.myapp.com/... flg=0x10800000 pkg=com.android.browser cmp=com.android.browser/.BrowserActivity
2018-10-30 15:49:48.915 1045-9211/? D/ActivityManager: Skipping intent:act=android.intent.action.VIEW dat=http://wxz.myapp.com/... flg=0x10800000 pkg=com.android.browser cmp=com.android.browser/.BrowserActivity
有完整log吗,从你截取的log并没有看到极光的log
我修改了一下微信的appid ,加上wx。报错误日志如下: { description: 'Cannot find the description', state: 'fail', code: -6 }
参照 #79
此问题已解决,多谢了。
代码如下: JShareModule.authorize({platform:'wechat'}, (map) => {}, (errorCode) => { }); map跟errorCode都没有返回值 JGShareSDK中的AppId 没有wb值