| 4 | const RNOneSignal = NativeOneSignal; |
| 5 | |
| 6 | export 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 | |
| 17 | interface AndroidNotificationData extends BaseNotificationData { |
| 18 | groupKey?: string; |
nothing calls this directly
no outgoing calls
no test coverage detected