FlutterTaoBaoKe / flutter_alibc

flutter版本的阿里百川插件
MIT License
125 stars 47 forks source link

openByUrl无法用H5的方式打开我这个优惠券的页面 #16

Closed qq329401134 closed 4 years ago

qq329401134 commented 4 years ago

我的需求是用H5打开这个优惠券页面,我这个不是淘客的是店铺优惠券,应该不会涉及套件吧。不知道作者能不能指明一下怎么改,真的不太会这个,下面是代码,

第一种配置 安卓打开的webview是空白页没任何显示,IOS,会唤起手淘 image V/AudioManager( 6509): playSoundEffect effectType: 0 V/AudioManager( 6509): querySoundEffectsEnabled... I/System.out( 6509): openType0 I/System.out( 6509): clientType 0 I/alsl ( 6509): class = ALSLSmartLinkSDK === method: tryOpenApp I/alsl ( 6509): debugMsg = 尝试唤端,但是APP未安装,走降级逻辑 I/alsl ( 6509): class = ALSLSmartLinkSDK === method: init I/alsl ( 6509): debugMsg = 关闭智能唤端,走降级逻辑 D/ZrHung.AppEyeUiProbe( 6509): stop checker. W/ActivityThread( 6509): handleWindowVisibility: no activity for token android.os.BinderProxy@eef6561 D/ZrHung.AppEyeUiProbe( 6509): notify runnable to start. V/ActivityThread( 6509): Skipping new config:{1.0 460mcc1mnc [zhCN#Hans] ldltr sw360dp w360dp h755dp 480dpi nrml long hdr port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 2265, 1080) mAppBounds=Rect(0, 75 - 1080, 2340) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:1 s.32}, config:{1.0 460mcc1mnc [zhCN#Hans] ldltr sw360dp w360dp h755dp 480dpi nrml long hdr port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 2265, 1080) mAppBounds=Rect(0, 75 - 1080, 2340) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:1 s.32} for app:xyz.lzjd.laozhongjiadao001 V/ActivityThread( 6509): callActivityOnCreate D/HwCustConnectivityManagerImpl( 6509): isBlockNetworkRequestByNonAis, INVALID_SUBSCRIPTION_ID D/ConnectivityManager( 6509): requestNetwork and the calling app is: xyz.lzjd.laozhongjiadao001 D/HwCustConnectivityManagerImpl( 6509): isBlockNetworkRequestByNonAis, INVALID_SUBSCRIPTION_ID I/HwPhoneWindow( 6509): updateLayoutParamsColor false mSpecialSet=false, mForcedNavigationBarColor=false, navigationBarColor=0, mNavBarShow=false, mIsFloating=false I/HwPhoneWindow( 6509): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=false, mIsFloating=false D/ActivityThread( 6509): add activity client record, r= ActivityRecord{4b68d1 token=android.os.BinderProxy@eef6561 {xyz.lzjd.laozhongjiadao001/com.alibaba.baichuan.android.trade.ui.AlibcWebViewActivity}} token= android.os.BinderProxy@eef6561 D/ZrHung.AppEyeUiProbe( 6509): notify runnable to start. D/OpenGLRenderer( 6509): HWUI Binary is enabled D/OpenGLRenderer( 6509): disableOutlineDraw is true D/HwAppInnerBoostImpl( 6509): asyncReportData xyz.lzjd.laozhongjiadao001,2,1,1,0 interval=189 I/HiTouch_HiTouchSensor( 6509): enabledInPad = false,isPcCastMode = false D/HiTouch_PressGestureDetector( 6509): onAttached, package=xyz.lzjd.laozhongjiadao001, windowType=1, mHiTouchRestricted=false D/mali_winsys( 6509): EGLint new_window_surface(egl_winsys_display , void , EGLSurface, EGLConfig, egl_winsys_surface , EGLBoolean) returns 0x3000 D/OpenGLRenderer( 6509): HWUI Binary is enabled D/OpenGLRenderer( 6509): disableOutlineDraw is true W/InputMethodManager( 6509): startInputReason = 1 I/ViewRootImpl( 6509): jank_removeInvalidNode all the node in jank list is out of time D/HwAppInnerBoostImpl( 6509): asyncReportData xyz.lzjd.laozhongjiadao001,2,1,2,0 interval=457 W/libEGL ( 6509): EGLNativeWindowType 0x70064ac010 disconnect failed I/SurfaceView( 6509): delay destroy surface control W/libEGL ( 6509): EGLNativeWindowType 0x70064ab010 disconnect failed I/SurfaceView( 6509): need destroy surface control D/ViewRootImplMainActivity: surface should not be released D/ZrHung.AppEyeUiProbe( 6509): stop checker. W/libEGL ( 6509): EGLNativeWindowType 0x70064a0010 disconnect failed D/ViewRootImplAlibcWebViewActivity: surface should not be released I/alsl ( 6509): class = ALSLSmartLinkSDK === method: setVisible I/alsl ( 6509): debugMsg = app在后台,拉取数据 I/alsl ( 6509): class = ALSLSmartLinkSDK === method: getSmartLinkSwitch I/alsl ( 6509): debugMsg = 距离上次请求不到五分钟,不拉数据 D/ZrHung.AppEyeUiProbe( 6509): Current Activity:false D/ZrHung.AppEyeUiProbe( 6509): not watching, wait. I/AwareBitmapCacher( 6509): handleReleaseCache: pid=6509 I/AwareBitmapCacher( 6509): init lrucache size: 2097152 pid=6509 第二种配置 安卓会进入webview然后闪退出来,IOS会唤起手淘 image V/AudioManager( 6509): playSoundEffect effectType: 0 V/AudioManager( 6509): querySoundEffectsEnabled... I/System.out( 6509): openType0 I/System.out( 6509): clientType 0 I/alsl ( 6509): class = ALSLSmartLinkSDK === method: tryOpenApp I/alsl ( 6509): debugMsg = 尝试唤端,但是APP未安装,走降级逻辑 I/alsl ( 6509): class = ALSLSmartLinkSDK === method: init I/alsl ( 6509): debugMsg = 关闭智能唤端,走降级逻辑 D/ZrHung.AppEyeUiProbe( 6509): stop checker. W/ActivityThread( 6509): handleWindowVisibility: no activity for token android.os.BinderProxy@3d7e004 D/ZrHung.AppEyeUiProbe( 6509): notify runnable to start. V/ActivityThread( 6509): Skipping new config:{1.0 460mcc1mnc [zhCN#Hans] ldltr sw360dp w360dp h755dp 480dpi nrml long hdr port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 2265, 1080) mAppBounds=Rect(0, 75 - 1080, 2340) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:1 s.32}, config:{1.0 460mcc1mnc [zhCN#Hans] ldltr sw360dp w360dp h755dp 480dpi nrml long hdr port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 2265, 1080) mAppBounds=Rect(0, 75 - 1080, 2340) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:1 s.32} for app:xyz.lzjd.laozhongjiadao001 V/ActivityThread( 6509): callActivityOnCreate D/HwCustConnectivityManagerImpl( 6509): isBlockNetworkRequestByNonAis, INVALID_SUBSCRIPTION_ID D/ConnectivityManager( 6509): requestNetwork and the calling app is: xyz.lzjd.laozhongjiadao001 D/HwCustConnectivityManagerImpl( 6509): isBlockNetworkRequestByNonAis, INVALID_SUBSCRIPTION_ID I/HwPhoneWindow( 6509): updateLayoutParamsColor false mSpecialSet=false, mForcedNavigationBarColor=false, navigationBarColor=0, mNavBarShow=false, mIsFloating=false I/HwPhoneWindow( 6509): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=false, mIsFloating=false D/ActivityThread( 6509): add activity client record, r= ActivityRecord{5615d2 token=android.os.BinderProxy@3d7e004 {xyz.lzjd.laozhongjiadao001/com.alibaba.baichuan.android.trade.ui.AlibcWebViewActivity}} token= android.os.BinderProxy@3d7e004 D/ZrHung.AppEyeUiProbe( 6509): notify runnable to start. D/OpenGLRenderer( 6509): HWUI Binary is enabled D/OpenGLRenderer( 6509): disableOutlineDraw is true D/HwAppInnerBoostImpl( 6509): asyncReportData xyz.lzjd.laozhongjiadao001,2,1,1,0 interval=228 I/HiTouch_HiTouchSensor( 6509): enabledInPad = false,isPcCastMode = false D/HiTouch_PressGestureDetector( 6509): onAttached, package=xyz.lzjd.laozhongjiadao001, windowType=1, mHiTouchRestricted=false D/mali_winsys( 6509): EGLint new_window_surface(egl_winsys_display , void , EGLSurface, EGLConfig, egl_winsys_surface , EGLBoolean) returns 0x3000 I/ViewRootImpl( 6509): jank_removeInvalidNode all the node in jank list is out of time D/OpenGLRenderer( 6509): HWUI Binary is enabled D/OpenGLRenderer( 6509): disableOutlineDraw is true W/InputMethodManager( 6509): startInputReason = 1 I/alsl ( 6509): class = ALSLSmartLinkSDK === method: tryOpenApp I/alsl ( 6509): debugMsg = 尝试唤端,但是APP未安装,走降级逻辑 I/alsl ( 6509): class = ALSLSmartLinkSDK === method: init I/alsl ( 6509): debugMsg = 关闭智能唤端,走降级逻辑 D/HwAppInnerBoostImpl( 6509): asyncReportData xyz.lzjd.laozhongjiadao001,2,1,2,0 interval=516 W/libEGL ( 6509): EGLNativeWindowType 0x6fedc47010 disconnect failed I/SurfaceView( 6509): delay destroy surface control W/libEGL ( 6509): EGLNativeWindowType 0x70064ab010 disconnect failed I/SurfaceView( 6509): need destroy surface control D/ViewRootImplMainActivity: surface should not be released I/chromium( 6509): [INFO:CONSOLE(66)] "A parser-blocking, cross site (i.e. different eTLD+1) script, https://g.alicdn.com/mtb/lib-smartbanner-plus-loader/smartbanner-loader.js?t=15695544, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.", source: https://market.m.taobao.com/apps/aliyx/coupon/detail.html?wh_weex=true&sellerId=2200580251937&activityId=fbcadf7fc75d413b8265e79244fcf8af&ttid=2014_0_26277561@baichuan_android_4.0.0.1&source=alsl (66) D/AuthSDK_login( 6509): auth start D/AuthSDK_login( 6509): time =2019-09-27 11:20:18 654 D/AuthSDK_login( 6509): auth auto login D/AuthSDK_login( 6509): time =2019-09-27 11:20:18 666 W/ozhongjiadao00( 6509): Accessing hidden method Landroid/app/ActivityThread;->currentActivityThread()Landroid/app/ActivityThread; (light greylist, JNI) W/ozhongjiadao00( 6509): Accessing hidden field Landroid/app/ActivityThread$ActivityClientRecord;->paused:Z (light greylist, JNI) W/ozhongjiadao00( 6509): Accessing hidden field Landroid/app/ActivityThread$ActivityClientRecord;->activity:Landroid/app/Activity; (light greylist, JNI) W/ozhongjiadao00( 6509): Accessing hidden field Landroid/app/ActivityThread;->mActivities:Landroid/util/ArrayMap; (light greylist, JNI) D/AuthSDK_login.MTOPWrapperImpl( 6509): receive MtopResponseMtopResponse[ api=com.taobao.mtop.mLoginUnitService.autoLogin,v=1.0,retCode=SUCCESS,retMsg=null,mappingCode=null,mappingCodeSuffix=null,ret=null,data=null,responseCode=200,headerFields={null=[HTTP/1.1 200 OK], s_tid=[0b01b09615695544190268523e18ff], Server=[Tengine/Aserver/3.0.417_20190923145336], x-node=[b1b258809803e2f59128acc3503c128f46cd1e5e5c9e5905f795fff07dfc7f19], s_ip=[544e624b4f50337470684b4b58417756764b534d6141787242493944324a4579337a615a62413d3d], MTOP-x-provider=[26dee18510f99156b6f05520f356c8718a3e1bca2fc2e2e9133a5ba79159b3d5df6114e250bda20cc5c1996564135d6f], X-Android-Received-Millis=[1569554419076], x-bin-length=[2211], s_tag=[1|0^|^^], X-Android-Selected-Protocol=[http/1.1], TBTrack-Id=[du=2114828890], x-aserver-sret=[SUCCESS], X-Android-Sent-Millis=[1569554418873], Content-Type=[application/json;charset=UTF-8], X-Powered-By=[m.taobao.com], Transfer-Encoding=[chunked], x-retcode=[SUCCESS], x-eagleeye-id=[0b01b09615695544190268523e18ff], Connection=[keep-alive], s-rt=[99], Date=[Fri, 27 Sep 2019 03:20:19 GMT], pragma=[no-cache], Cache-Control=[no-cache], X-Android-Response-Source=[NETWORK 200], Vary=[Accept-Encoding]},bytedata={"api":"com.taobao.mtop.mloginunitservice.autologin","data":{"actionType":"OTHER","code":"3000","codeGroup":"other","message":"成功","returnValue":{"data":"{\"autoLoginToken\":\"1_idc_1_90d230cb4841feca72ec6a5c2d73747ce7aab9dee0396671fe85d4a78ba2e8910be7de0bd6df75a8c3b5c4bfb7f4bf5fddd8486a0412dd943f5ef271c87d33b9\",\"expires\":1569640219,\"topExpireTime\":\"7776000\",\"openId\":\"AAEJzhvQAIBKkmSqJEx-jM46\",\"extendAttribute\":{\"ssoDomainList\":[\".tmall.hk\",\".95095.com\",\".tmall.com\",\".liangxinyao.com\"]},\"cookies\":[\"unb=2114828890;Domain=.taobao.com;Path=/;Expires=Fri, 04-Oct-2019 03:20:19 GMT;HttpOnly\",\"munb=2114828890;Domain=.taobao.com;Path=/;Expires=Fri, 04-Oct-2019 03:20:19 GMT;\",\"cookie2=5752d4f10835546778c42cf4b0dc2fa6;Domain=.taobao.com;Path=/;Expires=Fri, 04-Oct-2019 03:20:19 GMT;HttpOnly\",\"t=9dcd1e1a332a8bc0628dad8a7960b565;Domain=.taobao.com;Path=/;Expires=Thu, 26-Dec-2019 03:20:19 GMT;\",\"_tbtoken=5ebbb7fe77788;Domain=.taobao.com;Path=/;Expires=Fri, 04-Oct-2019 03:20:19 GMT;\"],\"sid\":\"5752d4f10835546778c42cf4b0dc2fa6\",\"nick\":\"qq329401134\",\"openSid\":\"c598b8eec8e7575e3a7a7c171a62140a51af95700babda5fc1bf1d092b2a37110e7e69ec181a8b1e9f1c141b751ac87c\",\"loginTime\":1569554419,\"headPicLink\":\"https://wwc.alicdn.com/avatar/getAvatar.do?userIdStrV2=N*uWZVqKrXStQuO6ZCuNkgTT&type=taobao\",\"havanaSsoTokenExpiredTime\":0,\"uidDigest\":\"119330875999efe23603ab95d18b1556\",\"topAccessToken\":\"6300805075b769bcb27d3cabeed09ffa320c717df83d7d92114828890\",\"userId\":2114828890,\"loginServiceExt\":{\"loginType\":\"autoLogin\",\"hasPwd\":\"true\"},\"returnSessionKeys\":\"null\",\"topAuthCode\":\"gTWbN0SteDv6EjeP01Y4CPKE11413046\",\"autoLoginToken_expire_in\":7776000,\"phone\":\"17666004096\",\"loginPhone\":\"17666004096\"}","displayNick":"qq329401134","extMap":{"encryptUserId":"0%40U2uDcGHJGzWzVIRds%2F5j7rheE7U%2B","headPicLink":"https://wwc.alicdn.com/avatar/getAvatar.do?userIdStrV2=N*uWZVqKrXStQuO6ZCuNkgTT&type=taobao","loginType":"autoLogin","hasPwd":"true"},"hid":"2114828890","mobile":"17666004096","showLoginId":"qq329401134","sid":"5752d4f10835546778c42cf4b0dc2fa6","site":"0","taobaoNick":"qq329401134"}},"ret":["SUCCESS::成功"],"v":"1.0"}] D/AuthSDK_login.MTOPWrapperImpl( 6509): time =2019-09-27 11:20:19 093 D/AuthSDK_AbsLoginByCodeTask( 6509): asyncExecute code = 3000 D/AuthSDK_AbsLoginByCodeTask( 6509): time =2019-09-27 11:20:19 098 D/AuthSDK_CookieManagerWrapper( 6509): injectCookie cookies != null D/AuthSDK_CookieManagerWrapper( 6509): time =2019-09-27 11:20:19 103 D/AuthSDK_CookieManagerWrapper( 6509): add cookie: unb=2114828890; Domain=.taobao.com; Expires=Fri, 04-Oct-2019 11:20:19 GMT; Path=/; HttpOnly D/AuthSDK_CookieManagerWrapper( 6509): time =2019-09-27 11:20:19 116 D/AuthSDK_CookieManagerWrapper( 6509): add cookie: munb=2114828890; Domain=.taobao.com; Expires=Fri, 04-Oct-2019 11:20:19 GMT; Path=/ D/AuthSDK_CookieManagerWrapper( 6509): time =2019-09-27 11:20:19 120 D/AuthSDK_CookieManagerWrapper( 6509): add cookie: cookie2=5752d4f10835546778c42cf4b0dc2fa6; Domain=.taobao.com; Expires=Fri, 04-Oct-2019 11:20:19 GMT; Path=/; HttpOnly D/AuthSDK_CookieManagerWrapper( 6509): time =2019-09-27 11:20:19 124 D/AuthSDK_CookieManagerWrapper( 6509): add cookie: t=9dcd1e1a332a8bc0628dad8a7960b565; Domain=.taobao.com; Expires=Thu, 26-Dec-2019 11:20:19 GMT; Path=/ D/AuthSDK_CookieManagerWrapper( 6509): time =2019-09-27 11:20:19 128 D/AuthSDK_CookieManagerWrapper( 6509): add cookie: _tbtoken=5ebbb7fe77788; Domain=.taobao.com; Expires=Fri, 04-Oct-2019 11:20:19 GMT; Path=/ D/AuthSDK_CookieManagerWrapper( 6509): time =2019-09-27 11:20:19 132 D/AuthSDK_CookieManagerWrapper( 6509): add cookies to domain:.tmall.hk, cookie = unb=2114828890; Domain=.tmall.hk; Expires=Fri, 04-Oct-2019 11:20:19 GMT; Path=/; HttpOnly D/AuthSDK_CookieManagerWrapper( 6509): time =2019-09-27 11:20:19 136 D/AuthSDK_CookieManagerWrapper( 6509): add cookies to domain:.95095.com, cookie = unb=2114828890; Domain=.95095.com; Expires=Fri, 04-Oct-2019 11:20:19 GMT; Path=/; HttpOnly D/AuthSDK_CookieManagerWrapper( 6509): time =2019-09-27 11:20:19 139 D/AuthSDK_CookieManagerWrapper( 6509): add cookies to domain:.tmall.com, cookie = unb=2114828890; Domain=.tmall.com; Expires=Fri, 04-Oct-2019 11:20:19 GMT; Path=/; HttpOnly D/AuthSDK_CookieManagerWrapper( 6509): time =2019-09-27 11:20:19 143 D/AuthSDK_CookieManagerWrapper( 6509): add cookies to domain:.liangxinyao.com, cookie = unb=2114828890; Domain=.liangxinyao.com; Expires=Fri, 04-Oct-2019 11:20:19 GMT; Path=/; HttpOnly D/AuthSDK_CookieManagerWrapper( 6509): time =2019-09-27 11:20:19 147 D/AuthSDK_CookieManagerWrapper( 6509): add cookies to domain:.tmall.hk, cookie = munb=2114828890; Domain=.tmall.hk; Expires=Fri, 04-Oct-2019 11:20:19 GMT; Path=/ D/AuthSDK_CookieManagerWrapper( 6509): time =2019-09-27 11:20:19 151 D/AuthSDK_CookieManagerWrapper( 6509): add cookies to domain:.95095.com, cookie = munb=2114828890; Domain=.95095.com; Expires=Fri, 04-Oct-2019 11:20:19 GMT; Path=/ D/AuthSDK_CookieManagerWrapper( 6509): time =2019-09-27 11:20:19 154 D/AuthSDK_CookieManagerWrapper( 6509): add cookies to domain:.tmall.com, cookie = munb=2114828890; Domain=.tmall.com; Expires=Fri, 04-Oct-2019 11:20:19 GMT; Path=/ D/AuthSDK_CookieManagerWrapper( 6509): time =2019-09-27 11:20:19 158 D/AuthSDK_CookieManagerWrapper( 6509): add cookies to domain:.liangxinyao.com, cookie = munb=2114828890; Domain=.liangxinyao.com; Expires=Fri, 04-Oct-2019 11:20:19 GMT; Path=/ D/AuthSDK_CookieManagerWrapper( 6509): time =2019-09-27 11:20:19 161 D/AuthSDK_CookieManagerWrapper( 6509): add cookies to domain:.tmall.hk, cookie = cookie2=5752d4f10835546778c42cf4b0dc2fa6; Domain=.tmall.hk; Expires=Fri, 04-Oct-2019 11:20:19 GMT; Path=/; HttpOnly D/AuthSDK_CookieManagerWrapper( 6509): time =2019-09-27 11:20:19 164 D/AuthSDK_CookieManagerWrapper( 6509): add cookies to domain:.95095.com, cookie = cookie2=5752d4f10835546778c42cf4b0dc2fa6; Domain=.95095.com; Expires=Fri, 04-Oct-2019 11:20:19 GMT; Path=/; HttpOnly D/AuthSDK_CookieManagerWrapper( 6509): time =2019-09-27 11:20:19 168 D/AuthSDK_CookieManagerWrapper( 6509): add cookies to domain:.tmall.com, cookie = cookie2=5752d4f10835546778c42cf4b0dc2fa6; Domain=.tmall.com; Expires=Fri, 04-Oct-2019 11:20:19 GMT; Path=/; HttpOnly D/AuthSDK_CookieManagerWrapper( 6509): time =2019-09-27 11:20:19 172 D/AuthSDK_CookieManagerWrapper( 6509): add cookies to domain:.liangxinyao.com, cookie = cookie2=5752d4f10835546778c42cf4b0dc2fa6; Domain=.liangxinyao.com; Expires=Fri, 04-Oct-2019 11:20:19 GMT; Path=/; HttpOnly D/AuthSDK_CookieManagerWrapper( 6509): time =2019-09-27 11:20:19 176 D/AuthSDK_CookieManagerWrapper( 6509): add cookies to domain:.tmall.hk, cookie = t=9dcd1e1a332a8bc0628dad8a7960b565; Domain=.tmall.hk; Expires=Thu, 26-Dec-2019 11:20:19 GMT; Path=/ D/AuthSDK_CookieManagerWrapper( 6509): time =2019-09-27 11:20:19 179 D/AuthSDK_CookieManagerWrapper( 6509): add cookies to domain:.95095.com, cookie = t=9dcd1e1a332a8bc0628dad8a7960b565; Domain=.95095.com; Expires=Thu, 26-Dec-2019 11:20:19 GMT; Path=/ D/AuthSDK_CookieManagerWrapper( 6509): time =2019-09-27 11:20:19 183 D/AuthSDK_CookieManagerWrapper( 6509): add cookies to domain:.tmall.com, cookie = t=9dcd1e1a332a8bc0628dad8a7960b565; Domain=.tmall.com; Expires=Thu, 26-Dec-2019 11:20:19 GMT; Path=/ D/AuthSDK_CookieManagerWrapper( 6509): time =2019-09-27 11:20:19 187 D/AuthSDK_CookieManagerWrapper( 6509): add cookies to domain:.liangxinyao.com, cookie = t=9dcd1e1a332a8bc0628dad8a7960b565; Domain=.liangxinyao.com; Expires=Thu, 26-Dec-2019 11:20:19 GMT; Path=/ D/AuthSDK_CookieManagerWrapper( 6509): time =2019-09-27 11:20:19 191 D/AuthSDK_CookieManagerWrapper( 6509): add cookies to domain:.tmall.hk, cookie = _tbtoken=5ebbb7fe77788; Domain=.tmall.hk; Expires=Fri, 04-Oct-2019 11:20:19 GMT; Path=/ D/AuthSDK_CookieManagerWrapper( 6509): time =2019-09-27 11:20:19 194 D/AuthSDK_CookieManagerWrapper( 6509): add cookies to domain:.95095.com, cookie = _tbtoken=5ebbb7fe77788; Domain=.95095.com; Expires=Fri, 04-Oct-2019 11:20:19 GMT; Path=/ D/AuthSDK_CookieManagerWrapper( 6509): time =2019-09-27 11:20:19 197 D/AuthSDK_CookieManagerWrapper( 6509): add cookies to domain:.tmall.com, cookie = _tbtoken=5ebbb7fe77788; Domain=.tmall.com; Expires=Fri, 04-Oct-2019 11:20:19 GMT; Path=/ D/AuthSDK_CookieManagerWrapper( 6509): time =2019-09-27 11:20:19 201 D/AuthSDK_CookieManagerWrapper( 6509): add cookies to domain:.liangxinyao.com, cookie = _tbtoken=5ebbb7fe77788; Domain=.liangxinyao.com; Expires=Fri, 04-Oct-2019 11:20:19 GMT; Path=/ D/AuthSDK_CookieManagerWrapper( 6509): time =2019-09-27 11:20:19 208 E/AuthSDK_session( 6509): session = InternalSession [sid=5752d4f10835546778c42cf4b0dc2fa6, expireIn=1569640219, loginTime=1569554419, autoLoginToken=1_idc_1_90d230cb4841feca72ec6a5c2d73747ce7aab9dee0396671fe85d4a78ba2e8910be7de0bd6df75a8c3b5c4bfb7f4bf5fddd8486a0412dd943f5ef271c87d33b9,topAccessToken=6300805075b769bcb27d3cabeed09ffa320c717df83d7d92114828890,topAuthCode=gTWbN0SteDv6EjeP01Y4CPKE11413046,topExpireTime=7776000,ssoToken=null,havanaSsoToken=null, user=User [userId=2114828890, openId=AAEJzhvQAIBKkmSqJEx-jM46, openSid= c598b8eec8e7575e3a7a7c171a62140a51af95700babda5fc1bf1d092b2a37110e7e69ec181a8b1e9f1c141b751ac87c, nick=qq329401134, email=null,cbuloginId=null,memberId=null,deviceTokenKey=null,deviceTokenSalt=null], otherInfo={ssoDomainList=[.tmall.hk, .95095.com, .tmall.com, .liangxinyao.com]}, cookies=null] E/AuthSDK_session( 6509): time =2019-09-27 11:20:19 217 W/AuthSDK_login.LoginStatus( 6509): reset login status W/AuthSDK_login.LoginStatus( 6509): time =2019-09-27 11:20:19 225 D/AuthSDK_login( 6509): auth auto login success D/AuthSDK_login( 6509): time =2019-09-27 11:20:19 233 I/chromium( 6509): [INFO:CONSOLE(66)] "A parser-blocking, cross site (i.e. different eTLD+1) script, https://g.alicdn.com/mtb/lib-smartbanner-plus-loader/smartbanner-loader.js?t=15695544, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.", source: https://market.m.taobao.com/apps/aliyx/coupon/detail.html?wh_weex=true&sellerId=2200580251937&activityId=fbcadf7fc75d413b8265e79244fcf8af&ttid=2014_0_26277561@baichuan_android_4.0.0.1&source=alsl (66) I/chromium( 6509): [INFO:CONSOLE(66)] "A parser-blocking, cross site (i.e. different eTLD+1) script, https://g.alicdn.com/mtb/lib-smartbanner-plus-loader/smartbanner-loader.js?t=15695544, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.", source: https://market.m.taobao.com/apps/aliyx/coupon/detail.html?wh_weex=true&sellerId=2200580251937&activityId=fbcadf7fc75d413b8265e79244fcf8af&ttid=2014_0_26277561@baichuan_android_4.0.0.1&source=alsl (66) D/AuthSDK_login( 6509): auth start D/AuthSDK_login( 6509): time =2019-09-27 11:20:19 493 D/ZrHung.AppEyeUiProbe( 6509): stop checker. D/ZrHung.AppEyeUiProbe( 6509): notify runnable to start. D/mali_winsys( 6509): EGLint new_window_surface(egl_winsys_display , void , EGLSurface, EGLConfig, egl_winsys_surface , EGLBoolean) returns 0x3000 D/mali_winsys( 6509): EGLint new_window_surface(egl_winsys_display , void , EGLSurface, EGLConfig, egl_winsys_surface , EGLBoolean) returns 0x3000 I/chromium( 6509): [INFO:CONSOLE(1)] "The deviceorientation events are blocked by feature policy. See https://github.com/WICG/feature-policy/blob/master/features.md#sensor-features", source: https://g.alicdn.com/secdev/sufei_data/3.4.1/index.js (1) W/InputMethodManager( 6509): startInputReason = 1 E/chromium( 6509): [ERROR:socket_manager.cc(125)] Failed to resolve address for x., errorcode: -105 E/chromium( 6509): [ERROR:socket_manager.cc(125)] Failed to resolve address for x., errorcode: -105 W/libEGL ( 6509): EGLNativeWindowType 0x6feea6f010 disconnect failed D/ViewRootImplAlibcWebViewActivity: surface should not be released D/ActivityThread( 6509): Remove activity client record, r= ActivityRecord{5615d2 token=android.os.BinderProxy@3d7e004 {xyz.lzjd.laozhongjiadao001/com.alibaba.baichuan.android.trade.ui.AlibcWebViewActivity}} token= android.os.BinderProxy@3d7e004

XingXiaoWu commented 4 years ago

看不懂你这一堆是什么

karedem commented 4 years ago

openByUrl接口增加参数 nativeFailMode: AlibcNativeFailMode.AlibcNativeFailModeJumpH5, schemeType: AlibcSchemeType.AlibcSchemeTaoBao

karedem commented 4 years ago

第一个参数 : 唤起Native APP失败后用H5打开 第二个参数 : 指定打开淘宝APP 如有疑问请再次打开iss

qq329401134 commented 4 years ago

第一个参数 : 唤起Native APP失败后用H5打开 第二个参数 : 指定打开淘宝APP 如有疑问请再次打开iss

唤起淘宝打开是可以,但是我想强制的用H5打开,特别是IOS不论怎么设置,每次都是会唤起淘宝

XingXiaoWu commented 4 years ago

可以做,但暂时不做,因为会增加业务复杂度,需要给自定义webview,还要考虑flutter能给webview做配置,太麻烦了,且iOS废弃UIWebview,百川还是UIwebview参数,暂时不想做。 如有需要可以自己做,修改原生即可,思路如下。 1.设置isneedpush(ios独占)为true,自定义webview 2.判断openUrl那个接口调用的百川方法,返回值是否为1 3.push新的webview 4.照常返回预期,抛给flutter

qq329401134 commented 4 years ago

可以做,但暂时不做,因为会增加业务复杂度,需要给自定义webview,还要考虑flutter能给webview做配置,太麻烦了,且iOS废弃UIWebview,百川还是UIwebview参数,暂时不想做。 如有需要可以自己做,修改原生即可,思路如下。 1.设置isneedpush(ios独占)为true,自定义webview 2.判断openUrl那个接口调用的百川方法,返回值是否为1 3.push新的webview 4.照常返回预期,抛给flutter

不太懂IOS开发,没接触过,我这个应该和#7的需求一样吧

XingXiaoWu commented 4 years ago

理论上是一样,不过我不了解百川的业务,无法测试

qq329401134 commented 4 years ago

理论上是一样,不过我不了解百川的业务,无法测试

嗯嗯 我看了他的应该一样,只不过它需要拦截一些参数,我是直接用H5的打开就行

XingXiaoWu commented 4 years ago

所以我就不太想做,想等阿里支持wk再放

XingXiaoWu commented 4 years ago

实在想不通为啥会强制拉h5,什么场景能有这个需求。。。

qq329401134 commented 4 years ago

实在想不通为啥会强制拉h5,什么场景能有这个需求。。。

我的优惠券不想要别人转发,所以要自定义一个H5,可以免登录领取但是然后禁止分享,这样。

XingXiaoWu commented 4 years ago

你开个新iss把