feat(kyc): register fcm token for sumsub verification (#1673)

* feat(kyc): register fcm token for sumsub verification

* fix tests

* remove unused import

* fix lint
This commit is contained in:
Leszek Stachowski
2026-01-30 18:35:32 +01:00
committed by GitHub
parent f11e860659
commit a6c84d80f7
6 changed files with 240 additions and 21 deletions

View File

@@ -3,6 +3,7 @@
// NOTE: Converts to Apache-2.0 on 2029-06-11 per LICENSE.
import { PermissionsAndroid, Platform } from 'react-native';
import { SELF_UUID_NAMESPACE } from '@env';
import type { FirebaseMessagingTypes } from '@react-native-firebase/messaging';
import messaging from '@react-native-firebase/messaging';
@@ -36,6 +37,10 @@ const error = (...args: unknown[]) => {
if (!isTestEnv) console.error(...args);
};
export function getSelfUuidNamespace(): string {
return SELF_UUID_NAMESPACE ?? '';
}
export { getStateMessage };
export async function isNotificationSystemReady(): Promise<{