diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index c2b8b2af..dd537a6f 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -109,7 +109,7 @@ jobs:
env:
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
- name: Setup mimir
- run: bash scripts/mimir/fdroid_build_mimir.sh
+ run: bash scripts/mimir/fdroid_build_mimir.sh x64 armv7 arm64
- name: Add keystore
run: echo "${{ secrets.ANDROID_KEYSTORE }}" | base64 -d > android/localmaterialnotes_keystore.jks
- name: Add key properties
diff --git a/.gitmodules b/.gitmodules
index a9ef89b5..ce737fda 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,7 +1,6 @@
[submodule ".isar"]
path = .isar
url = https://github.com/isar-community/isar
-
[submodule ".mimir"]
path = .mimir
url = https://github.com/GregoryConrad/mimir
diff --git a/.isar b/.isar
index 8aab130f..d0de372c 160000
--- a/.isar
+++ b/.isar
@@ -1 +1 @@
-Subproject commit 8aab130f965df2ee3fa1ce8cbbe1cf91a88b6914
+Subproject commit d0de372c7fb5ce656613384fcfa028e9046a4684
diff --git a/.mimir b/.mimir
index c00cdd19..3033b162 160000
--- a/.mimir
+++ b/.mimir
@@ -1 +1 @@
-Subproject commit c00cdd195fc11ef9e9af64d85e607411e792e316
+Subproject commit 3033b1625c9c433544abc5500f456ac88c1e7b01
diff --git a/android/.gitignore b/android/.gitignore
index 9eaee1a5..55afd919 100644
--- a/android/.gitignore
+++ b/android/.gitignore
@@ -7,7 +7,7 @@ gradle-wrapper.jar
GeneratedPluginRegistrant.java
# Remember to never publicly share your keystore.
-# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
+# See https://flutter.dev/to/reference-keystore
key.properties
**/*.keystore
-**/*.jks
\ No newline at end of file
+**/*.jks
diff --git a/android/app/build.gradle b/android/app/build.gradle
index 0d43d829..1b14148b 100644
--- a/android/app/build.gradle
+++ b/android/app/build.gradle
@@ -1,6 +1,7 @@
plugins {
id "com.android.application"
id "kotlin-android"
+ // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
id "dev.flutter.flutter-gradle-plugin"
}
@@ -35,9 +36,9 @@ android.applicationVariants.all { variant ->
}
android {
- namespace "com.maelchiotti.localmaterialnotes"
- compileSdkVersion flutter.compileSdkVersion
- ndkVersion flutter.ndkVersion
+ namespace = "com.maelchiotti.localmaterialnotes"
+ compileSdk = flutter.compileSdkVersion
+ ndkVersion = flutter.ndkVersion
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
@@ -48,10 +49,6 @@ android {
jvmTarget = JavaVersion.VERSION_1_8
}
- sourceSets {
- main.java.srcDirs += 'src/main/kotlin'
- }
-
dependenciesInfo {
includeInApk = false
includeInBundle = false
@@ -92,7 +89,7 @@ android {
}
flutter {
- source '../..'
+ source = "../.."
}
dependencies {
diff --git a/android/app/proguard-rules.pro b/android/app/proguard-rules.pro
index 116bc22f..1c0c8f8f 100644
--- a/android/app/proguard-rules.pro
+++ b/android/app/proguard-rules.pro
@@ -1 +1,7 @@
--keep class androidx.lifecycle.DefaultLifecycleObserver
\ No newline at end of file
+-keep class androidx.lifecycle.DefaultLifecycleObserver
+
+# TODO: check if this can be removed by removing the dependency to encrypt
+-dontwarn com.google.errorprone.annotations.CanIgnoreReturnValue
+-dontwarn com.google.errorprone.annotations.CheckReturnValue
+-dontwarn com.google.errorprone.annotations.Immutable
+-dontwarn com.google.errorprone.annotations.RestrictedApi
\ No newline at end of file
diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
index 30b4988e..c6be90b6 100644
--- a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -9,6 +9,7 @@
android:name=".MainActivity"
android:exported="true"
android:launchMode="singleTask"
+ android:taskAffinity=""
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
@@ -38,5 +39,15 @@
android:name="flutterEmbedding"
android:value="2" />
+
+
+
+
+
+
+
diff --git a/android/app/src/main/res/values-night/styles.xml b/android/app/src/main/res/values-night/styles.xml
index dbc9ea9f..06952be7 100644
--- a/android/app/src/main/res/values-night/styles.xml
+++ b/android/app/src/main/res/values-night/styles.xml
@@ -5,10 +5,6 @@
- @drawable/launch_background
- - false
- - false
- - false
- - shortEdges
- @drawable/launch_background
- - false
- - false
- - false
- - shortEdges