Skip to content

Commit 4236f03

Browse files
authored
Merge pull request #6 from Codebugged-Research/feature/reminder
Feature/reminder
2 parents 6663539 + 8020af0 commit 4236f03

File tree

27 files changed

+391
-85
lines changed

27 files changed

+391
-85
lines changed

android/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ GeneratedPluginRegistrant.java
88

99
# Remember to never publicly share your keystore.
1010
# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
11-
key.properties

android/app/build.gradle

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ apply plugin: 'kotlin-android'
2626
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
2727
apply plugin: 'com.google.gms.google-services'
2828

29+
def keystoreProperties = new Properties()
30+
def keystorePropertiesFile = rootProject.file('key.properties')
31+
if (keystorePropertiesFile.exists()) {
32+
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
33+
}
34+
2935
android {
3036
compileSdkVersion 30
3137

@@ -43,13 +49,28 @@ android {
4349
multiDexEnabled true
4450
}
4551

46-
buildTypes {
47-
release {
48-
// TODO: Add your own signing config for the release build.
49-
// Signing with the debug keys for now, so `flutter run --release` works.
50-
signingConfig signingConfigs.debug
51-
}
52-
}
52+
// buildTypes {
53+
// release {
54+
// // TODO: Add your own signing config for the release build.
55+
// // Signing with the debug keys for now, so `flutter run --release` works.
56+
// signingConfig signingConfigs.debug
57+
// }
58+
// }
59+
60+
signingConfigs {
61+
release {
62+
keyAlias keystoreProperties['keyAlias']
63+
keyPassword keystoreProperties['keyPassword']
64+
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
65+
storePassword keystoreProperties['storePassword']
66+
}
67+
}
68+
buildTypes {
69+
release {
70+
signingConfig signingConfigs.release
71+
}
72+
}
73+
5374
}
5475

5576
flutter {

android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
99
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
1010
<application
11-
android:label="propview"
11+
android:label="PropView"
1212
android:usesCleartextTraffic="true"
1313
android:icon="@mipmap/ic_launcher">
1414
<receiver android:name="com.dexterous.flutterlocalnotifications.ScheduledNotificationBootReceiver">
3.13 KB
Loading
1.51 KB
Loading
4.78 KB
Loading
9.68 KB
Loading
15.4 KB
Loading

android/key.properties

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
storePassword=$PropDial235#
2+
keyPassword=$PropDial235#
3+
keyAlias=upload
4+
storeFile=../upload-keystore.jks

android/upload-keystore.jks

2.56 KB
Binary file not shown.

0 commit comments

Comments
 (0)