add extended image

pull/1/head
张萌 3 years ago
parent 0e3b3d098d
commit a6228951f1

@ -4,4 +4,7 @@ class AppConfig {
///AppID ///AppID
static const wechatAppId = 'wxd7bdef0d4849ddb8'; static const wechatAppId = 'wxd7bdef0d4849ddb8';
///key
static const jpushKey = '5f42cbb15abcdda6f8aeb925';
} }

@ -66,7 +66,7 @@ class MainInitialize {
}); });
} on PlatformException {} } on PlatformException {}
jpush.setup( jpush.setup(
appKey: "5f42cbb15abcdda6f8aeb925", appKey: AppConfig.jpushKey,
channel: "developer-default", channel: "developer-default",
production: false, production: false,
debug: true, debug: true,
@ -84,7 +84,7 @@ class MainInitialize {
if (kIsWeb || Platform.isMacOS) return; if (kIsWeb || Platform.isMacOS) return;
var isAndroid = Platform.isAndroid; var isAndroid = Platform.isAndroid;
registerWxApi( registerWxApi(
appId: 'wx9bc3ffb23a749254', appId: AppConfig.wechatAppId,
doOnIOS: !isAndroid, doOnIOS: !isAndroid,
doOnAndroid: isAndroid, doOnAndroid: isAndroid,
universalLink: ''); universalLink: '');

@ -381,6 +381,20 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "5.0.1" version: "5.0.1"
extended_image:
dependency: "direct main"
description:
name: extended_image
url: "https://pub.dartlang.org"
source: hosted
version: "6.1.0"
extended_image_library:
dependency: transitive
description:
name: extended_image_library
url: "https://pub.dartlang.org"
source: hosted
version: "3.2.0"
extended_list_library: extended_list_library:
dependency: transitive dependency: transitive
description: description:
@ -613,6 +627,13 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.13.4" version: "0.13.4"
http_client_helper:
dependency: transitive
description:
name: http_client_helper
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.2"
http_multi_server: http_multi_server:
dependency: transitive dependency: transitive
description: description:

@ -122,6 +122,8 @@ dependencies:
flutter_sound: ^9.1.3 flutter_sound: ^9.1.3
#点赞 #点赞
like_button: ^2.0.4 like_button: ^2.0.4
#图片扩展
extended_image: ^6.1.0
dev_dependencies: dev_dependencies:
flutter_test: flutter_test:

Loading…
Cancel
Save