( inputData: AndroidNotifInputData, devices: $ReadOnlyArray<NotificationTargetDevice>, )
| 1084 | } |
| 1085 | |
| 1086 | async function prepareAndroidVisualNotification( |
| 1087 | inputData: AndroidNotifInputData, |
| 1088 | devices: $ReadOnlyArray<NotificationTargetDevice>, |
| 1089 | ): Promise<$ReadOnlyArray<TargetedAndroidNotification>> { |
| 1090 | const convertedData = await validateOutput( |
| 1091 | inputData.platformDetails, |
| 1092 | androidNotifInputDataValidator, |
| 1093 | inputData, |
| 1094 | ); |
| 1095 | |
| 1096 | const { targetedNotifications } = await createAndroidVisualNotification( |
| 1097 | encryptedNotifUtilsAPI, |
| 1098 | convertedData, |
| 1099 | devices, |
| 1100 | ); |
| 1101 | return targetedNotifications; |
| 1102 | } |
| 1103 | |
| 1104 | async function prepareWebNotification( |
| 1105 | inputData: WebNotifInputData, |
no test coverage detected