章文轩 4 years ago
commit 167784db2d

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

@ -95,9 +95,9 @@ void main() async {
userBrief: UserBrief.empty(), userBrief: UserBrief.empty(),
openinstall: Openinstall.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); AppConfig.setDebug(isDebug);
DPrint.printf("当前为release 模式"); DPrint.printf("当前为release 模式");
return FlutterBugly.postCatchedException(() { return FlutterBugly.postCatchedException(() {

Loading…
Cancel
Save