2026-09-29 21:26:22 +00:00
|
|
|
// Module ID: 10487
|
|
|
|
|
// Function ID: 10488
|
2026-09-18 20:18:48 +00:00
|
|
|
// Name: getPushNotificationLogs
|
2026-09-29 21:26:22 +00:00
|
|
|
// Dependencies: [502, 9591, 2]
|
2026-09-18 20:18:48 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-29 21:26:22 +00:00
|
|
|
// Module 10487 (getPushNotificationLogs)
|
|
|
|
|
import NativePushNotificationMonitorModuleDefault from "NativePushNotificationMonitorModule" /* 9591 */;
|
2026-09-18 20:18:48 +00:00
|
|
|
import AuthenticationStore from "AuthenticationStore" /* 502 */;
|
|
|
|
|
|
|
|
|
|
const size = fn(2);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/debug/getPushNotificationLogs.android.tsx");
|
|
|
|
|
|
|
|
|
|
export default function getPushNotificationLogs() {
|
|
|
|
|
const pushNotificationLogs = NativePushNotificationMonitorModuleDefault.getPushNotificationLogs(AuthenticationStore.getId());
|
|
|
|
|
return pushNotificationLogs.then((result) => {
|
|
|
|
|
let pushNotifications = JSON.parse(result).pushNotifications;
|
|
|
|
|
if (pushNotifications == null) {
|
|
|
|
|
pushNotifications = [];
|
|
|
|
|
}
|
|
|
|
|
return pushNotifications;
|
|
|
|
|
});
|
|
|
|
|
};
|