decord/beta/source/modules/debug/getPushNotificationLogs.android.tsx
2026-10-01 14:13:23 +00:00

24 lines
829 B
TypeScript

// Module ID: 9651
// Function ID: 9652
// Name: getPushNotificationLogs
// Dependencies: [502, 8748, 2]
// Exports: default
// Module 9651 (getPushNotificationLogs)
import react_nativeDefault from "react-native" /* 8748 */;
import AuthenticationStore from "AuthenticationStore" /* 502 */;
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("modules/debug/getPushNotificationLogs.android.tsx");
export default function getPushNotificationLogs() {
const obj = react_nativeDefault;
const pushNotificationLogs = obj.getPushNotificationLogs(AuthenticationStore.getId());
return pushNotificationLogs.then((result) => {
let pushNotifications = JSON.parse(result).pushNotifications;
if (pushNotifications == null) {
pushNotifications = [];
}
return pushNotifications;
});
};