⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.
TypeScript bookmarkbookmark-managercollaborationnextjsreact-nativeread-it-laterself-hostedtypescript
minor fix
daniel31x13d222114d6299
diff --git a/apps/mobile/app.config.ts b/apps/mobile/app.config.tsindex 7adc2e74..b9925fd7 100644--- a/apps/mobile/app.config.ts+++ b/apps/mobile/app.config.ts@@ -108,6 +108,7 @@ const config: ExpoConfig = {],"./plugins/with-daynight-transparent-nav","./plugins/with-network-security-config",+ "./plugins/with-gradle-memory","expo-font","expo-web-browser","expo-apple-authentication",diff --git a/apps/mobile/plugins/with-gradle-memory.js b/apps/mobile/plugins/with-gradle-memory.jsnew file mode 100644index 00000000..30bac66e--- /dev/null+++ b/apps/mobile/plugins/with-gradle-memory.js@@ -0,0 +1,19 @@+const { withGradleProperties } = require("@expo/config-plugins");++// The Expo template defaults to -Xmx2048m -XX:MaxMetaspaceSize=512m, which makes lintVitalAnalyzeRelease crash with OutOfMemoryError: Metaspace on CI.+const JVM_ARGS =+ "-Xmx4096m -XX:MaxMetaspaceSize=1024m -XX:+HeapDumpOnOutOfMemoryError";++module.exports = function withGradleMemory(config) {+ return withGradleProperties(config, (c) => {+ c.modResults = c.modResults.filter(+ (item) => !(item.type === "property" && item.key === "org.gradle.jvmargs")+ );+ c.modResults.push({+ type: "property",+ key: "org.gradle.jvmargs",+ value: JVM_ARGS,+ });+ return c;+ });+};