delete inProduction

master
zhangmeng 4 years ago
parent c35b698b55
commit ae7d83ee3c

@ -34,7 +34,6 @@
<application
android:name="io.flutter.app.FlutterApplication"
android:label="瑞库客"
android:allowBackup="false"
android:icon="@mipmap/ic_launcher"
tools:replace="android:label"
android:requestLegacyExternalStorage="true"

@ -95,9 +95,9 @@ void main() async {
userBrief: UserBrief.empty(),
openinstall: Openinstall.empty()));
const bool inProduction = const bool.fromEnvironment("dart.vm.product");
// const bool inProduction = const bool.fromEnvironment("dart.vm.product");
if (inProduction) {
if (!isDebug) {
AppConfig.setDebug(isDebug);
DPrint.printf("当前为release 模式");
return FlutterBugly.postCatchedException(() {

@ -21,7 +21,7 @@ packages:
name: analyzer
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.7.2"
version: "1.7.1"
animations:
dependency: "direct main"
description:
@ -56,7 +56,7 @@ packages:
name: async
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.7.0"
version: "2.5.0"
audio_session:
dependency: transitive
description:
@ -182,7 +182,7 @@ packages:
name: charcode
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.3.1"
version: "1.2.0"
checked_yaml:
dependency: transitive
description:
@ -824,7 +824,7 @@ packages:
name: meta
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.4.0"
version: "1.3.0"
mime:
dependency: transitive
description:
@ -1211,7 +1211,7 @@ packages:
name: source_span
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.8.1"
version: "1.8.0"
sp_util:
dependency: transitive
description:
@ -1299,7 +1299,7 @@ packages:
name: test_api
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.4.1"
version: "0.2.19"
timeline_tile:
dependency: "direct main"
description:

Loading…
Cancel
Save