fluttertaobaoke / flutter_alibc Goto Github PK
View Code? Open in Web Editor NEWflutter版本的阿里百川插件
License: MIT License
flutter版本的阿里百川插件
License: MIT License
在你们的demo ios端测试 发现如果没有安装手淘,会直接跳转的手淘下载页面 ,不可以正常在h5打开页面 参数已经传了
场景:优惠券不想要别人转发,所以想要自定义webView界面,可以免登录领取但是禁止分享页面
项目工程已经按照阿里百川的官方文档设置了,但是在调用初始化的时候会出错,我也对比过我项目跟example里面的区别,基本是一样的
try {
// var waite3s = await FlutterAlibc.openItemDetail(itemID: "12345");
var result = await FlutterAlibc.initAlibc();
print(result);
} on Exception {}
错误信息:
2019-09-24 16:44:24.518494+0800 Runner[86591:723092] flutter: Observatory listening on http://127.0.0.1:61585/orcrsEwozhE=/
2019-09-24 16:44:25.291545+0800 Runner[86591:722486] [ALi]20190924[debug]-+[AlibcMtopBridge initialize]-AlibcMtopAdapter 实例获取失败
2019-09-24 16:44:25.292726+0800 Runner[86591:722486] [ALi]20190924[info]-+[AlibcTradeCommonSDK setEnv:]-2d
2019-09-24 16:44:25.293574+0800 Runner[86591:722486] [ALi]20190924[debug]-+[AlibcSecurityGuardBridge initialize]-AlibcSecurityAdapter 实例获取失败
2019-09-24 16:44:25.293907+0800 Runner[86591:722486] [ALi]20190924[info]--[AlibcTradeSDK asyncInitWithSuccess:failure:]-
2019-09-24 16:44:25.294537+0800 Runner[86591:723063] +[AlibcTradeCommonSDK alibc_initMonitor]: unrecognized selector sent to class 0x10327e0b8
2019-09-24 16:44:25.301192+0800 Runner[86591:723063] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[AlibcTradeCommonSDK alibc_initMonitor]: unrecognized selector sent to class 0x10327e0b8'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff23b98bde __exceptionPreprocess + 350
1 libobjc.A.dylib 0x00007fff503b5b20 objc_exception_throw + 48
2 CoreFoundation 0x00007fff23bb9604 +[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x00007fff23b9d7bc ___forwarding___ + 1436
4 CoreFoundation 0x00007fff23b9f6c8 _CF_forwarding_prep_0 + 120
5 flutter_alibc 0x0000000103181af9 +[AlibcTradeCommonSDK asyncInitWithSuccess:failure:] + 68
6 flutter_alibc 0x000000010319b681 +[AlibcTradeBizSDK asyncInitWithSuccess:failure:] + 199
7 flutter_alibc 0x00000001031a0879 __46-[AlibcTradeSDK asyncInitWithSuccess:failure:]_block_invoke.21 + 181
8 libdispatch.dylib 0x0000000103da7df0 _dispatch_call_block_and_release + 12
9 libdispatch.dylib 0x0000000103da8d64 _dispatch_client_callout + 8
10 libdispatch.dylib 0x0000000103dab20b _dispatch_queue_override_invoke + 1022
11 libdispatch.dylib 0x0000000103dba29a _dispatch_root_queue_drain + 351
12 libdispatch.dylib 0x0000000103dbaba4 _dispatch_worker_thread2 + 132
13 libsystem_pthread.dylib 0x00007fff5141c6b3 _pthread_wqthread + 583
14 libsystem_pthread.dylib 0x00007fff5141c3fd start_wqthread + 13
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(
0 CoreFoundation 0x000000010eaa66fb __exceptionPreprocess + 331
1 libobjc.A.dylib 0x000000011426dac5 objc_exception_throw + 48
2 CoreFoundation 0x000000010eac49b4 +[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x000000010eaab443 forwarding + 1443
4 CoreFoundation 0x000000010eaad238 _CF_forwarding_prep_0 + 120
5 flutter_alibc 0x0000000113cbbf1f +[AlibcTradeCommonSDK asyncInitWithSuccess:failure:] + 68
6 flutter_alibc 0x0000000113cd86c9 +[AlibcTradeBizSDK asyncInitWithSuccess:failure:] + 199
7 flutter_alibc 0x0000000113cdd92f __46-[AlibcTradeSDK asyncInitWithSuccess:failure:]_bloc<…>
2019-11-16 18:27:36.955017+0800 Runner[4309:849965] [ALi]20191116[debug]--[AlibcConfigService loadLocalConfig]-LocalConfig write Success
2019-11-16 18:27:36.956611+0800 Runner[4309:849965] [ALi]20191116[debug]--[AlibcConfigService loadLocalESConfig]-LocalESConfig write Success
2019-11-16 18:27:36.960525+0800 Runner[4309:849965] [ALi]20191116[debug]-+[AlibcMtopBridge initialize]-AlibcMtopAdapter 实例获取失败
2019-11-16 18:27:36.960660+0800 Runner[4309:849965] [ALi]20191116[info]-+[AlibcTradeCommonSDK setEnv:]-2d
2019-11-16 18:27:36.963078+0800 Runner[4309:849965] [ALi]20191116[debug]-+[AlibcSecurityGuardBridge initialize]-AlibcSecurityAdapter 实例获取失败
2019-11-16 18:27:36.963234+0800 Runner[4309:849965] [ALi]20191116[info]--[AlibcTradeSDK asyncInitWithSuccess:failure:]-
2019-11-16 18:27:36.963401+0800 Runner[4309:850154] +[AlibcTradeCommonSDK alibc_initMonitor]: unrecognized selector sent to class 0x10656ddd8
2019-11-16 18:27:36.964381+0800 Runner[4309:850154] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[AlibcTradeCommonSDK alibc_initMonitor]: unrecognized selector sent to class 0x10656ddd8'
*** First throw call stack:
(0x1a5d2498c 0x1a5a4d0a4 0x1a5c2ccc8 0x1a5d28e08 0x1a5d2abec 0x10646fc40 0x10648961c 0x10648e94c 0x106735828 0x106736c04 0x106739300 0x106748168 0x106748a90 0x1a5a41f64 0x1a5a44ae0)
libc++abi.dylib: terminating with uncaught exception of type NSException
收到Apple will stop accepting submissions of apps that use UIWebView APIs . See https://developer.apple.com/documentation/uikit/uiwebview for more information.
这是IOS返回的通知,希望现在可以先屏蔽一下UIWebView
Installing AlipaySDK-iOS (15.5.9)
Installing Bugly (2.5.0)
Installing FMDB (2.7.5)
Installing Flutter (1.0.0)
Installing MTBBarcodeScanner (5.0.11)
Installing Reachability (3.2)
Installing tobias (0.0.1)
[!] The 'Pods-Runner' target has frameworks with conflicting names: alipaysdk.framework.
这是日志
不知道怎么上传gif
V/AudioManager(10695): playSoundEffect effectType: 0
V/AudioManager(10695): querySoundEffectsEnabled...
I/alsl (10695): class = ALSLSmartLinkSDK === method: tryOpenApp
I/alsl (10695): debugMsg = 尝试唤端,但是APP未安装,走降级逻辑
I/alsl (10695): class = ALSLSmartLinkSDK === method: init
I/alsl (10695): debugMsg = 关闭智能唤端,走降级逻辑
D/ZrHung.AppEyeUiProbe(10695): stop checker.
W/ActivityThread(10695): handleWindowVisibility: no activity for token android.os.BinderProxy@17b8005
D/ZrHung.AppEyeUiProbe(10695): notify runnable to start.
V/ActivityThread(10695): Skipping new config:{1.0 460mcc1mnc [zh_CN_#Hans] ldltr sw360dp w360dp h755dp 480dpi nrml long hdr port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=Rect(0, 75 - 1080, 2340) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:1 s.8}, config:{1.0 460mcc1mnc [zh_CN_#Hans] ldltr sw360dp w360dp h755dp 480dpi nrml long hdr port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=Rect(0, 75 - 1080, 2340) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:1 s.8} for app:wxwx.com.flutter_alibc_example
V/ActivityThread(10695): callActivityOnCreate
I/HwPhoneWindow(10695): updateLayoutParamsColor false mSpecialSet=false, mForcedNavigationBarColor=false, navigationBarColor=0, mNavBarShow=false, mIsFloating=false
I/HwPhoneWindow(10695): updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=false, mIsFloating=false
D/ActivityThread(10695): add activity client record, r= ActivityRecord{33c6c0a token=android.os.BinderProxy@17b8005 {wxwx.com.flutter_alibc_example/com.alibaba.baichuan.android.trade.ui.AlibcWebViewActivity}} token= android.os.BinderProxy@17b8005
D/ZrHung.AppEyeUiProbe(10695): notify runnable to start.
D/OpenGLRenderer(10695): HWUI Binary is enabled
D/OpenGLRenderer(10695): disableOutlineDraw is true
D/HwAppInnerBoostImpl(10695): asyncReportData wxwx.com.flutter_alibc_example,2,1,1,0 interval=167
I/HiTouch_HiTouchSensor(10695): enabledInPad = false,isPcCastMode = false
D/HiTouch_PressGestureDetector(10695): onAttached, package=wxwx.com.flutter_alibc_example, windowType=1, mHiTouchRestricted=false
D/mali_winsys(10695): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/OpenGLRenderer(10695): HWUI Binary is enabled
D/OpenGLRenderer(10695): disableOutlineDraw is true
W/InputMethodManager(10695): startInputReason = 1
D/HwAppInnerBoostImpl(10695): asyncReportData wxwx.com.flutter_alibc_example,2,1,2,0 interval=427
W/libEGL (10695): EGLNativeWindowType 0x6fef560010 disconnect failed
I/SurfaceView(10695): delay destroy surface control
W/libEGL (10695): EGLNativeWindowType 0x6fc45ab010 disconnect failed
I/SurfaceView(10695): need destroy surface control
D/ViewRootImplMainActivity: surface should not be released
2019-09-26 14:52:54.947494+0800 Runner[7281:1658569] [ALi]20190926[debug]--[AlibcConfigService loadLocalConfig]-LocalConfig write Success
2019-09-26 14:52:54.953222+0800 Runner[7281:1658569] [ALi]20190926[debug]--[AlibcConfigService loadLocalESConfig]-LocalESConfig write Success
2019-09-26 14:52:54.953475+0800 Runner[7281:1658569] [ALi]20190926[debug]-+[AlibcMtopBridge initialize]-AlibcMtopAdapter 实例获取失败
2019-09-26 14:52:54.953513+0800 Runner[7281:1658569] [ALi]20190926[info]-+[AlibcTradeCommonSDK setEnv:]-2d
2019-09-26 14:52:54.955129+0800 Runner[7281:1658569] [ALi]20190926[debug]-+[AlibcSecurityGuardBridge initialize]-AlibcSecurityAdapter 实例获取失败
2019-09-26 14:52:54.955206+0800 Runner[7281:1658569] [ALi]20190926[info]--[AlibcTradeSDK asyncInitWithSuccess:failure:]-
2019-09-26 14:52:54.955548+0800 Runner[7281:1658654] +[AlibcTradeCommonSDK alibc_initMonitor]: unrecognized selector sent to class 0x102bd8e00
点击打开店铺和打开购物车打开的是空白页
我试着swift 换到oc 也是出现 问题 。
2020-01-07 11:25:42.367731+0800 Runner[7274:2585837] [ALi]20200107[info]--[AlibcTradeSDK asyncInitWithSuccess:failure:]- 2020-01-07 11:25:42.367827+0800 Runner[7274:2586043] +[AlibcTradeCommonSDK alibc_initMonitor]: unrecognized selector sent to class 0x106e95dc0 2020-01-07 11:25:42.368125+0800 Runner[7274:2586043] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[AlibcTradeCommonSDK alibc_initMonitor]: unrecognized selector sent to class 0x106e95dc0' *** First throw call stack: (0x191f9aa48 0x191cc1fa4 0x191ea2e34 0x191f9eaf4 0x191fa0a7c 0x106d9681c 0x106db0efc 0x106db63a4 0x1070497fc 0x10704abd8 0x10704d2d4 0x10705c160 0x10705ca88 0x191cb6b48 0x191cb9760) libc++abi.dylib: terminating with uncaught exception of type NSException
官网的都配置了。可能还有什么问题吗?
提交app到苹果 app store时遇到 如下问题:
ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs . See https://developer.apple.com/documentation/uikit/uiwebview for more information.
我搜索了下源码,发现AliTrade中含有对UIWebView的调用
今天终于能上了,原因未知,以后能不能上,未知。
这两天又看了下,之前的邮件里有参数是我弄错了,没注意看文档,直接把淘客参数写在了错误的地方。
但有现在我的代码如下(main.dart):
FlatButton(
child: Text("唤起淘宝,openItemDetail方式"),
onPressed: () async {
var result = await FlutterAlibc.openItemDetail(
itemID: "590722918397",
schemeType: AlibcSchemeType.AlibcSchemeTaoBao,
isNeedCustomNativeFailMode: true,
//淘客参数在应该在这里写
taokeParams: TaokeParams(
adzoneId: "xxxxx",
pid: "mm_aa_bb_xxxxx",
extParams: {"taokeAppkey":cccc}
),
nativeFailMode:
AlibcNativeFailMode.AlibcNativeFailModeJumpH5);
print(result);
},
),
同样的参数在官方提供的demo可以打开优惠券页面。请各位亲帮我看看是哪里出了什么纰漏,itemID有可能会过期,测试的时候请替换成一个有优惠券的itemID.
flutter_alibc/example/lib/main.dart
Line 93 in 7875efe
openByUrl方法调用后没有小把手,你们的框架里是不是漏了AlibcShowParams 这个参数?,以下是我的调用代码
文档中是需要这样设置back url
showParams.setBackUrl(BACK_URL);
FlutterAlibc.openByUrl( url:link, //必须参数 openType : AlibcOpenType.AlibcOpenTypeAuto, isNeedCustomNativeFailMode : true, nativeFailMode : AlibcNativeFailMode.AlibcNativeFailModeNone, taokeParams: taoKeParams, backUrl:backUrl, )
项目工程已经按照阿里百川的官方文档设置了,但是在调用初始化的时候会出错,我也对比过我项目跟example里面的区别,基本是一样的
try {
// var waite3s = await FlutterAlibc.openItemDetail(itemID: "12345");
var result = await FlutterAlibc.initAlibc();
print(result);
} on Exception {}
错误信息:
2019-09-24 16:44:25.301192+0800 Runner[86591:723063] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[AlibcTradeCommonSDK alibc_initMonitor]: unrecognized selector sent to class 0x10327e0b8'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff23b98bde __exceptionPreprocess + 350
1 libobjc.A.dylib 0x00007fff503b5b20 objc_exception_throw + 48
2 CoreFoundation 0x00007fff23bb9604 +[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x00007fff23b9d7bc ___forwarding___ + 1436
4 CoreFoundation 0x00007fff23b9f6c8 _CF_forwarding_prep_0 + 120
5 flutter_alibc 0x0000000103181af9 +[AlibcTradeCommonSDK asyncInitWithSuccess:failure:] + 68
6 flutter_alibc 0x000000010319b681 +[AlibcTradeBizSDK asyncInitWithSuccess:failure:] + 199
7 flutter_alibc 0x00000001031a0879 __46-[AlibcTradeSDK asyncInitWithSuccess:failure:]_block_invoke.21 + 181
8 libdispatch.dylib 0x0000000103da7df0 _dispatch_call_block_and_release + 12
9 libdispatch.dylib 0x0000000103da8d64 _dispatch_client_callout + 8
10 libdispatch.dylib 0x0000000103dab20b _dispatch_queue_override_invoke + 1022
11 libdispatch.dylib 0x0000000103dba29a _dispatch_root_queue_drain + 351
12 libdispatch.dylib 0x0000000103dbaba4 _dispatch_worker_thread2 + 132
13 libsystem_pthread.dylib 0x00007fff5141c6b3 _pthread_wqthread + 583
14 libsystem_pthread.dylib 0x00007fff5141c3fd start_wqthread + 13
)
libc++abi.dylib: terminating with uncaught exception of type NSException
1、阿里百川iOS sdk,2020-03-24 版本号:4.0.1.0:
修复内容:UIwebview替换为WKwebview;
2、flutter_alibc为0.0.13,对应的ios V4.0.1.0 版本;
按理说插件不包含UIWebView。但是我全局查找api(grep -r UIWebView .)
Binary file ./ios/.symlinks/plugins/flutter_alibc/ios/AliBaichuan/Frameworks/mtopext.framework/mtopext matches
Binary file ./ios/.symlinks/plugins/flutter_alibc/ios/AliBaichuan/Frameworks/AlibabaAuthSDK.framework/AlibabaAuthSDK matches
./ios/.symlinks/plugins/flutter_alibc/ios/AliBaichuan/Frameworks/AlibcTradeBiz.framework/Headers/AlibcURLBusContext.h:/**** 辅助函数,方便后续修改UIWebView到UIWebViewProxy的情况. ***/
Binary file ./ios/.symlinks/plugins/flutter_alibc/ios/AliBaichuan/Frameworks/WindVaneBasic.framework/WindVaneBasic matches
./ios/.symlinks/plugins/flutter_alibc/ios/AliBaichuan/Frameworks/WindVaneBasic.framework/Headers/WVViewController.h: 如果创建了 UIWebView,此属性不生效。
./ios/.symlinks/plugins/flutter_alibc/ios/AliBaichuan/Frameworks/WindVaneBasic.framework/Headers/WVViewController.h:@Property (nonatomic, copy, nullable) BOOL (^shouldStartLoadAction)(UIView * _Nonnull, NSURLRequest * _Nonnull, UIWebViewNavigationType);
./ios/.symlinks/plugins/flutter_alibc/ios/AliBaichuan/Frameworks/WindVaneBasic.framework/Headers/WVViewController.h:- (BOOL)webView:(UIView * _Nonnull)webView shouldStartLoadWithRequest:(NSURLRequest * _Nonnull)request navigationType:(UIWebViewNavigationType)navigationType;
./ios/.symlinks/plugins/flutter_alibc/ios/AliBaichuan/Frameworks/WindVaneBasic.framework/Headers/WVWebViewController.h:#import "WVUIWebViewController.h"
./ios/.symlinks/plugins/flutter_alibc/ios/AliBaichuan/Frameworks/WindVaneBasic.framework/Headers/WVWebViewController.h: * 请直接使用 WVUIWebViewController,这个类并不包含任何逻辑。
./ios/.symlinks/plugins/flutter_alibc/ios/AliBaichuan/Frameworks/WindVaneBasic.framework/Headers/WVWebViewController.h:@interface WVWebViewController : WVUIWebViewController
./ios/.symlinks/plugins/flutter_alibc/ios/AliBaichuan/Frameworks/WindVaneBasic.framework/Headers/WVViewControllerProtocol.h:@Property (nonatomic, copy, nullable) BOOL (^shouldStartLoadAction)(UIView * _Nonnull, NSURLRequest * _Nonnull, UIWebViewNavigationType);
./ios/.symlinks/plugins/flutter_alibc/ios/AliBaichuan/Frameworks/WindVaneBasic.framework/Headers/WVUIWebViewController+CustomizeUI.h:// WVUIWebViewController+CustomizeUI.h
./ios/.symlinks/plugins/flutter_alibc/ios/AliBaichuan/Frameworks/WindVaneBasic.framework/Headers/WVUIWebViewController+CustomizeUI.h:#import "WVUIWebViewController.h"
./ios/.symlinks/plugins/flutter_alibc/ios/AliBaichuan/Frameworks/WindVaneBasic.framework/Headers/WVUIWebViewController+CustomizeUI.h:@interface WVUIWebViewController (CustomizeUI)
./ios/.symlinks/plugins/flutter_alibc/ios/AliBaichuan/Frameworks/WindVaneBasic.framework/Headers/WVWebView.h:@interface WVWebView : UIWebView
./ios/.symlinks/plugins/flutter_alibc/ios/AliBaichuan/Frameworks/WindVaneBasic.framework/Headers/WVUIWebViewController.h: * WVUIWebViewController.h
./ios/.symlinks/plugins/flutter_alibc/ios/AliBaichuan/Frameworks/WindVaneBasic.framework/Headers/WVUIWebViewController.h:#pragma mark - WVUIWebViewController
./ios/.symlinks/plugins/flutter_alibc/ios/AliBaichuan/Frameworks/WindVaneBasic.framework/Headers/WVUIWebViewController.h:@interface WVUIWebViewController : WVRuleWebViewController
./ios/.symlinks/plugins/flutter_alibc/ios/AliBaichuan/Frameworks/WindVaneBasic.framework/Headers/WindVaneBasic.h:#import "WVUIWebViewController+CustomizeUI.h"
./ios/.symlinks/plugins/flutter_alibc/ios/AliBaichuan/Frameworks/WindVaneBasic.framework/Headers/WindVaneBasic.h:#import "WVUIWebViewController.h"
./ios/.symlinks/plugins/flutter_alibc/ios/AliBaichuan/Frameworks/UTMini.framework/Headers/UTTracker.h://#import <UIKit/UIWebView.h>
Binary file ./ios/.symlinks/plugins/flutter_alibc/ios/AliBaichuan/Frameworks/SGMiddleTier.framework/SGMiddleTier matches
Binary file ./ios/.symlinks/plugins/flutter_alibc/ios/AliBaichuan/Frameworks/WindVaneCore.framework/WindVaneCore matches
./ios/.symlinks/plugins/flutter_alibc/ios/AliBaichuan/Frameworks/WindVaneCore.framework/PrivateHeaders/WVCachedKey.h:// 获取 UIWebView 的内部 WebView
./ios/.symlinks/plugins/flutter_alibc/ios/AliBaichuan/Frameworks/WindVaneCore.framework/PrivateHeaders/WVCachedKey.h:// UIWebViewWebViewDelegate 类
./ios/.symlinks/plugins/flutter_alibc/ios/AliBaichuan/Frameworks/WindVaneCore.framework/PrivateHeaders/WVCommonWebView.h:@interface WVCommonWebView : NSObject <UIWebViewDelegate, WKNavigationDelegate>
./ios/.symlinks/plugins/flutter_alibc/ios/AliBaichuan/Frameworks/WindVaneCore.framework/PrivateHeaders/WVCommonWebView.h:- (BOOL)webView:(UIView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType;
./ios/.symlinks/plugins/flutter_alibc/ios/AliBaichuan/Frameworks/WindVaneCore.framework/Headers/WVWebViewCategory.h:#pragma mark - UIWebViewCategory
./ios/.symlinks/plugins/flutter_alibc/ios/AliBaichuan/Frameworks/WindVaneCore.framework/Headers/WVWebViewCategory.h:@interface UIWebView (WVUIWebViewCategory)
./ios/.symlinks/plugins/flutter_alibc/ios/AliBaichuan/Frameworks/WindVaneCore.framework/Headers/WVWKWebView.h: * WKWebView 默认的 navigationDelegate 与 UIWebView 无法兼容,因此请使用 windVaneDelegate。
./ios/.symlinks/plugins/flutter_alibc/ios/AliBaichuan/Frameworks/WindVaneCore.framework/Headers/WVNavigation.h:@Property (nonatomic, assign, readonly) UIWebViewNavigationType navigationType;
./ios/.symlinks/plugins/flutter_alibc/ios/AliBaichuan/Frameworks/WindVaneCore.framework/Headers/WVWebViewDelegate.h:- (BOOL)webView:(UIView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType;
Binary file ./ios/.symlinks/plugins/flutter_alibc/ios/AliBaichuan/Frameworks/AlipaySDK.framework/AlipaySDK matches
Binary file ./build/ios/Debug-iphonesimulator/Runner.app/Runner matches
Binary file ./build/ios/iphonesimulator/Runner.app/Runner matches
新生成的项目集成flutter_alibc这个能够登陆淘宝都是ok的,然后,添加了依赖,乱七八糟的插件装一装,添加了一些本地依赖,然后就出现了 “安全初始化失败”,然后我将依赖什么的都去掉,还原成开始的时候的样子,还是会出现这个问题,安全初始化失败
IOS端初始化成功,返回初始化code:0,但是调起淘宝登录授权,确认授权后,返回错误码:1003,返回错误信息:The operation couldn’t be completed. (AlibabaAuthSDK error 1003.),别的打开商品那些均正常,请问我是哪里出了问题呢?
Automatically assigning platform ios
with version 8.0
on target Runner
because no platform was specified. Please specify a platform for this target in your Podfile. See https://guides.cocoapods.org/syntax/podfile.html#platform
.
比如,加载一个http://www.baidu.com/xxxx.apsx页面里面有个“确定关闭”按钮, 点击后关闭当前webeiew
使用的版本:0.0.7
问题描述:
项目当前用到其它的插件,然后是用swfit写的,必须要在Podfile
文件加上use_frameworks!
然后接入这个插件后,无法初始化,当去掉文件POdfile
中的use_frameworks!
正常运行,但其它插件不可用了。
4.0.0.8 看到 AlibcTradeShowParams 增加了 degradeUrl 支持自定义降级 h5 了,辛苦各位大佬添加一下 openByUrl 的 degradeUrl 参数,用在没有安装淘宝、天猫客户端时打开的 webview 链接。
第一种配置 安卓打开的webview是空白页没任何显示,IOS,会唤起手淘
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 [zh_CN_#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 [zh_CN_#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会唤起手淘
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 [zh_CN_#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 [zh_CN_#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;","tb_token=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=NuWZVqKrXStQuO6ZCuNkgTT&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=NuWZVqKrXStQuO6ZCuNkgTT&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: tb_token=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 = tb_token=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 = tb_token=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 = tb_token=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 = tb_token=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
java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context android.content.Context.getApplicationContext()' on a null object reference
[com.alibaba.baichuan.trade.common.adapter.security.c.a:70] AlibcSecurity init
ErrorCode = 123
com.alibaba.wireless.security.open.SecException:
at com.taobao.wireless.security.adapter.JNICLibrary.doCommandNative(Native Method)
at com.alibaba.wireless.security.mainplugin.a.doCommand(Unknown Source:0)
at com.alibaba.wireless.security.mainplugin.SecurityGuardMainPlugin.onPluginLoaded(Unknown Source:147)
at com.alibaba.wireless.security.framework.d.a(Unknown Source:1230)
at com.alibaba.wireless.security.framework.d.d(Unknown Source:50)
at com.alibaba.wireless.security.framework.d.getPluginInfo(Unknown Source:3)
at com.alibaba.wireless.security.open.initialize.b.a(Unknown Source:29)
at com.alibaba.wireless.security.open.initialize.a.loadLibrarySync(Unknown Source:5)
at com.alibaba.wireless.security.open.initialize.a.initialize(Unknown Source:0)
at com.alibaba.baichuan.trade.common.adapter.security.c.a(Unknown Source:15)
at com.alibaba.baichuan.trade.common.adapter.security.AlibcSecurityGuard.init(Unknown Source:54)
at com.alibaba.baichuan.trade.common.AlibcTradeCommon.init(Unknown Source:31)
at com.alibaba.baichuan.trade.biz.AlibcTradeBiz.init(Unknown Source:15)
at com.alibaba.baichuan.android.trade.AlibcTradeSDK.b(Unknown Source:3)
at com.alibaba.baichuan.android.trade.AlibcTradeSDK.a(Unknown Source:0)
at com.alibaba.baichuan.android.trade.AlibcTradeSDK$1.run(Unknown Source:4)
at android.os.Handler.handleCallback(Handler.java:907)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:216)
at android.os.HandlerThread.run(HandlerThread.java:65)
添加的安全图片,还是出这个错误,谁知道是啥问题么
今天把 xcode升级到了11.1,问题就出现了。
在安卓9.0跳转手淘授权,无法获取授权信息,登录回调永远只会返回10004 用户取消登录,确认登录也不行
demo的debug包可以正常使用,但是release也是初始化失败
使用场景:
套件场景: 淘宝联盟
套件ID: 3
套件描述: 淘宝客基础页面包
这样我们就可以根据页面拦截了
下面是报错信息
`
V/AudioManager(16986): playSoundEffect effectType: 0
V/AudioManager(16986): querySoundEffectsEnabled...
W/com.furun.klhd(16986): type=1400 audit(0.0:77999): avc: granted { create } for comm=53444B204C6F6F7065722054687265 name="Alvin2.xml" scontext=u:r:untrusted_app:s0:c27,c257,c512,c768 tcontext=u:object_r:sdcardfs:s0:c27,c257,c512,c768 tclass=file
W/com.furun.klhd(16986): type=1400 audit(0.0:78000): avc: granted { create } for comm=53444B204C6F6F7065722054687265 name="ContextData.xml" scontext=u:r:untrusted_app:s0:c27,c257,c512,c768 tcontext=u:object_r:sdcardfs:s0:c27,c257,c512,c768 tclass=file
W/AppMonitor(16986): load ut_c_api.so failed
E/AuthSDK_init(16986): timeStamp=1577946102000
E/AuthSDK_init(16986): time =2020-01-02 14:36:39 936
D/AuthSDK_init(16986): sdk version = 2.0.0
D/AuthSDK_init(16986): time =2020-01-02 14:36:39 938
E/AuthSDK_DeviceInfo(16986): utdid = XVOgIPBmNaMDAGDio9a8FUDn
E/AuthSDK_DeviceInfo(16986): time =2020-01-02 14:36:39 940
D/AuthSDK_init(16986): registerRpc
D/AuthSDK_init(16986): time =2020-01-02 14:36:39 942
E/AndroidRuntime(16986): FATAL EXCEPTION: SDK Looper Thread
E/AndroidRuntime(16986): Process: com.furun.klhd, PID: 16986
E/AndroidRuntime(16986): java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/app/ActivityCompat;
E/AndroidRuntime(16986): at com.alibaba.alibclinkpartner.smartlink.util.a.a(Unknown Source:16)
E/AndroidRuntime(16986): at com.alibaba.alibclinkpartner.smartlink.config.ALSLContext.initContext(Unknown Source:18)
E/AndroidRuntime(16986): at com.alibaba.alibclinkpartner.smartlink.ALSLSmartLinkSDK.init(Unknown Source:36)
E/AndroidRuntime(16986): at com.alibaba.alibclinkpartner.linkpartner.b.init(Unknown Source:3)
E/AndroidRuntime(16986): at com.alibaba.baichuan.trade.biz.applink.adapter.AlibcApplink.init(Unknown Source:35)
E/AndroidRuntime(16986): at com.alibaba.baichuan.trade.biz.AlibcMiniTradeBiz.init(Unknown Source:69)
E/AndroidRuntime(16986): at com.alibaba.baichuan.trade.biz.AlibcTradeBiz.init(Unknown Source:29)
E/AndroidRuntime(16986): at com.alibaba.baichuan.android.trade.AlibcTradeSDK.b(Unknown Source:3)
E/AndroidRuntime(16986): at com.alibaba.baichuan.android.trade.AlibcTradeSDK.a(Unknown Source:0)
E/AndroidRuntime(16986): at com.alibaba.baichuan.android.trade.AlibcTradeSDK$1.run(Unknown Source:4)
E/AndroidRuntime(16986): at android.os.Handler.handleCallback(Handler.java:907)
E/AndroidRuntime(16986): at android.os.Handler.dispatchMessage(Handler.java:105)
E/AndroidRuntime(16986): at android.os.Looper.loop(Looper.java:216)
E/AndroidRuntime(16986): at android.os.HandlerThread.run(HandlerThread.java:65)
E/AndroidRuntime(16986): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v4.app.ActivityCompat" on path: DexPathList[[zip file "/system/framework/android.test.mock.jar", zip file "/system/framework/android.test.runner.jar", zip file "/data/app/com.furun.klhd-7PHIDTp1O2M-AOqA9x8MdQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.furun.klhd-7PHIDTp1O2M-AOqA9x8MdQ==/lib/arm64, /data/app/com.furun.klhd-7PHIDTp1O2M-AOqA9x8MdQ==/base.apk!/lib/arm64-v8a, /system/lib64, /product/lib64]]
E/AndroidRuntime(16986): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
E/AndroidRuntime(16986): at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
E/AndroidRuntime(16986): at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
E/AndroidRuntime(16986): ... 14 more
D/AuthSDK_init(16986): registerStorage
D/AuthSDK_init(16986): time =2020-01-02 14:36:39 953
D/AuthSDK_init(16986): registerUserTrack
D/AuthSDK_init(16986): time =2020-01-02 14:36:39 955
D/JIGUANG-JCore-IMPL(16986): [JCommonInterface] onEvent action:deviceinfo
D/NetworkSecurityConfig(16986): No Network Security Config specified, using platform default
D/AuthSDK_CredentialManager(16986): CredentialManager init step 1
D/AuthSDK_CredentialManager(16986): time =2020-01-02 14:36:40 006
D/AuthSDK_CredentialManager(16986): CredentialManager init step 2
D/AuthSDK_CredentialManager(16986): time =2020-01-02 14:36:40 010
D/AuthSDK_CredentialManager(16986): CredentialManager init step 3
D/AuthSDK_CredentialManager(16986): time =2020-01-02 14:36:40 012
D/AuthSDK_CredentialManager(16986): CredentialManager init step 4
D/AuthSDK_CredentialManager(16986): time =2020-01-02 14:36:40 015
D/AuthSDK_CredentialManager(16986): CredentialManager init step 5
D/AuthSDK_CredentialManager(16986): time =2020-01-02 14:36:40 018
D/AuthSDK_init(16986): register login service
D/AuthSDK_init(16986): time =2020-01-02 14:36:40 020
I/WebViewFactory(16986): Loading com.google.android.webview version 74.0.3729.136 (code 372913650)
D/AuthSDK_Member.LoginLifecycleAdapter(16986): LoginLifecycle init
D/AuthSDK_Member.LoginLifecycleAdapter(16986): time =2020-01-02 14:36:40 022
W/com.furun.klhd(16986): Accessing hidden method Landroid/telephony/TelephonyManager;->getSimCount()I (light greylist, reflection)
W/com.furun.klhd(16986): Accessing hidden method Landroid/telephony/TelephonyManager;->getSimSerialNumber(I)Ljava/lang/String; (light greylist, reflection)
W/com.furun.klhd(16986): Accessing hidden method Landroid/telephony/TelephonyManager;->getSubscriberId(I)Ljava/lang/String; (light greylist, reflection)
W/com.furun.klhd(16986): Accessing hidden method Landroid/telephony/SubscriptionManager;->getSubId(I)[I (light greylist, reflection)
D/AuthSDK_init(16986): register account link service
D/AuthSDK_init(16986): time =2020-01-02 14:36:40 036
D/AuthSDK_init(16986): INIT SUCCESS
D/AuthSDK_init(16986): time =2020-01-02 14:36:40 038
D/AuthSDK_init(16986): INIT SUCCESS
D/AuthSDK_init(16986): time =2020-01-02 14:36:40 039
E/libc (16986): Access denied finding property "vendor.cellular.ril.imsi"
W/JIGUANG-JCore(16986): [ReportUtils] miss channel when wrap container info,but continue report...
D/JIGUANG-JCore(16986): [HttpHelper] status code:200 retry left:2
I/Process (16986): Sending signal. PID: 16986 SIG: 9
`
flutter_alibc: ^0.0.14
tobias: ^1.6.1
报错
D:\app\android\app\src\debug\AndroidManifest.xml:29:13-85 Error:
Attribute activity#com.alipay.sdk.app.H5PayActivity@configChanges value=(orientation|keyboardHidden|navigation|screenSize) from [alipaySdk-15.7.5-20200422171636-noUtdid.aar] AndroidManifest.xml:29:13-85
is also present at [com.alibaba.sdk.android:nb_trade:4.0.0.8] AndroidManifest.xml:43:13-74 value=(orientation|keyboardHidden|navigation).
Suggestion: add 'tools:replace="android:configChanges"' to element at AndroidManifest.xml:27:9-31:20 to override.
FAILURE: Build failed with an exception.
Manifest merger failed : Attribute activity#com.alipay.sdk.app.H5PayActivity@configChanges value=(orientation|keyboardHidden|navigation|screenSize) from [alipaySdk-15.7.5-20200422171636-noUtdid.aar] AndroidManifest.xml:29:13-85
is also present at [com.alibaba.sdk.android:nb_trade:4.0.0.8] AndroidManifest.xml:43:13-74 value=(orientation|keyboardHidden|navigation).
Suggestion: add 'tools:replace="android:configChanges"' to element at AndroidManifest.xml:27:9-31:20 to override.
今天把 xcode升级到了11.1,把 flutter升级到了最新版本,Dart也升级到了最新版本,然后问题就出现了。
1.我用的是 vscode 来创建项目,众所周知,在 vscode 创建 Flutter项目用的是 Swift 和 Kotlin, 所以初始化的时候直接来个山崩海啸
2.用命令 lutter create -i objc -a java abcde 来创建项目,让 ios 用的是 objc,打开是能打开了,但这个时候就有问题了,发现无论怎么弄都没办成功初始化,安全图片也弄了好风回了,配置什么的都弄了,还是不行,然后我就发再我的项目中的目录是这样的
然而 example 中的项目目录是这样的
这是什么回事呢,ios 目录是明明有安全图片,Xcode 中没有显示出来,初始化的不正常的原因就在这里吗?
PlatformException (PlatformException(error, Unable to find explicit activity class {com.yxwl.cbn_mobile/com.wxwx.flutter_alibc.web.WebViewActivity}; have you declared this activity in your AndroidManifest.xml?, null))
调用 taokeLogin的时候报这个错。。
不明白这个activity的路径是怎么生成的,为啥会这样?
包含此插件时 flutter 项目编译、运行在安卓端时会出现下面的红字,最后 app 能跑起来,不过下面是什么意思呢?
/Users/yang_s_mb/Library/Android/sdk/ndk/20.0.5594570/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-strip:/Users/yang_s_mb/github/meizhuang/build/app/intermediates/merged_native_libs/debug/out/lib/armeabi-v7a/libsgsgmiddletier.so: File format not recognized
/Users/yang_s_mb/Library/Android/sdk/ndk/20.0.5594570/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-strip:/Users/yang_s_mb/github/meizhuang/build/app/intermediates/merged_native_libs/debug/out/lib/armeabi-v7a/libsgavmp.so: File format not recognized
/Users/yang_s_mb/Library/Android/sdk/ndk/20.0.5594570/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-strip:/Users/yang_s_mb/github/meizhuang/build/app/intermediates/merged_native_libs/debug/out/lib/armeabi-v7a/libsgsecuritybody.so: File format not recognized
/Users/yang_s_mb/Library/Android/sdk/ndk/20.0.5594570/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-strip:/Users/yang_s_mb/github/meizhuang/build/app/intermediates/merged_native_libs/debug/out/lib/armeabi-v7a/libsgmain.so: File format not recognized
/Users/yang_s_mb/Library/Android/sdk/ndk/20.0.5594570/toolchains/x86-4.9/prebuilt/darwin-x86_64/bin/i686-linux-android-strip:/Users/yang_s_mb/github/meizhuang/build/app/intermediates/merged_native_libs/debug/out/lib/x86/libsgsgmiddletier.so: File format not recognized
/Users/yang_s_mb/Library/Android/sdk/ndk/20.0.5594570/toolchains/x86-4.9/prebuilt/darwin-x86_64/bin/i686-linux-android-strip:/Users/yang_s_mb/github/meizhuang/build/app/intermediates/merged_native_libs/debug/out/lib/x86/libsgavmp.so: File format not recognized
/Users/yang_s_mb/Library/Android/sdk/ndk/20.0.5594570/toolchains/x86-4.9/prebuilt/darwin-x86_64/bin/i686-linux-android-strip:/Users/yang_s_mb/github/meizhuang/build/app/intermediates/merged_native_libs/debug/out/lib/x86/libsgsecuritybody.so: File format not recognized
/Users/yang_s_mb/Library/Android/sdk/ndk/20.0.5594570/toolchains/x86-4.9/prebuilt/darwin-x86_64/bin/i686-linux-android-strip:/Users/yang_s_mb/github/meizhuang/build/app/intermediates/merged_native_libs/debug/out/lib/x86/libsgmain.so: File format not recognized
/Users/yang_s_mb/Library/Android/sdk/ndk/20.0.5594570/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64/bin/aarch64-linux-android-strip:/Users/yang_s_mb/github/meizhuang/build/app/intermediates/merged_native_libs/debug/out/lib/arm64-v8a/libsgsgmiddletier.so: File format not recognized
/Users/yang_s_mb/Library/Android/sdk/ndk/20.0.5594570/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64/bin/aarch64-linux-android-strip:/Users/yang_s_mb/github/meizhuang/build/app/intermediates/merged_native_libs/debug/out/lib/arm64-v8a/libsgavmp.so: File format not recognized
/Users/yang_s_mb/Library/Android/sdk/ndk/20.0.5594570/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64/bin/aarch64-linux-android-strip:/Users/yang_s_mb/github/meizhuang/build/app/intermediates/merged_native_libs/debug/out/lib/arm64-v8a/libsgsecuritybody.so: File format not recognized
/Users/yang_s_mb/Library/Android/sdk/ndk/20.0.5594570/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64/bin/aarch64-linux-android-strip:/Users/yang_s_mb/github/meizhuang/build/app/intermediates/merged_native_libs/debug/out/lib/arm64-v8a/libsgmain.so: File format not recognized
✓ Built build/app/outputs/apk/debug/app-debug.apk.
Installing build/app/outputs/apk/app.apk...
Syncing files to device ELE AL00...
flutter doctor -v
[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.15.1 19B88, locale zh-Hans-CN)
• Flutter version 1.12.13+hotfix.5 at /Users/yang_s_mb/Downloads/flutter
• Framework revision 27321ebbad (3 weeks ago), 2019-12-10 18:15:01 -0800
• Engine revision 2994f7e1e6
• Dart version 2.7.0
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/yang_s_mb/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 28.0.3
• ANDROID_HOME = /Users/yang_s_mb/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version openjdk version "1.8.0_202-release"
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.3, Build version 11C29
• CocoaPods version 1.8.4
[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 42.1.1
• Dart plugin version 191.8593
• Java version openjdk version "1.8.0_202-release"
[✓] VS Code (version 1.40.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.7.1
然后我试了一下用android项目测试,真机又能返回token,在flutter项目测试真机就会停留在淘宝客户端,我是用小米MIX3测试的
1.已经把我自己的安全图片加入到example/ios下,点击登陆淘宝能跳到授权界面,但点击"确认授权"后就没有反应
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.