decord/source/modules/debug/getPushNotificationLogs.android.tsx
github-actions f0f877e8ce chore: update source for alpha 347.1
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4824.js (118.4 MB)
2026-09-15 14:23:42 +00:00

23 lines
865 B
TypeScript

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