From 442ed0b21fa09e65e7aa60facab54351625ae049 Mon Sep 17 00:00:00 2001 From: dhanrajdc7 Date: Mon, 21 Feb 2022 21:00:35 +0530 Subject: [PATCH] :zap: Completed 1.0 --- .gitignore | 2 +- android/.gitignore | 1 + android/app/build.gradle | 21 +++++++++++++++++---- android/app/src/main/AndroidManifest.xml | 2 +- ios/Runner.xcodeproj/project.pbxproj | 3 +++ ios/Runner/Info.plist | 2 +- lib/utils/themes/my_themes.dart | 13 +++++++++++++ lib/views/screens/features_view.dart | 3 +-- web/index.html | 2 +- 9 files changed, 39 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 0fa6b67..ad302c8 100644 --- a/.gitignore +++ b/.gitignore @@ -43,4 +43,4 @@ app.*.map.json # Android Studio will place build artifacts here /android/app/debug /android/app/profile -/android/app/release +/android/app/release \ No newline at end of file diff --git a/android/.gitignore b/android/.gitignore index 6f56801..290139e 100644 --- a/android/.gitignore +++ b/android/.gitignore @@ -11,3 +11,4 @@ GeneratedPluginRegistrant.java key.properties **/*.keystore **/*.jks +app/upload-keystore.jks \ No newline at end of file diff --git a/android/app/build.gradle b/android/app/build.gradle index 8ee6702..b33ca06 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -25,6 +25,12 @@ apply plugin: 'com.android.application' 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 flutter.compileSdkVersion @@ -43,20 +49,27 @@ android { defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). - applicationId "com.example.unmutify" + applicationId "com.dhanrajchavan.unmutify" minSdkVersion 21 targetSdkVersion flutter.targetSdkVersion versionCode flutterVersionCode.toInteger() 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/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 4142f51..2bd86f0 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,5 +1,5 @@ + package="com.dhanrajchavan.unmutify"> diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 52428a1..c103eba 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -359,6 +359,7 @@ ENABLE_BITCODE = NO; EXTRA_FRONT_END_OPTIONS = "--no-sound-null-safety"; INFOPLIST_FILE = Runner/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -490,6 +491,7 @@ ENABLE_BITCODE = NO; EXTRA_FRONT_END_OPTIONS = "--no-sound-null-safety"; INFOPLIST_FILE = Runner/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -515,6 +517,7 @@ ENABLE_BITCODE = NO; EXTRA_FRONT_END_OPTIONS = "--no-sound-null-safety"; INFOPLIST_FILE = Runner/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index 1e49890..6f1a6f1 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -13,7 +13,7 @@ CFBundleInfoDictionaryVersion 6.0 CFBundleName - unmutify + Unmutify CFBundlePackageType APPL CFBundleShortVersionString diff --git a/lib/utils/themes/my_themes.dart b/lib/utils/themes/my_themes.dart index 3570cb7..38f64a6 100644 --- a/lib/utils/themes/my_themes.dart +++ b/lib/utils/themes/my_themes.dart @@ -1,4 +1,5 @@ import 'package:flutter/material.dart'; +import 'package:flutter/services.dart'; class MyThemes { @@ -8,10 +9,16 @@ class MyThemes { appBarTheme: AppBarTheme( backgroundColor: Colors.white, centerTitle: true, + iconTheme: IconThemeData( + color: Colors.black + ), titleTextStyle: TextStyle( color: Colors.black, fontSize: 24, fontWeight: FontWeight.bold + ), + systemOverlayStyle: SystemUiOverlayStyle( + statusBarColor: Colors.white, ) ), cardTheme: CardTheme( @@ -43,6 +50,12 @@ class MyThemes { color: Colors.white, fontSize: 24, fontWeight: FontWeight.bold + ), + iconTheme: IconThemeData( + color: Colors.white + ), + systemOverlayStyle: SystemUiOverlayStyle( + statusBarColor: Colors.black ) ), cardTheme: CardTheme( diff --git a/lib/views/screens/features_view.dart b/lib/views/screens/features_view.dart index c4fb588..f3bfb3c 100644 --- a/lib/views/screens/features_view.dart +++ b/lib/views/screens/features_view.dart @@ -17,7 +17,7 @@ class _FeaturesViewState extends State { final List allFeatures = [ Feature(iconData: Mdi.stickerEmoji, title: "Emojify", subTitle: "Interact with 1000+ emojis"), Feature(iconData: Mdi.textToSpeech, title: "Textify", subTitle: "Convert your text into audio words"), - Feature(iconData: Mdi.draw, title: "Drawify", subTitle: "Draw on canvas easily"), + Feature(iconData: Mdi.draw, title: "Drawify", subTitle: "Draw your thoughts on canvas"), Feature(iconData: Mdi.currencyUsdOff, title: "Free", subTitle: "Open Source & free to use"), ]; @@ -27,7 +27,6 @@ class _FeaturesViewState extends State { child: Scaffold( appBar: AppBar(title: Text('Features'),), body: Container( - child: SingleChildScrollView( child: Column( children: [ diff --git a/web/index.html b/web/index.html index 77dc680..9bf33d6 100644 --- a/web/index.html +++ b/web/index.html @@ -30,7 +30,7 @@ - unmutify + Unmutify