MCPcopy Create free account
hub / github.com/OneSignal/react-native-onesignal / BaseNotificationData

Interface BaseNotificationData

src/OSNotification.ts:6–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4const RNOneSignal = NativeOneSignal;
5
6export interface BaseNotificationData {
7 body: string;
8 sound?: string;
9 title?: string;
10 launchURL?: string;
11 rawPayload: object | string; // platform bridges return different types
12 actionButtons?: object[];
13 additionalData?: object;
14 notificationId: string;
15}
16
17interface AndroidNotificationData extends BaseNotificationData {
18 groupKey?: string;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected