diff --git a/.metadata b/.metadata index d5fce604..2d1be89a 100644 --- a/.metadata +++ b/.metadata @@ -4,7 +4,42 @@ # This file should be version controlled and should not be manually edited. version: - revision: 4cceeaa075d412ae0b56cbf0b7032c2754129c8c - channel: master + revision: "2663184aa79047d0a33a14a3b607954f8fdd8730" + channel: "stable" project_type: app + +# Tracks metadata for the flutter migrate command +migration: + platforms: + - platform: root + create_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730 + base_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730 + - platform: android + create_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730 + base_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730 + - platform: ios + create_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730 + base_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730 + - platform: linux + create_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730 + base_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730 + - platform: macos + create_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730 + base_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730 + - platform: web + create_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730 + base_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730 + - platform: windows + create_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730 + base_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730 + + # User provided section + + # List of Local paths (relative to this file) that should be + # ignored by the migrate tool. + # + # Files that are not part of the templates will be ignored by default. + unmanaged_files: + - 'lib/main.dart' + - 'ios/Runner.xcodeproj/project.pbxproj' diff --git a/android/.gitignore b/android/.gitignore old mode 100755 new mode 100644 index 6f568019..55afd919 --- 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 diff --git a/android/app/build.gradle b/android/app/build.gradle index 8537d176..00a13266 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -1,32 +1,11 @@ plugins { id "com.android.application" + // START: FlutterFire Configuration + id 'com.google.gms.google-services' + // END: FlutterFire Configuration id "kotlin-android" // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins. id "dev.flutter.flutter-gradle-plugin" - id "com.google.firebase.crashlytics" -} - -def localProperties = new Properties() -def localPropertiesFile = rootProject.file('local.properties') -if (localPropertiesFile.exists()) { - localPropertiesFile.withReader('UTF-8') { reader -> - localProperties.load(reader) - } -} - -def flutterVersionCode = localProperties.getProperty('flutter.versionCode') -if (flutterVersionCode == null) { - flutterVersionCode = '1' -} - -def flutterVersionName = localProperties.getProperty('flutter.versionName') -if (flutterVersionName == null) { - flutterVersionName = '1.0' -} - -def flutterMinSdkVersion = localProperties.getProperty('flutter.minSdkVersion') -if (flutterMinSdkVersion == null) { - flutterMinSdkVersion = 30 } def keystoreProperties = new Properties() @@ -35,62 +14,67 @@ if (keystorePropertiesFile.exists()) { keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) } - -apply plugin: 'com.google.gms.google-services' - android { - namespace "com.caelitechnologies.rotary_nl_rye" - compileSdkVersion flutter.compileSdkVersion - ndkVersion flutter.ndkVersion + namespace = "com.caelitechnologies.rotary_nl_rye" + compileSdk = flutter.compileSdkVersion + // ndkVersion = flutter.ndkVersion + ndkVersion = "26.1.10909125" compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 + // Enable core library desugaring + coreLibraryDesugaringEnabled true + } + + kotlinOptions { + jvmTarget = JavaVersion.VERSION_1_8 } defaultConfig { - applicationId "com.caelitechnologies.rotary_nl_rye" - minSdkVersion flutterMinSdkVersion - targetSdkVersion flutter.targetSdkVersion - versionCode flutterVersionCode.toInteger() - versionName flutterVersionName + // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). + applicationId = "com.caelitechnologies.rotary_nl_rye" + // You can update the following values to match your application needs. + // For more information, see: https://flutter.dev/to/review-gradle-config. + minSdk = 26 + targetSdk = flutter.targetSdkVersion + versionCode = flutter.versionCode + versionName = flutter.versionName + multiDexEnabled true } signingConfigs { - release { - keyAlias keystoreProperties['keyAlias'] - keyPassword keystoreProperties['keyPassword'] - storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null - storePassword keystoreProperties['storePassword'] - } - } + release { + keyAlias = keystoreProperties['keyAlias'] + keyPassword = keystoreProperties['keyPassword'] + storeFile = keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null + storePassword = keystoreProperties['storePassword'] + } + } buildTypes { - debug{ - signingConfig signingConfigs.debug + release { + minifyEnabled false + shrinkResources false + signingConfig signingConfigs.release + ndk { + debugSymbolLevel 'FULL' // Include full debug symbols + } } - profile { + debug { signingConfig signingConfigs.debug } - release { - // TODO: Add your own signing config for the release build. - // Signing with the debug keys for now, so `flutter run --release` works. - signingConfig signingConfigs.release - // signingConfig signingConfigs.debug - minifyEnabled false - shrinkResources false - firebaseCrashlytics { - mappingFileUploadEnabled false - } - } } } flutter { - source '../..' + source = "../.." } dependencies { - implementation "androidx.multidex:multidex:2.0.1" - implementation 'com.google.android.play:integrity:1.4.0' + // Your other dependencies... + + implementation(platform("com.google.firebase:firebase-bom:33.3.0")) + // Add core library desugaring dependency + coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.2' } \ No newline at end of file diff --git a/android/app/src/debug/AndroidManifest.xml b/android/app/src/debug/AndroidManifest.xml index 92dc5d97..399f6981 100644 --- a/android/app/src/debug/AndroidManifest.xml +++ b/android/app/src/debug/AndroidManifest.xml @@ -1,6 +1,6 @@ - - diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 44e059a0..7e915089 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,111 +1,61 @@ - - - - + + + + + - - + + - - + + - - + + - - + + - - + + - - - - - - + + + - - - + - - - - - - - - - - - - - + - \ No newline at end of file + + + + + + + + diff --git a/android/app/src/main/java/io/flutter/app/FlutterMultiDexApplication.java b/android/app/src/main/java/io/flutter/app/FlutterMultiDexApplication.java deleted file mode 100644 index 752fc185..00000000 --- a/android/app/src/main/java/io/flutter/app/FlutterMultiDexApplication.java +++ /dev/null @@ -1,25 +0,0 @@ -// Generated file. -// -// If you wish to remove Flutter's multidex support, delete this entire file. -// -// Modifications to this file should be done in a copy under a different name -// as this file may be regenerated. - -package io.flutter.app; - -import android.app.Application; -import android.content.Context; -import androidx.annotation.CallSuper; -import androidx.multidex.MultiDex; - -/** - * Extension of {@link android.app.Application}, adding multidex support. - */ -public class FlutterMultiDexApplication extends Application { - @Override - @CallSuper - protected void attachBaseContext(Context base) { - super.attachBaseContext(base); - MultiDex.install(this); - } -} diff --git a/android/app/src/main/kotlin/com/example/rotary_nl_rye/MainActivity.kt b/android/app/src/main/kotlin/com/caelitechnologies/rotary_nl_rye/MainActivity.kt similarity index 70% rename from android/app/src/main/kotlin/com/example/rotary_nl_rye/MainActivity.kt rename to android/app/src/main/kotlin/com/caelitechnologies/rotary_nl_rye/MainActivity.kt index c18e43b5..c82a8fe0 100644 --- a/android/app/src/main/kotlin/com/example/rotary_nl_rye/MainActivity.kt +++ b/android/app/src/main/kotlin/com/caelitechnologies/rotary_nl_rye/MainActivity.kt @@ -2,5 +2,4 @@ package com.caelitechnologies.rotary_nl_rye import io.flutter.embedding.android.FlutterActivity -class MainActivity: FlutterActivity() { -} +class MainActivity: FlutterActivity() diff --git a/android/app/src/main/kotlin/com/example/rotary_nl_rye/Application.kt b/android/app/src/main/kotlin/com/example/rotary_nl_rye/Application.kt deleted file mode 100644 index 4dda7a70..00000000 --- a/android/app/src/main/kotlin/com/example/rotary_nl_rye/Application.kt +++ /dev/null @@ -1,15 +0,0 @@ -package com.caelitechnologies.rotary_nl_rye -import io.flutter.app.FlutterApplication -import io.flutter.plugin.common.PluginRegistry -import io.flutter.plugin.common.PluginRegistry.PluginRegistrantCallback -import io.flutter.view.FlutterMain -// import io.flutter.plugins.firebase.messaging.FlutterFirebaseMessagingBackgroundService; - -class Application : FlutterApplication() { - - override fun onCreate() { - super.onCreate() - // FlutterFirebaseMessagingBackgroundService.setPluginRegistrant(this); - FlutterMain.startInitialization(this) - } -} \ No newline at end of file diff --git a/android/app/src/main/res/drawable-anydpi/home.xml b/android/app/src/main/res/drawable-anydpi/home.xml deleted file mode 100644 index cd6cfd6a..00000000 --- a/android/app/src/main/res/drawable-anydpi/home.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - diff --git a/android/app/src/main/res/drawable-hdpi/android12splash.png b/android/app/src/main/res/drawable-hdpi/android12splash.png new file mode 100644 index 00000000..3456862f Binary files /dev/null and b/android/app/src/main/res/drawable-hdpi/android12splash.png differ diff --git a/android/app/src/main/res/drawable-hdpi/home.png b/android/app/src/main/res/drawable-hdpi/home.png deleted file mode 100644 index c6da75fe..00000000 Binary files a/android/app/src/main/res/drawable-hdpi/home.png and /dev/null differ diff --git a/android/app/src/main/res/drawable-hdpi/ic_stat_rotary_logo_icon.png b/android/app/src/main/res/drawable-hdpi/ic_stat_rotary_logo_icon.png deleted file mode 100644 index fbd222ef..00000000 Binary files a/android/app/src/main/res/drawable-hdpi/ic_stat_rotary_logo_icon.png and /dev/null differ diff --git a/android/app/src/main/res/drawable-hdpi/splash.png b/android/app/src/main/res/drawable-hdpi/splash.png index bfade777..42123ee1 100644 Binary files a/android/app/src/main/res/drawable-hdpi/splash.png and b/android/app/src/main/res/drawable-hdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-mdpi/android12splash.png b/android/app/src/main/res/drawable-mdpi/android12splash.png new file mode 100644 index 00000000..a65f45b5 Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/android12splash.png differ diff --git a/android/app/src/main/res/drawable-mdpi/home.png b/android/app/src/main/res/drawable-mdpi/home.png deleted file mode 100644 index cb1f92f1..00000000 Binary files a/android/app/src/main/res/drawable-mdpi/home.png and /dev/null differ diff --git a/android/app/src/main/res/drawable-mdpi/ic_stat_rotary_logo_icon.png b/android/app/src/main/res/drawable-mdpi/ic_stat_rotary_logo_icon.png deleted file mode 100644 index be076f04..00000000 Binary files a/android/app/src/main/res/drawable-mdpi/ic_stat_rotary_logo_icon.png and /dev/null differ diff --git a/android/app/src/main/res/drawable-mdpi/splash.png b/android/app/src/main/res/drawable-mdpi/splash.png index d2b56242..02c785a6 100644 Binary files a/android/app/src/main/res/drawable-mdpi/splash.png and b/android/app/src/main/res/drawable-mdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-night-hdpi/android12splash.png b/android/app/src/main/res/drawable-night-hdpi/android12splash.png new file mode 100644 index 00000000..3456862f Binary files /dev/null and b/android/app/src/main/res/drawable-night-hdpi/android12splash.png differ diff --git a/android/app/src/main/res/drawable-night-mdpi/android12splash.png b/android/app/src/main/res/drawable-night-mdpi/android12splash.png new file mode 100644 index 00000000..a65f45b5 Binary files /dev/null and b/android/app/src/main/res/drawable-night-mdpi/android12splash.png differ diff --git a/android/app/src/main/res/drawable-night-xhdpi/android12splash.png b/android/app/src/main/res/drawable-night-xhdpi/android12splash.png new file mode 100644 index 00000000..84a0af34 Binary files /dev/null and b/android/app/src/main/res/drawable-night-xhdpi/android12splash.png differ diff --git a/android/app/src/main/res/drawable-night-xxhdpi/android12splash.png b/android/app/src/main/res/drawable-night-xxhdpi/android12splash.png new file mode 100644 index 00000000..177c46c0 Binary files /dev/null and b/android/app/src/main/res/drawable-night-xxhdpi/android12splash.png differ diff --git a/android/app/src/main/res/drawable-night-xxxhdpi/android12splash.png b/android/app/src/main/res/drawable-night-xxxhdpi/android12splash.png new file mode 100644 index 00000000..d4c0956a Binary files /dev/null and b/android/app/src/main/res/drawable-night-xxxhdpi/android12splash.png differ diff --git a/android/app/src/main/res/drawable-v21/launch_background.xml b/android/app/src/main/res/drawable-v21/launch_background.xml old mode 100755 new mode 100644 diff --git a/android/app/src/main/res/drawable-xhdpi/android12splash.png b/android/app/src/main/res/drawable-xhdpi/android12splash.png new file mode 100644 index 00000000..84a0af34 Binary files /dev/null and b/android/app/src/main/res/drawable-xhdpi/android12splash.png differ diff --git a/android/app/src/main/res/drawable-xhdpi/home.png b/android/app/src/main/res/drawable-xhdpi/home.png deleted file mode 100644 index f6c17d5f..00000000 Binary files a/android/app/src/main/res/drawable-xhdpi/home.png and /dev/null differ diff --git a/android/app/src/main/res/drawable-xhdpi/ic_stat_rotary_logo_icon.png b/android/app/src/main/res/drawable-xhdpi/ic_stat_rotary_logo_icon.png deleted file mode 100644 index 33b42205..00000000 Binary files a/android/app/src/main/res/drawable-xhdpi/ic_stat_rotary_logo_icon.png and /dev/null differ diff --git a/android/app/src/main/res/drawable-xhdpi/splash.png b/android/app/src/main/res/drawable-xhdpi/splash.png index 63234f5f..acde70d1 100644 Binary files a/android/app/src/main/res/drawable-xhdpi/splash.png and b/android/app/src/main/res/drawable-xhdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-xxhdpi/android12splash.png b/android/app/src/main/res/drawable-xxhdpi/android12splash.png new file mode 100644 index 00000000..177c46c0 Binary files /dev/null and b/android/app/src/main/res/drawable-xxhdpi/android12splash.png differ diff --git a/android/app/src/main/res/drawable-xxhdpi/home.png b/android/app/src/main/res/drawable-xxhdpi/home.png deleted file mode 100644 index 40d14fb8..00000000 Binary files a/android/app/src/main/res/drawable-xxhdpi/home.png and /dev/null differ diff --git a/android/app/src/main/res/drawable-xxhdpi/ic_stat_rotary_logo_icon.png b/android/app/src/main/res/drawable-xxhdpi/ic_stat_rotary_logo_icon.png deleted file mode 100644 index 1fd462c2..00000000 Binary files a/android/app/src/main/res/drawable-xxhdpi/ic_stat_rotary_logo_icon.png and /dev/null differ diff --git a/android/app/src/main/res/drawable-xxhdpi/splash.png b/android/app/src/main/res/drawable-xxhdpi/splash.png index 95ad1fa8..a0df5237 100644 Binary files a/android/app/src/main/res/drawable-xxhdpi/splash.png and b/android/app/src/main/res/drawable-xxhdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-xxxhdpi/android12splash.png b/android/app/src/main/res/drawable-xxxhdpi/android12splash.png new file mode 100644 index 00000000..d4c0956a Binary files /dev/null and b/android/app/src/main/res/drawable-xxxhdpi/android12splash.png differ diff --git a/android/app/src/main/res/drawable-xxxhdpi/ic_stat_rotary_logo_icon.png b/android/app/src/main/res/drawable-xxxhdpi/ic_stat_rotary_logo_icon.png deleted file mode 100644 index e55c2afe..00000000 Binary files a/android/app/src/main/res/drawable-xxxhdpi/ic_stat_rotary_logo_icon.png and /dev/null differ diff --git a/android/app/src/main/res/drawable/launch_background.xml b/android/app/src/main/res/drawable/launch_background.xml old mode 100755 new mode 100644 diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png old mode 100755 new mode 100644 diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png old mode 100755 new mode 100644 diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png old mode 100755 new mode 100644 diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png old mode 100755 new mode 100644 diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png old mode 100755 new mode 100644 diff --git a/android/app/src/main/res/values-night-v31/styles.xml b/android/app/src/main/res/values-night-v31/styles.xml index a3653cb1..4a30431c 100644 --- a/android/app/src/main/res/values-night-v31/styles.xml +++ b/android/app/src/main/res/values-night-v31/styles.xml @@ -1,11 +1,14 @@ - +