Skip to content

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

Refresh iOS autofill identities on every vault mutation (#520)

Leendert de Borstbb0bee787094
diff --git a/apps/mobile-app/hooks/useVaultMutate.ts b/apps/mobile-app/hooks/useVaultMutate.ts
index c1356cd42..407b16b10 100644
--- a/apps/mobile-app/hooks/useVaultMutate.ts
+++ b/apps/mobile-app/hooks/useVaultMutate.ts
@@ -116,6 +116,14 @@ export function useVaultMutate() : {
throw new Error('Vault mutation did not complete successfully');
}
+ // Register credential identities after successful mutation
+ try {
+ await NativeVaultManager.registerCredentialIdentities();
+ } catch (error) {
+ console.warn('VaultMutate: Failed to register credential identities:', error);
+ // Don't fail the mutation if credential registration fails
+ }
+
// Success
options.onSuccess?.();
} catch (error) {