Skip to content

Commit 9f3ffdf

Browse files
bugfix
unable to launch app.
1 parent e85b4cb commit 9f3ffdf

File tree

9 files changed

+312
-9923
lines changed

9 files changed

+312
-9923
lines changed

CometChatWorkspace/android/app/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ def enableHermes = project.ext.react.get("enableHermes", false);
124124

125125
android {
126126
compileSdkVersion rootProject.ext.compileSdkVersion
127+
ndkVersion rootProject.ext.ndkVersion
127128

128129
compileOptions {
129130
sourceCompatibility JavaVersion.VERSION_1_8
@@ -173,7 +174,7 @@ android {
173174
// Caution! In production, you need to generate your own keystore file.
174175
// see https://reactnative.dev/docs/signed-apk-android.
175176
signingConfig signingConfigs.release
176-
minifyEnabled false
177+
minifyEnabled enableProguardInReleaseBuilds
177178

178179
}
179180
}

CometChatWorkspace/android/app/src/main/assets/index.android.bundle

Lines changed: 0 additions & 1205 deletions
This file was deleted.

CometChatWorkspace/android/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ buildscript {
2222
}
2323
dependencies {
2424
classpath('com.android.tools.build:gradle:4.0.2')
25+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10"
2526
// NOTE: Do not place your application dependencies here; they belong
2627
// in the individual module build.gradle files
2728
}

0 commit comments

Comments
 (0)