mirror of
https://github.com/selfxyz/self.git
synced 2026-02-19 02:24:25 -05:00
App/id picker flow (#1126)
* add new id picker flow * refactor: update document management screen actions - Renamed `handleScanDocument` to `handleAddDocument` for clarity. - Updated navigation from 'DocumentOnboarding' to 'CountryPicker'. - Removed unused `handleAddAadhaar` function and its associated button. * address pr feedback * address lint issues * fix test * fix typings and screen * fix e2e button test --------- Co-authored-by: Justin Hernandez <justin.hernandez@self.xyz>
This commit is contained in:
committed by
GitHub
parent
3b14f09c30
commit
422d0cc259
@@ -41,11 +41,15 @@ export const sendCountrySupportNotification = async ({
|
||||
['documentCategory', documentCategory || 'Unknown'],
|
||||
['tz', getTimeZone()],
|
||||
['ts', new Date().toISOString()],
|
||||
['origin', 'unsupported_passport_screen'],
|
||||
['origin', 'coming_soon_screen'],
|
||||
] as [string, string][];
|
||||
|
||||
const documentTypeText =
|
||||
documentCategory === 'id_card' ? 'ID cards' : 'passports';
|
||||
documentCategory === 'id_card'
|
||||
? 'ID cards'
|
||||
: documentCategory === 'passport'
|
||||
? 'passports'
|
||||
: 'documents';
|
||||
|
||||
const body = `Hi SELF Team,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user