2026-09-15 14:23:42 +00:00
|
|
|
// Module ID: 10321
|
|
|
|
|
// Function ID: 10322
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: getPushNotificationLogs
|
2026-09-15 14:23:42 +00:00
|
|
|
// Dependencies: [502, 9821, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-15 14:23:42 +00:00
|
|
|
// Module 10321 (getPushNotificationLogs)
|
|
|
|
|
import NativePushNotificationMonitorModuleDefault from "NativePushNotificationMonitorModule" /* 9821 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import AuthenticationStore from "AuthenticationStore" /* 502 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const size = fn(2);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/debug/getPushNotificationLogs.android.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
export default function getPushNotificationLogs() {
|
|
|
|
|
const pushNotificationLogs = NativePushNotificationMonitorModuleDefault.getPushNotificationLogs(AuthenticationStore.getId());
|
|
|
|
|
return pushNotificationLogs.then((result) => {
|
|
|
|
|
let pushNotifications = JSON.parse(result).pushNotifications;
|
2026-07-29 08:29:29 +00:00
|
|
|
if (pushNotifications == null) {
|
2026-07-20 16:05:17 +00:00
|
|
|
pushNotifications = [];
|
|
|
|
|
}
|
|
|
|
|
return pushNotifications;
|
|
|
|
|
});
|
|
|
|
|
};
|