Skip to content

Commit 2223667

Browse files
committed
made evacuatioin updates
1 parent 791b0ab commit 2223667

File tree

14 files changed

+2943
-592
lines changed

14 files changed

+2943
-592
lines changed

android/app/build.gradle

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ plugins {
88
id "dev.flutter.flutter-gradle-plugin"
99
}
1010

11+
// Add this at the top of the file, before the android { ... } block
12+
def keystoreProperties = new Properties()
13+
def keystorePropertiesFile = rootProject.file('key.properties')
14+
if (keystorePropertiesFile.exists()) {
15+
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
16+
}
17+
1118
android {
1219
namespace = "com.example.disaster_management"
1320
compileSdk = flutter.compileSdkVersion
@@ -23,10 +30,7 @@ android {
2330
}
2431

2532
defaultConfig {
26-
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
2733
applicationId = "com.example.disaster_management"
28-
// You can update the following values to match your application needs.
29-
// For more information, see: https://flutter.dev/to/review-gradle-config.
3034
minSdk = flutter.minSdkVersion
3135
targetSdk = flutter.targetSdkVersion
3236
versionCode = flutter.versionCode
@@ -36,6 +40,25 @@ android {
3640
'com.google.firebase.auth.RecaptchaEnabled': 'true'
3741
]
3842
}
43+
44+
signingConfigs {
45+
release {
46+
keyAlias keystoreProperties['keyAlias']
47+
keyPassword keystoreProperties['keyPassword']
48+
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
49+
storePassword keystoreProperties['storePassword']
50+
}
51+
}
52+
53+
buildTypes {
54+
release {
55+
// Removed duplicate applicationId and other properties that should only be in defaultConfig
56+
signingConfig signingConfigs.release
57+
minifyEnabled false // Change this to false
58+
shrinkResources false // Add this line
59+
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
60+
}
61+
}
3962
}
4063

4164
flutter {

android/gradle.properties

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
org.gradle.jvmargs=-Xmx4G -XX:MaxMetaspaceSize=2G -XX:+HeapDumpOnOutOfMemoryError
1+
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
2+
org.gradle.daemon=true
3+
org.gradle.parallel=true
4+
org.gradle.configureondemand=true
25
android.useAndroidX=true
36
android.enableJetifier=true

bash.exe.stackdump

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
Stack trace:
2+
Frame Function Args
3+
0007FFFFBBD0 00021005FE8E (000210285F68, 00021026AB6E, 0007FFFFBBD0, 0007FFFFAAD0) msys-2.0.dll+0x1FE8E
4+
0007FFFFBBD0 0002100467F9 (000000000000, 000000000000, 000000000000, 0007FFFFBEA8) msys-2.0.dll+0x67F9
5+
0007FFFFBBD0 000210046832 (000210286019, 0007FFFFBA88, 0007FFFFBBD0, 000000000000) msys-2.0.dll+0x6832
6+
0007FFFFBBD0 000210068CF6 (000000000000, 000000000000, 000000000000, 000000000000) msys-2.0.dll+0x28CF6
7+
0007FFFFBBD0 000210068E24 (0007FFFFBBE0, 000000000000, 000000000000, 000000000000) msys-2.0.dll+0x28E24
8+
0007FFFFBEB0 00021006A225 (0007FFFFBBE0, 000000000000, 000000000000, 000000000000) msys-2.0.dll+0x2A225
9+
End of stack trace
10+
Loaded modules:
11+
000100400000 bash.exe
12+
7FFF4D5F0000 ntdll.dll
13+
7FFF4CD40000 KERNEL32.DLL
14+
7FFF4B080000 KERNELBASE.dll
15+
7FFF4B6B0000 USER32.dll
16+
7FFF4B4E0000 win32u.dll
17+
7FFF4C690000 GDI32.dll
18+
7FFF4AF30000 gdi32full.dll
19+
7FFF4AE90000 msvcp_win.dll
20+
7FFF4B510000 ucrtbase.dll
21+
000210040000 msys-2.0.dll
22+
7FFF4CC90000 advapi32.dll
23+
7FFF4B610000 msvcrt.dll
24+
7FFF4B850000 sechost.dll
25+
7FFF4BF90000 RPCRT4.dll
26+
7FFF4B050000 bcrypt.dll
27+
7FFF49F20000 CRYPTBASE.DLL
28+
7FFF4AD30000 bcryptPrimitives.dll
29+
7FFF4CE10000 IMM32.DLL

0 commit comments

Comments
 (0)