From f55647e2339e0b609daef871e1403992eb4d5e28 Mon Sep 17 00:00:00 2001 From: erinn Date: Fri, 4 Feb 2022 16:15:43 -0800 Subject: [PATCH] multidex hex, yex --- android/app/src/main/AndroidManifest.xml | 2 +- .../app/FlutterMultiDexApplication.java | 20 +++++++++++++++++++ pubspec.lock | 14 ++++++------- 3 files changed, 28 insertions(+), 8 deletions(-) create mode 100644 android/app/src/main/java/io/flutter/app/FlutterMultiDexApplication.java diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index ff6890c9..d95c4e96 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -6,7 +6,7 @@ additional functionality it is fine to subclass or reimplement FlutterApplication and put your custom class here. --> diff --git a/android/app/src/main/java/io/flutter/app/FlutterMultiDexApplication.java b/android/app/src/main/java/io/flutter/app/FlutterMultiDexApplication.java new file mode 100644 index 00000000..9213f130 --- /dev/null +++ b/android/app/src/main/java/io/flutter/app/FlutterMultiDexApplication.java @@ -0,0 +1,20 @@ +// Generated file. +// If you wish to remove Flutter's multidex support, delete this entire file. + +package io.flutter.app; + +import android.content.Context; +import androidx.annotation.CallSuper; +import androidx.multidex.MultiDex; + +/** + * Extension of {@link io.flutter.app.FlutterApplication}, adding multidex support. + */ +public class FlutterMultiDexApplication extends FlutterApplication { + @Override + @CallSuper + protected void attachBaseContext(Context base) { + super.attachBaseContext(base); + MultiDex.install(this); + } +} diff --git a/pubspec.lock b/pubspec.lock index 10503b8f..c3459757 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -190,13 +190,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "0.5.6" - desktoasts: - dependency: "direct main" - description: - name: desktoasts - url: "https://pub.dartlang.org" - source: hosted - version: "0.0.2" desktop_notifications: dependency: "direct main" description: @@ -790,6 +783,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "2.3.8" + win_toast: + dependency: "direct main" + description: + name: win_toast + url: "https://pub.dartlang.org" + source: hosted + version: "0.0.2" window_manager: dependency: "direct main" description: