From 6f729e4deecb68221504d9874097cd56b3775e22 Mon Sep 17 00:00:00 2001 From: laiiihz Date: Thu, 1 Apr 2021 09:10:09 +0800 Subject: [PATCH] upgrade fluwx version --- android/build.gradle | 2 +- lib/main.dart | 2 +- lib/pages/home/home_page.dart | 4 ++-- pubspec.lock | 18 ++++++++---------- pubspec.yaml | 9 +++++---- 5 files changed, 17 insertions(+), 18 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index b3442ee..4378cbd 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,5 +1,5 @@ buildscript { - ext.kotlin_version = '1.3.10' + ext.kotlin_version = '1.4.10' ext.flutterFFmpegPackage = 'min-lts' repositories { google() diff --git a/lib/main.dart b/lib/main.dart index bb225e8..60422d4 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -57,7 +57,7 @@ void main() async { // useEncrypt: true ); // 设置当前是否为测试环境 - bool isDebug = true; + bool isDebug = false; AppConfig.setDebug(isDebug); //持久化存储 diff --git a/lib/pages/home/home_page.dart b/lib/pages/home/home_page.dart index 0ae4c6e..40e7004 100644 --- a/lib/pages/home/home_page.dart +++ b/lib/pages/home/home_page.dart @@ -1397,8 +1397,8 @@ class _HomePageState extends BaseStoreState _mobShareInit() { ShareSDKRegister register = ShareSDKRegister(); - register.setupSinaWeibo( - "3484799074", "0cc08d31b4d63dc81fbb7a2559999fb3", "https://reecook.cn"); + // register.setupSinaWeibo( + // "3484799074", "0cc08d31b4d63dc81fbb7a2559999fb3", "https://reecook.cn"); register.setupQQ("101876843", "6f367bfad98978e22c2e11897dd74f00"); SharesdkPlugin.regist(register); } diff --git a/pubspec.lock b/pubspec.lock index 5f8c264..bf366f2 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -546,12 +546,10 @@ packages: fluwx: dependency: "direct main" description: - path: "." - ref: HEAD - resolved-ref: "06d208b51f96efbbc4f42013c20001df8497d38e" - url: "http://test.akuhotel.com:8099/laiiihz/fluwx.git" - source: git - version: "2.0.7" + name: fluwx + url: "https://pub.flutter-io.cn" + source: hosted + version: "2.6.2" foundation_fluttify: dependency: transitive description: @@ -1091,12 +1089,12 @@ packages: sharesdk_plugin: dependency: "direct main" description: - path: "." + path: sharesdk_plugin ref: HEAD - resolved-ref: "7e5ac4829491e386321f8533223211c1c865cf52" - url: "http://test.akuhotel.com:8099/laiiihz/sharesdk_plugin.git" + resolved-ref: "85593f87ec2e1f28834c3190cefd76f6e1587887" + url: "http://159.75.73.143:8080/third_packages/ShareSDK-For-Flutter" source: git - version: "1.2.8" + version: "1.2.9" shelf: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index f8cc752..18202df 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -39,7 +39,8 @@ dependencies: # 第三方分享功能 sharesdk_plugin: git: - url: http://test.akuhotel.com:8099/laiiihz/sharesdk_plugin.git + url: http://159.75.73.143:8080/third_packages/ShareSDK-For-Flutter + path: sharesdk_plugin # 展示二维码 qr_flutter: ^3.2.0 @@ -118,9 +119,9 @@ dependencies: flutter_gifimage: ^1.0.0 # 微信登录 支付等 - fluwx: - git: - url: http://test.akuhotel.com:8099/laiiihz/fluwx.git + fluwx: ^2.6.2 + # git: + # url: http://test.akuhotel.com:8099/laiiihz/fluwx.git # # 源码 TobiasPlugin.m