Skip to content

Commit

Permalink
fix for instacrash on android
Browse files Browse the repository at this point in the history
  • Loading branch information
siddarthkay committed Mar 27, 2023
1 parent e9383eb commit ad55aff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ project.ext.react = [
* to guard against a hang in the UI thread after invoking status-go.
* Also a clean and rebuild is required when changing this. */
enableHermes: !disableHermes,
deleteDebugFilesForVariant: { false },
/* Disable 'The first definition was here.' warnings */
hermesFlagsRelease: ["-w"],
bundleInPr: true,
Expand Down Expand Up @@ -167,7 +168,7 @@ def getVersionName = { ->
}
/* Necessary because Android Studio uses wrong PWD.
* Is actually absolute directory path of this file. */
def configDir = project.projectDir.toString()
def configDir = project.projectDir.toString()
version = new File(configDir + '/../../VERSION').text
return version.replaceAll("\\s","")
}
Expand All @@ -190,7 +191,7 @@ def getEnvOrConfig = { varName ->

android {
ndkVersion rootProject.ext.ndkVersion

compileSdkVersion rootProject.ext.compileSdkVersion

compileOptions {
Expand Down

0 comments on commit ad55aff

Please sign in to comment.