decord/beta/source/modules/debug/getPushNotificationLogs.android.tsx
github-actions 84d017ff78 chore: update source for beta 348.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5021.js (118.4 MB)
2026-09-28 16:18:32 +00:00

23 lines
862 B
TypeScript

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