import type { TurboModule } from 'react-native'; import { TurboModuleRegistry } from 'react-native'; export interface Spec extends TurboModule { // Android-only methods getUserIdAndroid(): Promise; startAndroid(token: string, debbugable: boolean): void; setFirebaseToken(token: string): void; requestFullIntentPermissionAndroid(): void; setRemoteId(remoteId: string): void; /** * @deprecated The method should not be used. use setRemoteId() instead */ setNotificationNameAndroid(notificationName: string): void; /** * @deprecated No longer supported. */ getNotificationNameAndroid(): Promise; requestScheduleExactAlarm(): void; // iOS-only methods getUserID(): Promise; setDevicePushToken(withPushToken: string): void; startIOS(withToken: string): void; setRemoteIdIOS(remoteId: string): void; startBluetoothIOS(): void; checkBluetoothIOS(): void; startLocationIOS(): void; /** * @deprecated The method should not be used. use setRemoteId() instead */ setNotificationNameIOS(withNotificationName: string): void; /** * @deprecated No longer supported. */ getNotificationNameIOS(): Promise; } export default TurboModuleRegistry.getEnforcing('RNGroupLinkSDK');