From b410f3028d90c8854a36f6f0bae35c84e092ab5b Mon Sep 17 00:00:00 2001 From: jefry Date: Thu, 28 Jan 2021 17:06:55 +0700 Subject: [PATCH] signing --- android/app/assetKey.jks | Bin 0 -> 2331 bytes android/app/build.gradle | 17 +++- android/app/src/main/AndroidManifest.xml | 4 +- .../app/src/main/res/mipmap-hdpi/launcher_icon.png | Bin 0 -> 8179 bytes .../app/src/main/res/mipmap-mdpi/launcher_icon.png | Bin 0 -> 4404 bytes .../src/main/res/mipmap-xhdpi/launcher_icon.png | Bin 0 -> 12781 bytes .../src/main/res/mipmap-xxhdpi/launcher_icon.png | Bin 0 -> 24136 bytes .../src/main/res/mipmap-xxxhdpi/launcher_icon.png | Bin 0 -> 37789 bytes android/key.properties | 4 + asset/icon.png | Bin 0 -> 164407 bytes ios/Runner.xcodeproj/project.pbxproj | 2 +- .../AppIcon.appiconset/Icon-App-1024x1024@1x.png | Bin 10932 -> 435830 bytes .../AppIcon.appiconset/Icon-App-20x20@1x.png | Bin 564 -> 1185 bytes .../AppIcon.appiconset/Icon-App-20x20@2x.png | Bin 1283 -> 3289 bytes .../AppIcon.appiconset/Icon-App-20x20@3x.png | Bin 1588 -> 6138 bytes .../AppIcon.appiconset/Icon-App-29x29@1x.png | Bin 1025 -> 2047 bytes .../AppIcon.appiconset/Icon-App-29x29@2x.png | Bin 1716 -> 5822 bytes .../AppIcon.appiconset/Icon-App-29x29@3x.png | Bin 1920 -> 10911 bytes .../AppIcon.appiconset/Icon-App-40x40@1x.png | Bin 1283 -> 3289 bytes .../AppIcon.appiconset/Icon-App-40x40@2x.png | Bin 1895 -> 9571 bytes .../AppIcon.appiconset/Icon-App-40x40@3x.png | Bin 2665 -> 18130 bytes .../AppIcon.appiconset/Icon-App-60x60@2x.png | Bin 2665 -> 18130 bytes .../AppIcon.appiconset/Icon-App-60x60@3x.png | Bin 3831 -> 34206 bytes .../AppIcon.appiconset/Icon-App-76x76@1x.png | Bin 1888 -> 8847 bytes .../AppIcon.appiconset/Icon-App-76x76@2x.png | Bin 3294 -> 26172 bytes .../AppIcon.appiconset/Icon-App-83.5x83.5@2x.png | Bin 3612 -> 30141 bytes pubspec.lock | 101 +++++++++++++++++---- pubspec.yaml | 12 ++- 28 files changed, 112 insertions(+), 28 deletions(-) create mode 100644 android/app/assetKey.jks create mode 100644 android/app/src/main/res/mipmap-hdpi/launcher_icon.png create mode 100644 android/app/src/main/res/mipmap-mdpi/launcher_icon.png create mode 100644 android/app/src/main/res/mipmap-xhdpi/launcher_icon.png create mode 100644 android/app/src/main/res/mipmap-xxhdpi/launcher_icon.png create mode 100644 android/app/src/main/res/mipmap-xxxhdpi/launcher_icon.png create mode 100644 android/key.properties create mode 100644 asset/icon.png diff --git a/android/app/assetKey.jks b/android/app/assetKey.jks new file mode 100644 index 0000000000000000000000000000000000000000..e0511e7c960d00c96b00ef3b92dab8e35b39f22d GIT binary patch literal 2331 zcmd5-c{CIX7oRPRG4@8qgc{2bW;9HeB!qafH^?@_*v7sa%b>>ydFT<(9@&x>$`Yw; zFIg&s7-I=h*%GG0`1HQ_o%7Cj&iDWK$M2l`yZ4@Z@A;j3?&Yj-RsaA1=m5aK0H%AF991l( z-&QUsOdFPISmx?bWV2~CG{_WD)1gc@d?Lj<&G-ytAwc43aoe2JiJBR=EE#a72uFrE zU!fd4xCKvg!X_QFIO7}`@chHo<{n%-(R+LopxP#6VdkN8BX{K_pb!uP8-p1lVr(@WTO|P9E~D>nf2yfp>COZ z@$X?t9kiuaon4m{e7pESF7)ef^SgP=a$&06E@HPs*JMoFnBBB^RgcNp=1vCLPbER? z8sMs$b5*$g?NE@k#Ka@4pcgW!!I85DnpfU`OS@8pq*5 z#tJl^igOFG!E8Eu5N5)uO6uJf_Tk^V&zn@Q-s_C`BdW76_`LAVSd@QU`^ki{Z2_Ts z(U(%?Q^dDI)+u?!EDz1DO2@tTV|^fCX-tr9Z_5kU^g)bM8~Z}y93a4AYRS>g==s!m zn0mc1qtMuJT^bxva--~Fn$eC*5+Z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{uGcY={H|LpmdyPex zsq2#@nWe1!R)@b|OrF+g%~9{ny&@Ue=VubE6rIxhElqEXcp^5x z%oUzxLDHbx_LsBv_T;86cS}^f6_;JCa+*?-s8|?PloF@~N{)0)6}Pr*@i3+h^2Jto zng+}WJK>IxRjodqL(_w1>xDpIAOKh{jrsQiA^9N)i0G3Er)!7R-|1y8hRlaow+!@+ z(xm?>;=#TihzJA_Z>=<2cJ9{?_Fx~m_g-g*E5PW&8TRkJJxVM1#xp*<$6iH=&d7De zy}7$K7b()E8I9ViD3SvUI(cPNdy1KDw%w3>_>zQD#Jgh*XofH=(?uY3&7VKls2{bX zUk)8dW-1N(7NklSNmOE8bf5O$XpW*pu6gOGS@7Qr z8kLt<#^)A_zUQDk@0tjRUobZ9_8EY_ovw6C=_!OV18Uket!FEXo|j+9Crf~wp0Oh1 e1;)@6`43iBgk*R&NzX%BYa|32S@yP)bn0K`BKGkB literal 0 HcmV?d00001 diff --git a/android/app/build.gradle b/android/app/build.gradle index 7660e29..ac73d12 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 28 @@ -44,12 +50,19 @@ android { 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 } } } diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 04cc598..51831ae 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,5 +1,5 @@ + package="com.thamringroup.assetstock">