Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Remove expo sqlite lib, update iOS pods, fix iOS quick autofill sanity checks (#1325)
Leendert de Borstbcd3673a0065
diff --git a/apps/mobile-app/app.json b/apps/mobile-app/app.jsonindex 4d278140a..79e80aa31 100644--- a/apps/mobile-app/app.json+++ b/apps/mobile-app/app.json@@ -37,7 +37,6 @@},"plugins": ["expo-router",- "expo-sqlite",["expo-splash-screen",{diff --git a/apps/mobile-app/ios/AliasVault.xcodeproj/project.pbxproj b/apps/mobile-app/ios/AliasVault.xcodeproj/project.pbxprojindex 061e10f65..ee1c36a1f 100644--- a/apps/mobile-app/ios/AliasVault.xcodeproj/project.pbxproj+++ b/apps/mobile-app/ios/AliasVault.xcodeproj/project.pbxproj@@ -3,7 +3,7 @@archiveVersion = 1;classes = {};- objectVersion = 70;+ objectVersion = 60;objects = {/* Begin PBXBuildFile section */@@ -269,7 +269,7 @@/* End PBXFileReference section *//* Begin PBXFileSystemSynchronizedBuildFileExceptionSet section */- CEE9098F2DA548C7008D568F /* PBXFileSystemSynchronizedBuildFileExceptionSet */ = {+ CEE9098F2DA548C7008D568F /* Exceptions for "Autofill" folder in "Autofill" target */ = {isa = PBXFileSystemSynchronizedBuildFileExceptionSet;membershipExceptions = (Info.plist,@@ -279,13 +279,84 @@/* End PBXFileSystemSynchronizedBuildFileExceptionSet section *//* Begin PBXFileSystemSynchronizedRootGroup section */- CE59C7602E4F47FD0024A246 /* VaultUITests */ = {isa = PBXFileSystemSynchronizedRootGroup; explicitFileTypes = {}; explicitFolders = (); path = VaultUITests; sourceTree = "<group>"; };- CE77825E2EA1822400A75E6F /* VaultUtils */ = {isa = PBXFileSystemSynchronizedRootGroup; explicitFileTypes = {}; explicitFolders = (); path = VaultUtils; sourceTree = "<group>"; };- CEE480882DBE86DC00F4A367 /* VaultStoreKit */ = {isa = PBXFileSystemSynchronizedRootGroup; explicitFileTypes = {}; explicitFolders = (); path = VaultStoreKit; sourceTree = "<group>"; };- CEE480972DBE86DD00F4A367 /* VaultStoreKitTests */ = {isa = PBXFileSystemSynchronizedRootGroup; explicitFileTypes = {}; explicitFolders = (); path = VaultStoreKitTests; sourceTree = "<group>"; };- CEE4816B2DBE8AC800F4A367 /* VaultUI */ = {isa = PBXFileSystemSynchronizedRootGroup; explicitFileTypes = {}; explicitFolders = (); path = VaultUI; sourceTree = "<group>"; };- CEE482AB2DBE8EFE00F4A367 /* VaultModels */ = {isa = PBXFileSystemSynchronizedRootGroup; explicitFileTypes = {}; explicitFolders = (); path = VaultModels; sourceTree = "<group>"; };- CEE909812DA548C7008D568F /* Autofill */ = {isa = PBXFileSystemSynchronizedRootGroup; exceptions = (CEE9098F2DA548C7008D568F /* PBXFileSystemSynchronizedBuildFileExceptionSet */, ); explicitFileTypes = {}; explicitFolders = (); path = Autofill; sourceTree = "<group>"; };+ CE59C7602E4F47FD0024A246 /* VaultUITests */ = {+ isa = PBXFileSystemSynchronizedRootGroup;+ exceptions = (+ );+ explicitFileTypes = {+ };+ explicitFolders = (+ );+ path = VaultUITests;+ sourceTree = "<group>";+ };+ CE77825E2EA1822400A75E6F /* VaultUtils */ = {+ isa = PBXFileSystemSynchronizedRootGroup;+ exceptions = (+ );+ explicitFileTypes = {+ };+ explicitFolders = (+ );+ path = VaultUtils;+ sourceTree = "<group>";+ };+ CEE480882DBE86DC00F4A367 /* VaultStoreKit */ = {+ isa = PBXFileSystemSynchronizedRootGroup;+ exceptions = (+ );+ explicitFileTypes = {+ };+ explicitFolders = (+ );+ path = VaultStoreKit;+ sourceTree = "<group>";+ };+ CEE480972DBE86DD00F4A367 /* VaultStoreKitTests */ = {+ isa = PBXFileSystemSynchronizedRootGroup;+ exceptions = (+ );+ explicitFileTypes = {+ };+ explicitFolders = (+ );+ path = VaultStoreKitTests;+ sourceTree = "<group>";+ };+ CEE4816B2DBE8AC800F4A367 /* VaultUI */ = {+ isa = PBXFileSystemSynchronizedRootGroup;+ exceptions = (+ );+ explicitFileTypes = {+ };+ explicitFolders = (+ );+ path = VaultUI;+ sourceTree = "<group>";+ };+ CEE482AB2DBE8EFE00F4A367 /* VaultModels */ = {+ isa = PBXFileSystemSynchronizedRootGroup;+ exceptions = (+ );+ explicitFileTypes = {+ };+ explicitFolders = (+ );+ path = VaultModels;+ sourceTree = "<group>";+ };+ CEE909812DA548C7008D568F /* Autofill */ = {+ isa = PBXFileSystemSynchronizedRootGroup;+ exceptions = (+ CEE9098F2DA548C7008D568F /* Exceptions for "Autofill" folder in "Autofill" target */,+ );+ explicitFileTypes = {+ };+ explicitFolders = (+ );+ path = Autofill;+ sourceTree = "<group>";+ };/* End PBXFileSystemSynchronizedRootGroup section *//* Begin PBXFrameworksBuildPhase section */@@ -613,8 +684,6 @@CE77825E2EA1822400A75E6F /* VaultUtils */,);name = VaultUtils;- packageProductDependencies = (- );productName = VaultUtils;productReference = CE77825D2EA1822400A75E6F /* VaultUtils.framework */;productType = "com.apple.product-type.framework";@@ -1422,7 +1491,10 @@LIBRARY_SEARCH_PATHS = "$(SDKROOT)/usr/lib/swift\"$(inherited)\"";MTL_ENABLE_DEBUG_INFO = YES;ONLY_ACTIVE_ARCH = YES;- OTHER_LDFLAGS = "$(inherited) ";+ OTHER_LDFLAGS = (+ "$(inherited)",+ " ",+ );REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";SDKROOT = iphoneos;SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";@@ -1476,7 +1548,10 @@);LIBRARY_SEARCH_PATHS = "$(SDKROOT)/usr/lib/swift\"$(inherited)\"";MTL_ENABLE_DEBUG_INFO = NO;- OTHER_LDFLAGS = "$(inherited) ";+ OTHER_LDFLAGS = (+ "$(inherited)",+ " ",+ );REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";SDKROOT = iphoneos;USE_HERMES = true;@@ -1591,6 +1666,7 @@MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++20";MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;MTL_FAST_MATH = YES;+ OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_DEBUG";PRODUCT_BUNDLE_IDENTIFIER = net.aliasvault.app.VaultUtils;PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";SKIP_INSTALL = YES;@@ -1646,6 +1722,7 @@MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++";MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++20";MTL_FAST_MATH = YES;+ OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_RELEASE";PRODUCT_BUNDLE_IDENTIFIER = net.aliasvault.app.VaultUtils;PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";SKIP_INSTALL = YES;diff --git a/apps/mobile-app/ios/Autofill/CredentialProviderViewController.swift b/apps/mobile-app/ios/Autofill/CredentialProviderViewController.swiftindex 7010e54bf..b85411bfe 100644--- a/apps/mobile-app/ios/Autofill/CredentialProviderViewController.swift+++ b/apps/mobile-app/ios/Autofill/CredentialProviderViewController.swift@@ -230,6 +230,10 @@ public class CredentialProviderViewController: ASCredentialProviderViewControlleif isQuickReturnMode {let vaultStore = VaultStore()+ if !sanityChecks(vaultStore: vaultStore) {+ return+ }+// Check if biometric authentication is availableif !vaultStore.isBiometricAuthEnabled() {print("Quick return failed: Biometric auth not enabled")diff --git a/apps/mobile-app/ios/Podfile.lock b/apps/mobile-app/ios/Podfile.lockindex baccef976..e11adf1a2 100644--- a/apps/mobile-app/ios/Podfile.lock+++ b/apps/mobile-app/ios/Podfile.lock@@ -323,8 +323,6 @@ PODS:- ExpoModulesCore- ExpoSplashScreen (0.30.10):- ExpoModulesCore- - ExpoSQLite (15.2.14):- - ExpoModulesCore- ExpoSymbols (0.4.5):- ExpoModulesCore- ExpoWebBrowser (14.2.0):@@ -1746,7 +1744,7 @@ PODS:- ReactCommon/turbomodule/bridging- ReactCommon/turbomodule/core- Yoga- - react-native-safe-area-context (5.4.0):+ - react-native-safe-area-context (5.6.1):- DoubleConversion- glog- hermes-engine@@ -1761,8 +1759,8 @@ PODS:- React-hermes- React-ImageManager- React-jsi- - react-native-safe-area-context/common (= 5.4.0)- - react-native-safe-area-context/fabric (= 5.4.0)+ - react-native-safe-area-context/common (= 5.6.1)+ - react-native-safe-area-context/fabric (= 5.6.1)- React-NativeModulesApple- React-RCTFabric- React-renderercss@@ -1772,7 +1770,7 @@ PODS:- ReactCommon/turbomodule/bridging- ReactCommon/turbomodule/core- Yoga- - react-native-safe-area-context/common (5.4.0):+ - react-native-safe-area-context/common (5.6.1):- DoubleConversion- glog- hermes-engine@@ -1796,7 +1794,7 @@ PODS:- ReactCommon/turbomodule/bridging- ReactCommon/turbomodule/core- Yoga- - react-native-safe-area-context/fabric (5.4.0):+ - react-native-safe-area-context/fabric (5.6.1):- DoubleConversion- glog- hermes-engine@@ -2524,7 +2522,6 @@ DEPENDENCIES:- ExpoModulesCore (from `../node_modules/expo-modules-core`)- ExpoSharing (from `../node_modules/expo-sharing/ios`)- ExpoSplashScreen (from `../node_modules/expo-splash-screen/ios`)- - ExpoSQLite (from `../node_modules/expo-sqlite/ios`)- ExpoSymbols (from `../node_modules/expo-symbols/ios`)- ExpoWebBrowser (from `../node_modules/expo-web-browser/ios`)- EXUpdatesInterface (from `../node_modules/expo-updates-interface/ios`)@@ -2679,8 +2676,6 @@ EXTERNAL SOURCES::path: "../node_modules/expo-sharing/ios"ExpoSplashScreen::path: "../node_modules/expo-splash-screen/ios"- ExpoSQLite:- :path: "../node_modules/expo-sqlite/ios"ExpoSymbols::path: "../node_modules/expo-symbols/ios"ExpoWebBrowser:@@ -2878,7 +2873,6 @@ SPEC CHECKSUMS:ExpoModulesCore: 00a1b5c73248465bd0b93f59f8538c4573dac579ExpoSharing: b0377be82430d07398c6a4cd60b5a15696accbd3ExpoSplashScreen: 0ad5acac1b5d2953c6e00d4319f16d616f70d4dd- ExpoSQLite: 14c1c8aa6cf5b30b33759f14307b4eb84e806277ExpoSymbols: c5612a90fb9179cdaebcd19bea9d8c69e5d3b859ExpoWebBrowser: dc39a88485f007e61a3dff05d6a75f22ab4a2e92EXUpdatesInterface: 7ff005b7af94ee63fa452ea7bb95d7a8ff40277a@@ -2925,7 +2919,7 @@ SPEC CHECKSUMS:react-native-get-random-values: d16467cf726c618e9c7a8c3c39c31faa2244bbbareact-native-keyboard-controller: 16d80dc94f13d201ae48530023940260fc63eb0areact-native-quick-crypto: 25eea8fe1d2a2ae24b609cb8061b7ef5873e7615- react-native-safe-area-context: 562163222d999b79a51577eda2ea8ad2c32b4d06+ react-native-safe-area-context: 895c49ee2613865f90318789be89a8e286fe7b69react-native-slider: 78ccabe016aef7418b1a846b31115b4165c4dde6react-native-webview: 520bcb79c3f2af91e157cdd695732a34ab5f25c8React-NativeModulesApple: d94850b316446b0c39a82eb278d6efaa1a634055diff --git a/apps/mobile-app/package-lock.json b/apps/mobile-app/package-lock.jsonindex c71bae2ff..9ea019f9e 100644--- a/apps/mobile-app/package-lock.json+++ b/apps/mobile-app/package-lock.json@@ -31,7 +31,6 @@"expo-router": "~5.1.6","expo-sharing": "~13.1.5","expo-splash-screen": "~0.30.10",- "expo-sqlite": "~15.2.14","expo-status-bar": "~2.2.3","expo-symbols": "~0.4.5","expo-web-browser": "~14.2.0",@@ -6166,12 +6165,6 @@"url": "https://github.com/sponsors/ljharb"}},- "node_modules/await-lock": {- "version": "2.2.2",- "resolved": "https://registry.npmjs.org/await-lock/-/await-lock-2.2.2.tgz",- "integrity": "sha512-aDczADvlvTGajTDjcjpJMqRkOF6Qdz3YbPZm/PyW6tKPkx2hlYBzxMhEywM/tU72HrVZjgl5VCdRuMlA7pZ8Gw==",- "license": "MIT"- },"node_modules/babel-jest": {"version": "29.7.0","resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.7.0.tgz",@@ -9108,20 +9101,6 @@"expo": "*"}},- "node_modules/expo-sqlite": {- "version": "15.2.14",- "resolved": "https://registry.npmjs.org/expo-sqlite/-/expo-sqlite-15.2.14.tgz",- "integrity": "sha512-6tWnEE0fcir30/e7eVwjeC7eKdncfVnIgo2JvnKpRndedyiFMXLMyOQWNVGnuhnSrPV2BHvGGjLByS/j5VgH4w==",- "license": "MIT",- "dependencies": {- "await-lock": "^2.2.2"- },- "peerDependencies": {- "expo": "*",- "react": "*",- "react-native": "*"- }- },"node_modules/expo-status-bar": {"version": "2.2.3","resolved": "https://registry.npmjs.org/expo-status-bar/-/expo-status-bar-2.2.3.tgz",diff --git a/apps/mobile-app/package.json b/apps/mobile-app/package.jsonindex c6efc667b..b91dfc960 100644--- a/apps/mobile-app/package.json+++ b/apps/mobile-app/package.json@@ -52,7 +52,6 @@"expo-router": "~5.1.6","expo-sharing": "~13.1.5","expo-splash-screen": "~0.30.10",- "expo-sqlite": "~15.2.14","expo-status-bar": "~2.2.3","expo-symbols": "~0.4.5","expo-web-browser": "~14.2.0",