decord/source/modules/debug/getPushNotificationLogs.android.tsx

24 lines
865 B
TypeScript
Raw Normal View History

// Module ID: 10321
// Function ID: 10322
2026-07-20 16:05:17 +00:00
// Name: getPushNotificationLogs
// Dependencies: [502, 9821, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
// Module 10321 (getPushNotificationLogs)
import NativePushNotificationMonitorModuleDefault from "NativePushNotificationMonitorModule" /* 9821 */;
import AuthenticationStore from "AuthenticationStore" /* 502 */;
2026-07-23 10:11:24 +00:00
const size = fn(2);
const result = size.fileFinishedImporting("modules/debug/getPushNotificationLogs.android.tsx");
2026-07-20 16:05:17 +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;
});
};