2026-09-28 16:18:32 +00:00
|
|
|
// Module ID: 9651
|
|
|
|
|
// Function ID: 9652
|
2026-09-18 19:45:33 +00:00
|
|
|
// Name: getPushNotificationLogs
|
2026-09-28 16:18:32 +00:00
|
|
|
// Dependencies: [502, 8748, 2]
|
2026-09-18 19:45:33 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-28 16:18:32 +00:00
|
|
|
// Module 9651 (getPushNotificationLogs)
|
|
|
|
|
import NativePushNotificationMonitorModuleDefault from "NativePushNotificationMonitorModule" /* 8748 */;
|
2026-09-18 19:45:33 +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;
|
|
|
|
|
});
|
|
|
|
|
};
|