Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Bump android dependencies and fix build after adding expo-localization (#993)

Leendert de Borst9a6c86569da1
diff --git a/apps/mobile-app/android/gradle.properties b/apps/mobile-app/android/gradle.properties
index 7531e9eb2..3a701538f 100644
--- a/apps/mobile-app/android/gradle.properties
+++ b/apps/mobile-app/android/gradle.properties
@@ -54,3 +54,7 @@ EX_DEV_CLIENT_NETWORK_INSPECTOR=true
# Use legacy packaging to compress native libraries in the resulting APK.
expo.useLegacyPackaging=false
+
+# Workaround for Expo modules compatibility with Android Gradle Plugin 8.x
+android.defaults.buildfeatures.buildconfig=true
+android.nonTransitiveRClass=false
diff --git a/apps/mobile-app/app.json b/apps/mobile-app/app.json
index 5eba5a570..14d6aa856 100644
--- a/apps/mobile-app/app.json
+++ b/apps/mobile-app/app.json
@@ -8,7 +8,11 @@
"scheme": "net.aliasvault.app",
"userInterfaceStyle": "automatic",
"newArchEnabled": true,
- "platforms": ["ios", "android", "web"],
+ "platforms": [
+ "ios",
+ "android",
+ "web"
+ ],
"ios": {
"supportsTablet": true,
"bundleIdentifier": "net.aliasvault.app",
@@ -51,7 +55,8 @@
"enforceNavigationBarContrast": false
}
}
- ]
+ ],
+ "expo-localization"
],
"experiments": {
"typedRoutes": true
diff --git a/apps/mobile-app/package-lock.json b/apps/mobile-app/package-lock.json
index 4a074a246..3e5f8e0c7 100644
--- a/apps/mobile-app/package-lock.json
+++ b/apps/mobile-app/package-lock.json
@@ -8,13 +8,13 @@
"name": "aliasvault-mobile-app",
"version": "0.0.0",
"dependencies": {
- "@expo/vector-icons": "^14.0.2",
+ "@expo/vector-icons": "~14.0.4",
"@hookform/resolvers": "^5.0.1",
"@react-native-async-storage/async-storage": "1.23.1",
"@react-navigation/bottom-tabs": "^7.2.0",
"@react-navigation/native": "^7.0.14",
"@types/jsrsasign": "^10.5.15",
- "expo": "~52.0.46",
+ "expo": "~52.0.47",
"expo-blur": "~14.0.3",
"expo-clipboard": "~7.0.1",
"expo-constants": "~17.0.8",
@@ -24,7 +24,7 @@
"expo-linear-gradient": "~14.0.2",
"expo-linking": "~7.0.5",
"expo-local-authentication": "~15.0.2",
- "expo-localization": "^16.1.6",
+ "expo-localization": "~16.0.1",
"expo-router": "~4.0.20",
"expo-sharing": "~13.0.1",
"expo-splash-screen": "~0.29.24",
@@ -49,9 +49,9 @@
"react-native-get-random-values": "^1.11.0",
"react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-quick-crypto": "^0.7.13",
- "react-native-reanimated": "~3.18.0",
+ "react-native-reanimated": "~3.16.1",
"react-native-safe-area-context": "4.12.0",
- "react-native-screens": "~4.11.1",
+ "react-native-screens": "~4.4.0",
"react-native-svg": "15.8.0",
"react-native-toast-message": "^2.2.1",
"react-native-web": "~0.19.13",
@@ -3155,14 +3155,12 @@
"license": "MIT"
},
"node_modules/@expo/vector-icons": {
- "version": "14.1.0",
- "resolved": "https://registry.npmjs.org/@expo/vector-icons/-/vector-icons-14.1.0.tgz",
- "integrity": "sha512-7T09UE9h8QDTsUeMGymB4i+iqvtEeaO5VvUjryFB4tugDTG/bkzViWA74hm5pfjjDEhYMXWaX112mcvhccmIwQ==",
+ "version": "14.0.4",
+ "resolved": "https://registry.npmjs.org/@expo/vector-icons/-/vector-icons-14.0.4.tgz",
+ "integrity": "sha512-+yKshcbpDfbV4zoXOgHxCwh7lkE9VVTT5T03OUlBsqfze1PLy6Hi4jp1vSb1GVbY6eskvMIivGVc9SKzIv0oEQ==",
"license": "MIT",
- "peerDependencies": {
- "expo-font": "*",
- "react": "*",
- "react-native": "*"
+ "dependencies": {
+ "prop-types": "^15.8.1"
}
},
"node_modules/@expo/ws-tunnel": {
@@ -10974,9 +10972,9 @@
}
},
"node_modules/expo": {
- "version": "52.0.46",
- "resolved": "https://registry.npmjs.org/expo/-/expo-52.0.46.tgz",
- "integrity": "sha512-JG89IVZLp7DWzgeiQb+0N43kWOF1DUm3esBvAS9cPFWZsM9x8nDXgbvtREcycDPA6E+yJsSC+086CigeUY6sVA==",
+ "version": "52.0.47",
+ "resolved": "https://registry.npmjs.org/expo/-/expo-52.0.47.tgz",
+ "integrity": "sha512-Mkvl7Qi2k+V3FdNRUD+yDj8GqU4IiYulLfl36BmSZs8lh/kCYPhTiyBLiEGPfz7d25QKbPWG727ESozbkbvatw==",
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.20.0",
@@ -10985,7 +10983,7 @@
"@expo/config-plugins": "~9.0.17",
"@expo/fingerprint": "0.11.11",
"@expo/metro-config": "0.19.12",
- "@expo/vector-icons": "^14.0.0",
+ "@expo/vector-icons": "~14.0.4",
"babel-preset-expo": "~12.0.11",
"expo-asset": "~11.0.5",
"expo-constants": "~17.0.8",
@@ -11238,9 +11236,9 @@
}
},
"node_modules/expo-localization": {
- "version": "16.1.6",
- "resolved": "https://registry.npmjs.org/expo-localization/-/expo-localization-16.1.6.tgz",
- "integrity": "sha512-v4HwNzs8QvyKHwl40MvETNEKr77v1o9/eVC8WCBY++DIlBAvonHyJe2R9CfqpZbC4Tlpl7XV+07nLXc8O5PQsA==",
+ "version": "16.0.1",
+ "resolved": "https://registry.npmjs.org/expo-localization/-/expo-localization-16.0.1.tgz",
+ "integrity": "sha512-kUrXiV/Pq9r7cG+TMt+Qa49IUQ9Y/czVwen4hmiboTclTopcWdIeCzYZv6JGtufoPpjEO9vVx1QJrXYl9V2u0Q==",
"license": "MIT",
"dependencies": {
"rtl-detect": "^1.0.2"
@@ -18057,9 +18055,9 @@
}
},
"node_modules/react-native-reanimated": {
- "version": "3.18.0",
- "resolved": "https://registry.npmjs.org/react-native-reanimated/-/react-native-reanimated-3.18.0.tgz",
- "integrity": "sha512-eVcNcqeOkMW+BUWAHdtvN3FKgC8J8wiEJkX6bNGGQaLS7m7e4amTfjIcqf/Ta+lerZLurmDaQ0lICI1CKPrb1Q==",
+ "version": "3.16.7",
+ "resolved": "https://registry.npmjs.org/react-native-reanimated/-/react-native-reanimated-3.16.7.tgz",
+ "integrity": "sha512-qoUUQOwE1pHlmQ9cXTJ2MX9FQ9eHllopCLiWOkDkp6CER95ZWeXhJCP4cSm6AD4jigL5jHcZf/SkWrg8ttZUsw==",
"license": "MIT",
"dependencies": {
"@babel/plugin-transform-arrow-functions": "^7.0.0-0",
@@ -18072,8 +18070,7 @@
"@babel/plugin-transform-unicode-regex": "^7.0.0-0",
"@babel/preset-typescript": "^7.16.7",
"convert-source-map": "^2.0.0",
- "invariant": "^2.2.4",
- "react-native-is-edge-to-edge": "1.1.7"
+ "invariant": "^2.2.4"
},
"peerDependencies": {
"@babel/core": "^7.0.0-0",
@@ -18092,13 +18089,12 @@
}
},
"node_modules/react-native-screens": {
- "version": "4.11.1",
- "resolved": "https://registry.npmjs.org/react-native-screens/-/react-native-screens-4.11.1.tgz",
- "integrity": "sha512-F0zOzRVa3ptZfLpD0J8ROdo+y1fEPw+VBFq1MTY/iyDu08al7qFUO5hLMd+EYMda5VXGaTFCa8q7bOppUszhJw==",
+ "version": "4.4.0",
+ "resolved": "https://registry.npmjs.org/react-native-screens/-/react-native-screens-4.4.0.tgz",
+ "integrity": "sha512-c7zc7Zwjty6/pGyuuvh9gK3YBYqHPOxrhXfG1lF4gHlojQSmIx2piNbNaV+Uykj+RDTmFXK0e/hA+fucw/Qozg==",
"license": "MIT",
"dependencies": {
"react-freeze": "^1.0.0",
- "react-native-is-edge-to-edge": "^1.1.7",
"warn-once": "^0.1.0"
},
"peerDependencies": {
diff --git a/apps/mobile-app/package.json b/apps/mobile-app/package.json
index a49022246..d51fa96e6 100644
--- a/apps/mobile-app/package.json
+++ b/apps/mobile-app/package.json
@@ -29,13 +29,13 @@
}
},
"dependencies": {
- "@expo/vector-icons": "^14.0.2",
+ "@expo/vector-icons": "~14.0.4",
"@hookform/resolvers": "^5.0.1",
"@react-native-async-storage/async-storage": "1.23.1",
"@react-navigation/bottom-tabs": "^7.2.0",
"@react-navigation/native": "^7.0.14",
"@types/jsrsasign": "^10.5.15",
- "expo": "~52.0.46",
+ "expo": "~52.0.47",
"expo-blur": "~14.0.3",
"expo-clipboard": "~7.0.1",
"expo-constants": "~17.0.8",
@@ -45,7 +45,7 @@
"expo-linear-gradient": "~14.0.2",
"expo-linking": "~7.0.5",
"expo-local-authentication": "~15.0.2",
- "expo-localization": "^16.1.6",
+ "expo-localization": "~16.0.1",
"expo-router": "~4.0.20",
"expo-sharing": "~13.0.1",
"expo-splash-screen": "~0.29.24",
@@ -70,9 +70,9 @@
"react-native-get-random-values": "^1.11.0",
"react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-quick-crypto": "^0.7.13",
- "react-native-reanimated": "~3.18.0",
+ "react-native-reanimated": "~3.16.1",
"react-native-safe-area-context": "4.12.0",
- "react-native-screens": "~4.11.1",
+ "react-native-screens": "~4.4.0",
"react-native-svg": "15.8.0",
"react-native-toast-message": "^2.2.1",
"react-native-web": "~0.19.13",