Skip to content

Commit

Permalink
2786: Fix permission and fix memory issues
Browse files Browse the repository at this point in the history
  • Loading branch information
steffenkleinle committed Oct 2, 2024
1 parent 5066c82 commit c9fd350
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion native/android/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions native/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
xmlns:tools="http://schemas.android.com/tools">

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

<application
Expand Down
2 changes: 1 addition & 1 deletion native/android/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ lane :build do |options|

gradle_system_properties = {
# 2GB Gradle + 1GB dex + 2-2.5GB RN < 6GB of circleci resource class medium+
:"org.gradle.jvmargs" => "-Xms512m -Xmx2024m",
:"org.gradle.jvmargs" => "-Xmx4G -Dkotlin.daemon.jvm.options=-Xmx2G -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC -Dfile.encoding=UTF-8",
:"org.gradle.daemon" => false,
# react-native is currently only guaranteed to work with JDK 17
# See https://stackoverflow.com/questions/69619829/could-not-resolve-all-files-for-configuration-appandroidjdkimage
Expand Down

0 comments on commit c9fd350

Please sign in to comment.