decord/beta/source/modules/debug/getPushNotificationLogs.android.tsx
github-actions 30c0bb2ec3 chore: update source for beta 347.10
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4975.js (118.4 MB)
2026-09-24 16:03:38 +00:00

23 lines
865 B
TypeScript

// Module ID: 13051
// Function ID: 13052
// Name: getPushNotificationLogs
// Dependencies: [502, 9587, 2]
// Exports: default
// Module 13051 (getPushNotificationLogs)
import NativePushNotificationMonitorModuleDefault from "NativePushNotificationMonitorModule" /* 9587 */;
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;
});
};