diff --git a/lite_up/android/app/build.gradle b/lite_up/android/app/build.gradle index 39d81e2..6624924 100644 --- a/lite_up/android/app/build.gradle +++ b/lite_up/android/app/build.gradle @@ -26,6 +26,12 @@ apply plugin: 'com.google.gms.google-services' apply plugin: 'kotlin-android' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" +def keystoreProperties = new Properties() +def keystorePropertiesFile = rootProject.file('key.properties') +if (keystorePropertiesFile.exists()) { + keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) +} + android { compileSdkVersion 33 ndkVersion flutter.ndkVersion @@ -54,13 +60,20 @@ android { versionName flutterVersionName } + signingConfigs { + release { + keyAlias keystoreProperties['keyAlias'] + keyPassword keystoreProperties['keyPassword'] + storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null + storePassword keystoreProperties['storePassword'] + } + } buildTypes { 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.debug + signingConfig signingConfigs.release } } + } flutter { diff --git a/lite_up/android/app/src/main/AndroidManifest.xml b/lite_up/android/app/src/main/AndroidManifest.xml index 541278d..6ba6260 100644 --- a/lite_up/android/app/src/main/AndroidManifest.xml +++ b/lite_up/android/app/src/main/AndroidManifest.xml @@ -1,7 +1,7 @@ CFBundleInfoDictionaryVersion 6.0 CFBundleName - lite_up + LiteUp CFBundlePackageType APPL CFBundleShortVersionString diff --git a/lite_up/lib/assets/images/launcher_icon.png b/lite_up/lib/assets/images/launcher_icon.png new file mode 100644 index 0000000..8b0731c Binary files /dev/null and b/lite_up/lib/assets/images/launcher_icon.png differ diff --git a/lite_up/linux/CMakeLists.txt b/lite_up/linux/CMakeLists.txt index 3c5f550..c0b577e 100644 --- a/lite_up/linux/CMakeLists.txt +++ b/lite_up/linux/CMakeLists.txt @@ -4,10 +4,10 @@ project(runner LANGUAGES CXX) # The name of the executable created for the application. Change this to change # the on-disk name of your application. -set(BINARY_NAME "lite_up") +set(BINARY_NAME "LiteUp") # The unique GTK application identifier for this application. See: # https://wiki.gnome.org/HowDoI/ChooseApplicationID -set(APPLICATION_ID "com.example.lite_up") +set(APPLICATION_ID "com.incognito.lite_up") # Explicitly opt in to modern CMake behaviors to avoid warnings with recent # versions of CMake. diff --git a/lite_up/macos/Runner/Configs/AppInfo.xcconfig b/lite_up/macos/Runner/Configs/AppInfo.xcconfig index 6ee8155..d04b2e1 100644 --- a/lite_up/macos/Runner/Configs/AppInfo.xcconfig +++ b/lite_up/macos/Runner/Configs/AppInfo.xcconfig @@ -5,10 +5,10 @@ // 'flutter create' template. // The application's name. By default this is also the title of the Flutter window. -PRODUCT_NAME = lite_up +PRODUCT_NAME = LiteUp; // The application's bundle identifier -PRODUCT_BUNDLE_IDENTIFIER = com.example.liteUp +PRODUCT_BUNDLE_IDENTIFIER = com.incognito.lite_up; // The copyright displayed in application information PRODUCT_COPYRIGHT = Copyright © 2022 com.example. All rights reserved. diff --git a/lite_up/pubspec.lock b/lite_up/pubspec.lock index 8ac971e..8b15060 100644 --- a/lite_up/pubspec.lock +++ b/lite_up/pubspec.lock @@ -8,6 +8,20 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.0.5" + archive: + dependency: transitive + description: + name: archive + url: "https://pub.dartlang.org" + source: hosted + version: "3.3.2" + args: + dependency: transitive + description: + name: args + url: "https://pub.dartlang.org" + source: hosted + version: "2.3.1" async: dependency: transitive description: @@ -36,6 +50,20 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.3.1" + checked_yaml: + dependency: transitive + description: + name: checked_yaml + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.1" + cli_util: + dependency: transitive + description: + name: cli_util + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.5" clock: dependency: transitive description: @@ -153,13 +181,13 @@ packages: description: flutter source: sdk version: "0.0.0" - flutter_lints: - dependency: "direct dev" + flutter_launcher_icons: + dependency: "direct main" description: - name: flutter_lints + name: flutter_launcher_icons url: "https://pub.dartlang.org" source: hosted - version: "2.0.1" + version: "0.10.0" flutter_sound: dependency: "direct main" description: @@ -212,6 +240,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "4.0.2" + image: + dependency: transitive + description: + name: image + url: "https://pub.dartlang.org" + source: hosted + version: "3.2.2" intl: dependency: transitive description: @@ -226,13 +261,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "0.6.4" - lints: + json_annotation: dependency: transitive description: - name: lints + name: json_annotation url: "https://pub.dartlang.org" source: hosted - version: "2.0.1" + version: "4.7.0" logger: dependency: transitive description: @@ -359,6 +394,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "0.1.2" + petitparser: + dependency: transitive + description: + name: petitparser + url: "https://pub.dartlang.org" + source: hosted + version: "5.0.0" platform: dependency: transitive description: @@ -394,6 +436,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "4.1.0" + rename: + dependency: "direct main" + description: + name: rename + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.1" sky_engine: dependency: transitive description: flutter @@ -483,6 +532,20 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "0.2.0+2" + xml: + dependency: transitive + description: + name: xml + url: "https://pub.dartlang.org" + source: hosted + version: "6.1.0" + yaml: + dependency: transitive + description: + name: yaml + url: "https://pub.dartlang.org" + source: hosted + version: "3.1.1" sdks: dart: ">=2.17.1 <3.0.0" flutter: ">=3.0.0" diff --git a/lite_up/pubspec.yaml b/lite_up/pubspec.yaml index 2c89a39..19ed951 100644 --- a/lite_up/pubspec.yaml +++ b/lite_up/pubspec.yaml @@ -40,11 +40,28 @@ dependencies: cloud_firestore: ^4.0.2 flutter_sound: ^9.2.13 permission_handler: ^10.2.0 + flutter_launcher_icons: ^0.10.0 + rename: ^2.0.1 dev_dependencies: flutter_test: sdk: flutter +flutter_icons: + android: true + ios: true + image_path: "lib/assets/images/launcher_icon.png" + min_sdk_android: 21 # android min sdk min:16, default 21 + web: + generate: true + image_path: "lib/assets/images/launcher_icon.png" + background_color: "#F9EFB5" + theme_color: "#F9EFB5" + windows: + generate: true + image_path: "lib/assets/images/launcher_icon.png" + icon_size: 48 # min:48, max:256, default: 48 + # The "flutter_lints" package below contains a set of recommended lints to # encourage good coding practices. The lint set provided by the package is # activated in the `analysis_options.yaml` file located at the root of your diff --git a/lite_up/web/favicon.png b/lite_up/web/favicon.png index 8aaa46a..582cfb8 100644 Binary files a/lite_up/web/favicon.png and b/lite_up/web/favicon.png differ diff --git a/lite_up/web/icons/Icon-192.png b/lite_up/web/icons/Icon-192.png index b749bfe..3f56a3e 100644 Binary files a/lite_up/web/icons/Icon-192.png and b/lite_up/web/icons/Icon-192.png differ diff --git a/lite_up/web/icons/Icon-512.png b/lite_up/web/icons/Icon-512.png index 88cfd48..e8655ad 100644 Binary files a/lite_up/web/icons/Icon-512.png and b/lite_up/web/icons/Icon-512.png differ diff --git a/lite_up/web/icons/Icon-maskable-192.png b/lite_up/web/icons/Icon-maskable-192.png index eb9b4d7..3f56a3e 100644 Binary files a/lite_up/web/icons/Icon-maskable-192.png and b/lite_up/web/icons/Icon-maskable-192.png differ diff --git a/lite_up/web/icons/Icon-maskable-512.png b/lite_up/web/icons/Icon-maskable-512.png index d69c566..e8655ad 100644 Binary files a/lite_up/web/icons/Icon-maskable-512.png and b/lite_up/web/icons/Icon-maskable-512.png differ diff --git a/lite_up/web/index.html b/lite_up/web/index.html index c6e1db8..8f7f9fb 100644 --- a/lite_up/web/index.html +++ b/lite_up/web/index.html @@ -29,7 +29,7 @@ - lite_up + LiteUp