decord/beta/source/modules/debug/getPushNotificationLogs.android.tsx
2026-10-02 13:37:24 +00:00

24 lines
832 B
TypeScript

// Module ID: 12277
// Function ID: 12278
// Name: getPushNotificationLogs
// Dependencies: [502, 8743, 2]
// Exports: default
// Module 12277 (getPushNotificationLogs)
import react_nativeDefault from "react-native" /* 8743 */;
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;
});
};