Fix mobile demo app document registration (#1182)

* Enable WebSocket connections in demo client

* save working keychain

* save wip

* save polish tweaks

* downgrade react-native-svg

* abstract components

* onSuccess alert displays only once

* sort by registered first

* add clear all documents button

* formatting and typing

* refresh register document screen after successful registration

* fix double tap on register

* coderabbit feedback

* lock NFCPassportReader to commit

* remove react native picker

* remove lock

* minor fixes
This commit is contained in:
Justin Hernandez
2025-10-02 18:27:11 -07:00
committed by GitHub
parent f2cceb3150
commit 318b83fa57
21 changed files with 741 additions and 269 deletions

View File

@@ -43,6 +43,7 @@ export interface DocumentMetadata {
data: string; // DG1/MRZ data for passports/IDs, relevant data for aadhaar
mock: boolean; // whether this is a mock document
isRegistered?: boolean; // whether the document is registered onChain
registeredAt?: number; // timestamp (epoch ms) when document was registered
}
export type DocumentType =