diff --git a/android/build.gradle b/android/build.gradle index 030397f..e524904 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -6,6 +6,9 @@ buildscript { google() jcenter() maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'} + flatDir { + dirs 'libs' + } } dependencies { @@ -18,8 +21,8 @@ rootProject.allprojects { google() jcenter() maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'} - maven { - url "http://repo.baichuan-android.taobao.com/content/groups/BaichuanRepositories/" + flatDir { + dirs 'libs' } } } @@ -68,35 +71,52 @@ dependencies{ // implementation 'com.alibaba.sdk.android:nb_trade:4.0.0.16@aar' // implementation 'com.alibaba:fastjson:1.2.52@jar' - implementation 'com.android.support:multidex:1.0.3' - implementation 'androidx.appcompat:appcompat:1.3.0-alpha02' - implementation 'androidx.cardview:cardview:1.0.0' - // 登陆 - implementation 'com.alibaba.baichuan.sdk:alibclogin:5.0.0.13' - // applink - implementation 'com.alibaba.baichuan.sdk:alibcapplink:5.0.0.13' - // 广告SDK - implementation 'com.alibaba.baichuan.sdk:alibcad:5.0.0.13' - // 小程序 - implementation 'com.alibaba.baichuan.sdk:alibctriver:5.0.0.13' - // c++基础库(如果工程中没有接入该so包:libc++_shared.so,需要接入该sdk) - implementation "llvm.stl:cpp_shared:0.0.3@aar" - // 直播 - implementation 'com.alibaba.baichuan.sdk:alibctriver_live:5.0.0.13' - // webview容器 - implementation 'com.alibaba.baichuan.sdk:alibcwebview:5.0.0.13' - // 电商基础组件 - implementation 'com.alibaba.baichuan.sdk:alibctradecommon:5.0.0.13' - implementation 'com.alibaba.baichuan.sdk:alibcnbtrade:5.0.0.13' - implementation 'com.alibaba.baichuan.sdk:alibcprotocol:5.0.0.13' - // 辅助排查工具(可选) - implementation "com.alibaba.baichuan.sdk:alibctools:5.0.0.13" - // 安全保镖v5版本(根据实际情况,v5和v6版本选择其一) - implementation 'com.taobao.android:securityguardaar3:5.0.0.9-v5@aar' - implementation 'com.taobao.android:securitybodyaar3:5.0.0.9-v5@aar' - implementation 'com.taobao.android:avmpaar3:5.0.0.9-v5@aar' - implementation 'com.taobao.android:sgmiddletieraar3:5.0.0.9-v5@aar' +// implementation 'com.android.support:multidex:1.0.3' +// implementation 'androidx.appcompat:appcompat:1.3.0-alpha02' +// implementation 'androidx.cardview:cardview:1.0.0' +// // 登陆 +// implementation 'com.alibaba.baichuan.sdk:alibclogin:5.0.0.13' +// // applink +// implementation 'com.alibaba.baichuan.sdk:alibcapplink:5.0.0.13' +// // 广告SDK +// implementation 'com.alibaba.baichuan.sdk:alibcad:5.0.0.13' +// // 小程序 +// implementation 'com.alibaba.baichuan.sdk:alibctriver:5.0.0.13' +// // c++基础库(如果工程中没有接入该so包:libc++_shared.so,需要接入该sdk) +// implementation "llvm.stl:cpp_shared:0.0.3@aar" +// // 直播 +// implementation 'com.alibaba.baichuan.sdk:alibctriver_live:5.0.0.13' +// // webview容器 +// implementation 'com.alibaba.baichuan.sdk:alibcwebview:5.0.0.13' +// // 电商基础组件 +// implementation 'com.alibaba.baichuan.sdk:alibctradecommon:5.0.0.13' +// implementation 'com.alibaba.baichuan.sdk:alibcnbtrade:5.0.0.13' +// implementation 'com.alibaba.baichuan.sdk:alibcprotocol:5.0.0.13' +// // 辅助排查工具(可选) +// implementation "com.alibaba.baichuan.sdk:alibctools:5.0.0.13" +// // 安全保镖v5版本(根据实际情况,v5和v6版本选择其一) +// implementation 'com.taobao.android:securityguardaar3:5.0.0.9-v5@aar' +// implementation 'com.taobao.android:securitybodyaar3:5.0.0.9-v5@aar' +// implementation 'com.taobao.android:avmpaar3:5.0.0.9-v5@aar' +// implementation 'com.taobao.android:sgmiddletieraar3:5.0.0.9-v5@aar' + + + implementation(name: 'alibcad-5.0.0.13', ext: 'aar') + implementation(name: 'alibcapplink-5.0.0.13', ext: 'aar') + implementation(name: 'alibclogin-5.0.0.13', ext: 'aar') + implementation(name: 'alibcnbtrade-5.0.0.13', ext: 'aar') + implementation(name: 'alibcprotocol-5.0.0.13', ext: 'aar') + implementation(name: 'alibctradecommon-5.0.0.13', ext: 'aar') + implementation(name: 'alibctriver-5.0.0.13', ext: 'aar') + implementation(name: 'alibctriver_live-5.0.0.13', ext: 'aar') + implementation(name: 'alibcwebview-5.0.0.13', ext: 'aar') +// implementation(name: 'cardview-1.0.0', ext: 'aar') + implementation(name: 'MiddleTierSDK-external-release-5.5.24-preInstall', ext: 'aar') + implementation(name: 'MiscSDK-external-release-5.5.9-preInstall', ext: 'aar') + implementation(name: 'NoCaptchaSDK-external-release-5.5.8-preInstall', ext: 'aar') + implementation(name: 'SecurityBodySDK-external-release-5.5.28-preInstall', ext: 'aar') + implementation(name: 'SecurityGuardSDK-external-release-5.5.22-preInstall', ext: 'aar') implementation 'com.alibaba:fastjson:1.1.71.android' } diff --git a/android/gradlew b/android/gradlew old mode 100644 new mode 100755 diff --git a/android/libs/MiddleTierSDK-external-release-5.5.24-preInstall.aar b/android/libs/MiddleTierSDK-external-release-5.5.24-preInstall.aar new file mode 100644 index 0000000..25ae0ff Binary files /dev/null and b/android/libs/MiddleTierSDK-external-release-5.5.24-preInstall.aar differ diff --git a/android/libs/MiscSDK-external-release-5.5.9-preInstall.aar b/android/libs/MiscSDK-external-release-5.5.9-preInstall.aar new file mode 100644 index 0000000..4803be8 Binary files /dev/null and b/android/libs/MiscSDK-external-release-5.5.9-preInstall.aar differ diff --git a/android/libs/NoCaptchaSDK-external-release-5.5.8-preInstall.aar b/android/libs/NoCaptchaSDK-external-release-5.5.8-preInstall.aar new file mode 100644 index 0000000..24234fd Binary files /dev/null and b/android/libs/NoCaptchaSDK-external-release-5.5.8-preInstall.aar differ diff --git a/android/libs/SecurityBodySDK-external-release-5.5.28-preInstall.aar b/android/libs/SecurityBodySDK-external-release-5.5.28-preInstall.aar new file mode 100644 index 0000000..a56e4d6 Binary files /dev/null and b/android/libs/SecurityBodySDK-external-release-5.5.28-preInstall.aar differ diff --git a/android/libs/SecurityGuardSDK-external-release-5.5.22-preInstall.aar b/android/libs/SecurityGuardSDK-external-release-5.5.22-preInstall.aar new file mode 100644 index 0000000..d3ef10c Binary files /dev/null and b/android/libs/SecurityGuardSDK-external-release-5.5.22-preInstall.aar differ diff --git a/android/libs/alibcad-5.0.0.13.aar b/android/libs/alibcad-5.0.0.13.aar new file mode 100644 index 0000000..6c5f640 Binary files /dev/null and b/android/libs/alibcad-5.0.0.13.aar differ diff --git a/android/libs/alibcapplink-5.0.0.13.aar b/android/libs/alibcapplink-5.0.0.13.aar new file mode 100644 index 0000000..0d903dd Binary files /dev/null and b/android/libs/alibcapplink-5.0.0.13.aar differ diff --git a/android/libs/alibclogin-5.0.0.13.aar b/android/libs/alibclogin-5.0.0.13.aar new file mode 100644 index 0000000..875d59a Binary files /dev/null and b/android/libs/alibclogin-5.0.0.13.aar differ diff --git a/android/libs/alibcnbtrade-5.0.0.13.aar b/android/libs/alibcnbtrade-5.0.0.13.aar new file mode 100644 index 0000000..0375210 Binary files /dev/null and b/android/libs/alibcnbtrade-5.0.0.13.aar differ diff --git a/android/libs/alibcprotocol-5.0.0.13.aar b/android/libs/alibcprotocol-5.0.0.13.aar new file mode 100644 index 0000000..49ba771 Binary files /dev/null and b/android/libs/alibcprotocol-5.0.0.13.aar differ diff --git a/android/libs/alibctools-5.0.0.13.aar b/android/libs/alibctools-5.0.0.13.aar new file mode 100644 index 0000000..96d102f Binary files /dev/null and b/android/libs/alibctools-5.0.0.13.aar differ diff --git a/android/libs/alibctradecommon-5.0.0.13.aar b/android/libs/alibctradecommon-5.0.0.13.aar new file mode 100644 index 0000000..2653247 Binary files /dev/null and b/android/libs/alibctradecommon-5.0.0.13.aar differ diff --git a/android/libs/alibctriver-5.0.0.13.aar b/android/libs/alibctriver-5.0.0.13.aar new file mode 100644 index 0000000..c24c78a Binary files /dev/null and b/android/libs/alibctriver-5.0.0.13.aar differ diff --git a/android/libs/alibctriver_live-5.0.0.13.aar b/android/libs/alibctriver_live-5.0.0.13.aar new file mode 100644 index 0000000..80f153a Binary files /dev/null and b/android/libs/alibctriver_live-5.0.0.13.aar differ diff --git a/android/libs/alibcwebview-5.0.0.13.aar b/android/libs/alibcwebview-5.0.0.13.aar new file mode 100644 index 0000000..0a2dd28 Binary files /dev/null and b/android/libs/alibcwebview-5.0.0.13.aar differ diff --git a/android/libs/cardview-1.0.0.aar b/android/libs/cardview-1.0.0.aar new file mode 100644 index 0000000..06a73c3 Binary files /dev/null and b/android/libs/cardview-1.0.0.aar differ diff --git a/example/.flutter-plugins-dependencies b/example/.flutter-plugins-dependencies index 3940a51..6145089 100644 --- a/example/.flutter-plugins-dependencies +++ b/example/.flutter-plugins-dependencies @@ -1 +1 @@ -{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"flutter_alibc","path":"/Users/fnuser04/Documents/flutterAPP/zhiying_flutter_alibc/","dependencies":[]}],"android":[{"name":"flutter_alibc","path":"/Users/fnuser04/Documents/flutterAPP/zhiying_flutter_alibc/","dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"flutter_alibc","dependencies":[]}],"date_created":"2021-04-17 11:06:38.571844","version":"1.22.0"} \ No newline at end of file +{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"flutter_alibc","path":"/Users/fnuo123/Documents/fnuo_project/zhiying_flutter_alibc/","dependencies":[]}],"android":[{"name":"flutter_alibc","path":"/Users/fnuo123/Documents/fnuo_project/zhiying_flutter_alibc/","dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"flutter_alibc","dependencies":[]}],"date_created":"2022-03-09 18:32:49.025784","version":"1.24.0-3.0.pre"} \ No newline at end of file diff --git a/example/android/build.gradle b/example/android/build.gradle index cab5fec..9993f58 100644 --- a/example/android/build.gradle +++ b/example/android/build.gradle @@ -5,6 +5,7 @@ buildscript { maven { url "http://repo.baichuan-android.taobao.com/content/groups/BaichuanRepositories/" } + } dependencies { @@ -16,6 +17,9 @@ allprojects { repositories { google() jcenter() + flatDir { + dirs '../../../android/libs' + } } } diff --git a/example/android/settings_aar.gradle b/example/android/settings_aar.gradle new file mode 100644 index 0000000..e7b4def --- /dev/null +++ b/example/android/settings_aar.gradle @@ -0,0 +1 @@ +include ':app' diff --git a/example/ios/Flutter/flutter_export_environment.sh b/example/ios/Flutter/flutter_export_environment.sh index f3ad506..c61d176 100755 --- a/example/ios/Flutter/flutter_export_environment.sh +++ b/example/ios/Flutter/flutter_export_environment.sh @@ -1,16 +1,15 @@ #!/bin/sh # This is a generated file; do not edit or check into version control. -export "FLUTTER_ROOT=/Users/fnuser04/Documents/flutterModel/flutter" -export "FLUTTER_APPLICATION_PATH=/Users/fnuser04/Documents/flutterAPP/zhiying_flutter_alibc/example" -export "FLUTTER_TARGET=/Users/fnuser04/Documents/flutterAPP/zhiying_flutter_alibc/example/lib/main.dart" +export "FLUTTER_ROOT=/Users/fnuo123/flutter" +export "FLUTTER_APPLICATION_PATH=/Users/fnuo123/Documents/fnuo_project/zhiying_flutter_alibc/example" +export "FLUTTER_TARGET=lib/main.dart" export "FLUTTER_BUILD_DIR=build" export "SYMROOT=${SOURCE_ROOT}/../build/ios" export "OTHER_LDFLAGS=$(inherited) -framework Flutter" -export "FLUTTER_FRAMEWORK_DIR=/Users/fnuser04/Documents/flutterModel/flutter/bin/cache/artifacts/engine/ios" +export "FLUTTER_FRAMEWORK_DIR=/Users/fnuo123/flutter/bin/cache/artifacts/engine/ios" export "FLUTTER_BUILD_NAME=1.0.0" export "FLUTTER_BUILD_NUMBER=1" -export "DART_DEFINES=flutter.inspector.structuredErrors%3Dtrue" export "DART_OBFUSCATION=false" -export "TRACK_WIDGET_CREATION=true" +export "TRACK_WIDGET_CREATION=false" export "TREE_SHAKE_ICONS=false" export "PACKAGE_CONFIG=.packages" diff --git a/example/pubspec.lock b/example/pubspec.lock index e5bbe07..9561b63 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -87,7 +87,7 @@ packages: name: meta url: "https://pub.flutter-io.cn" source: hosted - version: "1.3.0-nullsafety.3" + version: "1.3.0-nullsafety.4" path: dependency: transitive description: @@ -113,7 +113,7 @@ packages: name: stack_trace url: "https://pub.flutter-io.cn" source: hosted - version: "1.10.0-nullsafety.1" + version: "1.10.0-nullsafety.4" stream_channel: dependency: transitive description: @@ -157,4 +157,4 @@ packages: source: hosted version: "2.1.0-nullsafety.3" sdks: - dart: ">=2.10.0-110 <2.11.0" + dart: ">=2.10.0-110 <=2.11.0-242.0.dev" diff --git a/pubspec.lock b/pubspec.lock index 5acf180..d7d18b4 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -73,7 +73,7 @@ packages: name: meta url: "https://pub.flutter-io.cn" source: hosted - version: "1.3.0-nullsafety.3" + version: "1.3.0-nullsafety.4" path: dependency: transitive description: @@ -99,7 +99,7 @@ packages: name: stack_trace url: "https://pub.flutter-io.cn" source: hosted - version: "1.10.0-nullsafety.1" + version: "1.10.0-nullsafety.4" stream_channel: dependency: transitive description: @@ -143,4 +143,4 @@ packages: source: hosted version: "2.1.0-nullsafety.3" sdks: - dart: ">=2.10.0-110 <2.11.0" + dart: ">=2.10.0-110 <=2.11.0-242.0.dev"