Browse Source

ios 更新

remove_uniapp
fmk 3 years ago
parent
commit
646a00d557
  1. 12
      ios/Runner.xcodeproj/project.pbxproj
  2. 4
      lib/retrofit/min_api.dart
  3. 4
      lib/retrofit/retrofit_api.dart
  4. 10
      pubspec.lock
  5. 12
      pubspec.yaml

12
ios/Runner.xcodeproj/project.pbxproj

@ -616,7 +616,7 @@
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO; CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO;
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 83; CURRENT_PROJECT_VERSION = 85;
DEVELOPMENT_TEAM = YF3Q8DVP52; DEVELOPMENT_TEAM = YF3Q8DVP52;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = ( FRAMEWORK_SEARCH_PATHS = (
@ -666,7 +666,7 @@
"$(PROJECT_DIR)/baidu", "$(PROJECT_DIR)/baidu",
"$(PROJECT_DIR)/Runner/baidu", "$(PROJECT_DIR)/Runner/baidu",
); );
MARKETING_VERSION = 1.0.83; MARKETING_VERSION = 1.0.85;
ONLY_ACTIVE_ARCH = YES; ONLY_ACTIVE_ARCH = YES;
OTHER_LDFLAGS = ( OTHER_LDFLAGS = (
"$(inherited)", "$(inherited)",
@ -816,7 +816,7 @@
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO; CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO;
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 83; CURRENT_PROJECT_VERSION = 85;
DEVELOPMENT_TEAM = YF3Q8DVP52; DEVELOPMENT_TEAM = YF3Q8DVP52;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = ( FRAMEWORK_SEARCH_PATHS = (
@ -866,7 +866,7 @@
"$(PROJECT_DIR)/baidu", "$(PROJECT_DIR)/baidu",
"$(PROJECT_DIR)/Runner/baidu", "$(PROJECT_DIR)/Runner/baidu",
); );
MARKETING_VERSION = 1.0.83; MARKETING_VERSION = 1.0.85;
ONLY_ACTIVE_ARCH = YES; ONLY_ACTIVE_ARCH = YES;
OTHER_LDFLAGS = ( OTHER_LDFLAGS = (
"$(inherited)", "$(inherited)",
@ -907,7 +907,7 @@
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO; CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO;
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 83; CURRENT_PROJECT_VERSION = 85;
DEVELOPMENT_TEAM = YF3Q8DVP52; DEVELOPMENT_TEAM = YF3Q8DVP52;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = ( FRAMEWORK_SEARCH_PATHS = (
@ -957,7 +957,7 @@
"$(PROJECT_DIR)/baidu", "$(PROJECT_DIR)/baidu",
"$(PROJECT_DIR)/Runner/baidu", "$(PROJECT_DIR)/Runner/baidu",
); );
MARKETING_VERSION = 1.0.83; MARKETING_VERSION = 1.0.85;
ONLY_ACTIVE_ARCH = YES; ONLY_ACTIVE_ARCH = YES;
OTHER_LDFLAGS = ( OTHER_LDFLAGS = (
"$(inherited)", "$(inherited)",

4
lib/retrofit/min_api.dart

@ -61,8 +61,8 @@ abstract class MinApiService {
} }
headers["Environment"] = "app"; headers["Environment"] = "app";
dio.options = BaseOptions( dio.options = BaseOptions(
connectTimeout: 15000, connectTimeout: 10000,
receiveTimeout: 15000, receiveTimeout: 10000,
headers: headers, headers: headers,
responseType: ResponseType.json, responseType: ResponseType.json,
); );

4
lib/retrofit/retrofit_api.dart

@ -90,8 +90,8 @@ abstract class ApiService {
headers["Environment"] = "app"; headers["Environment"] = "app";
} }
dio.options = BaseOptions( dio.options = BaseOptions(
connectTimeout: 60000, connectTimeout: 10000,
receiveTimeout: 60000, receiveTimeout: 10000,
headers: headers, headers: headers,
responseType: ResponseType.json, responseType: ResponseType.json,
); );

10
pubspec.lock

@ -701,10 +701,12 @@ packages:
tpns_flutter_plugin: tpns_flutter_plugin:
dependency: "direct main" dependency: "direct main"
description: description:
name: tpns_flutter_plugin path: "."
url: "https://pub.flutter-io.cn" ref: "V1.1.4"
source: hosted resolved-ref: "9494908d3d974899dd6d8494a332b89998b5ac8b"
version: "1.1.0" url: "https://github.com/TencentCloud/TPNS-Flutter-Plugin"
source: git
version: "1.1.4"
transformer_page_view: transformer_page_view:
dependency: transitive dependency: transitive
description: description:

12
pubspec.yaml

@ -19,10 +19,14 @@ dependencies:
keframe: ^2.0.2 #滑动组件卡顿优化 keframe: ^2.0.2 #滑动组件卡顿优化
tpns_flutter_plugin: ^1.0.8 tpns_flutter_plugin:
git:
url: https://github.com/TencentCloud/TPNS-Flutter-Plugin
ref: V1.1.4
# tpns_flutter_plugin:
# git: # git:
# url: git://github.com/TencentCloud/TPNS-Flutter-Plugin # url: https://github.com/TencentCloud/TPNS-Flutter-Plugin
# ref: V1.1.4 # ref: V1.1.6
like_button: ^2.0.2 like_button: ^2.0.2
cupertino_icons: ^1.0.2 cupertino_icons: ^1.0.2
@ -94,7 +98,7 @@ dependencies:
dev_dependencies: dev_dependencies:
flutter_test: flutter_test:
sdk: flutter sdk: flutter
# retrofit_generator: ^1.4.1+3 # retrofit_generator: ^1.4.1+32
# build_runner: ^1.11.5 # build_runner: ^1.11.5
# json_serializable: ^3.5.1 # json_serializable: ^3.5.1

Loading…
Cancel
Save