decord/alpha/source/modules/debug/getPushNotificationLogs.android.tsx
github-actions 6eea20b8e1 chore: update source for alpha 348.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5014.js (118.4 MB)
2026-09-24 10:59:02 +00:00

23 lines
865 B
TypeScript

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