mirror of
https://github.com/selfxyz/self.git
synced 2026-01-09 14:48:06 -05:00
small collection bugfixes for two point nine (#1446)
* fix addhaar typo * consolidate mobile app links and add tests * fix caching issues for pipelines * fix gitleaks * update binary merkle root.circom package source * fix cache * update path * rename lockfile * fix qrcode error * fix mobile ci tests and prettier * fix qr code typing * fix qrcode pipelines * fix integration test
This commit is contained in:
@@ -27,13 +27,13 @@ import { useNavigation } from '../navigation/NavigationProvider';
|
||||
* Routes not in this map are not supported in the demo app.
|
||||
*/
|
||||
const ROUTE_TO_SCREEN_MAP: Partial<Record<RouteName, ScreenName>> = {
|
||||
'Home': 'Home',
|
||||
'CountryPicker': 'CountrySelection',
|
||||
'IDPicker': 'IDSelection',
|
||||
'DocumentCamera': 'MRZ',
|
||||
'DocumentNFCScan': 'NFC',
|
||||
'ManageDocuments': 'Documents',
|
||||
'AccountVerifiedSuccess': 'Success',
|
||||
Home: 'Home',
|
||||
CountryPicker: 'CountrySelection',
|
||||
IDPicker: 'IDSelection',
|
||||
DocumentCamera: 'MRZ',
|
||||
DocumentNFCScan: 'NFC',
|
||||
ManageDocuments: 'Documents',
|
||||
AccountVerifiedSuccess: 'Success',
|
||||
// Routes not implemented in demo app:
|
||||
// 'DocumentOnboarding': null,
|
||||
// 'SaveRecoveryPhrase': null,
|
||||
@@ -173,7 +173,9 @@ export function SelfClientProvider({ children, onNavigate }: SelfClientProviderP
|
||||
// This is safe because we control the route mapping
|
||||
navigation.navigate(screenName, params as any);
|
||||
} else {
|
||||
console.warn(`[SelfClientProvider] SDK route "${routeName}" is not mapped to a demo screen. Ignoring navigation request.`);
|
||||
console.warn(
|
||||
`[SelfClientProvider] SDK route "${routeName}" is not mapped to a demo screen. Ignoring navigation request.`,
|
||||
);
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user