Browse Source

解决上传120 秒视频限制

ff_new
fmk 3 years ago
parent
commit
18fc1ece47
  1. 16
      ios/Runner.xcodeproj/project.pbxproj
  2. 12
      lib/community/community_view/community_dynamic.dart
  3. 1
      lib/mine/mine_view/mine_view.dart
  4. 10
      pubspec.lock
  5. 8
      pubspec.yaml

16
ios/Runner.xcodeproj/project.pbxproj

@ -930,7 +930,7 @@
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 59;
CURRENT_PROJECT_VERSION = 61;
DEVELOPMENT_TEAM = YF3Q8DVP52;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
@ -980,7 +980,7 @@
"$(PROJECT_DIR)/baidu",
"$(PROJECT_DIR)/Runner/baidu",
);
MARKETING_VERSION = 1.0.59;
MARKETING_VERSION = 1.0.61;
ONLY_ACTIVE_ARCH = YES;
OTHER_LDFLAGS = (
"$(inherited)",
@ -1051,7 +1051,6 @@
};
97C147031CF9000F007C117D /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
@ -1100,6 +1099,7 @@
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
MTL_ENABLE_DEBUG_INFO = YES;
"MTL_ENABLE_DEBUG_INFO[arch=*]" = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
@ -1160,7 +1160,7 @@
};
97C147061CF9000F007C117D /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = "";
@ -1168,7 +1168,7 @@
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 59;
CURRENT_PROJECT_VERSION = 61;
DEVELOPMENT_TEAM = YF3Q8DVP52;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
@ -1218,7 +1218,7 @@
"$(PROJECT_DIR)/baidu",
"$(PROJECT_DIR)/Runner/baidu",
);
MARKETING_VERSION = 1.0.59;
MARKETING_VERSION = 1.0.61;
ONLY_ACTIVE_ARCH = YES;
OTHER_LDFLAGS = (
"$(inherited)",
@ -1297,7 +1297,7 @@
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 59;
CURRENT_PROJECT_VERSION = 61;
DEVELOPMENT_TEAM = YF3Q8DVP52;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
@ -1347,7 +1347,7 @@
"$(PROJECT_DIR)/baidu",
"$(PROJECT_DIR)/Runner/baidu",
);
MARKETING_VERSION = 1.0.59;
MARKETING_VERSION = 1.0.61;
ONLY_ACTIVE_ARCH = YES;
OTHER_LDFLAGS = (
"$(inherited)",

12
lib/community/community_view/community_dynamic.dart

@ -342,11 +342,11 @@ class _CommunityDynamic extends State<CommunityDynamic> {
itemWidget = Container(
child: InkWell(
onTap: () {
ImagePickers.previewImages(subjectInfo.images,0);
// Navigator.push(context, MaterialPageRoute( builder: (context) => PhotoViewGalleryScreen(
// images:subjectInfo.images,//list
// index: 0,//index
// ), ), );
// ImagePickers.previewImages(subjectInfo.images,0);
Navigator.push(context, MaterialPageRoute( builder: (context) => PhotoViewGalleryScreen(
images:subjectInfo.images,//list
index: 0,//index
), ), );
},
child: MImage(
subjectInfo.images[0],
@ -500,7 +500,7 @@ class _CommunityDynamic extends State<CommunityDynamic> {
return AlertDialog(
content: Container(
width: MediaQuery.of(context).size.width - 84,
height: 110.h,
height: 130.h,
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,

1
lib/mine/mine_view/mine_view.dart

@ -197,6 +197,7 @@ class _MineView extends State<MineView> {
),
),
),
if(widget.userInfo.level != 1)
Image.asset(
"assets/image/icon_user.png",
width: 18.w,

10
pubspec.lock

@ -743,10 +743,12 @@ packages:
tpns_flutter_plugin:
dependency: "direct main"
description:
name: tpns_flutter_plugin
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.0.8"
path: "."
ref: "V1.1.2"
resolved-ref: b814d62f4b82422459f786671f23dd535062d503
url: "git://github.com/TencentCloud/TPNS-Flutter-Plugin"
source: git
version: "1.1.2"
transformer_page_view:
dependency: transitive
description:

8
pubspec.yaml

@ -19,10 +19,10 @@ dependencies:
keframe: ^2.0.2 #滑动组件卡顿优化
tpns_flutter_plugin: 1.0.8
# git:
# url: git://github.com/TencentCloud/TPNS-Flutter-Plugin
# ref: V1.1.2
tpns_flutter_plugin:
git:
url: git://github.com/TencentCloud/TPNS-Flutter-Plugin
ref: V1.1.2
like_button: ^2.0.2
cupertino_icons: ^1.0.2

Loading…
Cancel
Save