File tree Expand file tree Collapse file tree 2 files changed +30
-30
lines changed Expand file tree Collapse file tree 2 files changed +30
-30
lines changed Original file line number Diff line number Diff line change 1- /**
2- * Generic reasons:
3- * - network_error: Network connectivity issues
4- * - user_cancelled: User cancelled the operation
5- * - permission_denied: Permission not granted
6- * - invalid_input: Invalid user input
7- * - timeout: Operation timed out
8- * - unknown_error: Unspecified error
9- *
10- * Auth specific:
11- * - invalid_credentials: Invalid login credentials
12- * - biometric_unavailable: Biometric authentication unavailable
13- * - invalid_mnemonic: Invalid mnemonic phrase
14- *
15- * Passport specific:
16- * - invalid_format: Invalid passport format
17- * - expired_passport: Passport is expired
18- * - scan_error: Error during scanning
19- * - nfc_error: NFC read error
20- *
21- * Proof specific:
22- * - verification_failed: Proof verification failed
23- * - session_expired: Session expired
24- * - missing_fields: Required fields missing
25- *
26- * Backup specific:
27- * - backup_not_found: Backup not found
28- * - cloud_service_unavailable: Cloud service unavailable
29- */
30-
311export const AppEvents = {
322 DISMISS_PRIVACY_DISCLAIMER : 'App: Dismiss Privacy Disclaimer' ,
333 GET_STARTED : 'App: Get Started' ,
Original file line number Diff line number Diff line change 11import { createSegmentClient } from '../Segment' ;
22
3+ /**
4+ * Generic reasons:
5+ * - network_error: Network connectivity issues
6+ * - user_cancelled: User cancelled the operation
7+ * - permission_denied: Permission not granted
8+ * - invalid_input: Invalid user input
9+ * - timeout: Operation timed out
10+ * - unknown_error: Unspecified error
11+ *
12+ * Auth specific:
13+ * - invalid_credentials: Invalid login credentials
14+ * - biometric_unavailable: Biometric authentication unavailable
15+ * - invalid_mnemonic: Invalid mnemonic phrase
16+ *
17+ * Passport specific:
18+ * - invalid_format: Invalid passport format
19+ * - expired_passport: Passport is expired
20+ * - scan_error: Error during scanning
21+ * - nfc_error: NFC read error
22+ *
23+ * Proof specific:
24+ * - verification_failed: Proof verification failed
25+ * - session_expired: Session expired
26+ * - missing_fields: Required fields missing
27+ *
28+ * Backup specific:
29+ * - backup_not_found: Backup not found
30+ * - cloud_service_unavailable: Cloud service unavailable
31+ */
32+
333export interface EventParams {
434 reason ?: string | null ;
535 duration_seconds ?: number ;
You can’t perform that action at this time.
0 commit comments