decord/beta/source/modules/debug/getPushNotificationLogs.android.tsx

25 lines
832 B
TypeScript
Raw Normal View History

2026-10-02 13:37:24 +00:00
// Module ID: 12277
// Function ID: 12278
// Name: getPushNotificationLogs
2026-10-02 13:37:24 +00:00
// Dependencies: [502, 8743, 2]
// Exports: default
2026-10-02 13:37:24 +00:00
// Module 12277 (getPushNotificationLogs)
import react_nativeDefault from "react-native" /* 8743 */;
import AuthenticationStore from "AuthenticationStore" /* 502 */;
2026-10-01 14:13:23 +00:00
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("modules/debug/getPushNotificationLogs.android.tsx");
export default function getPushNotificationLogs() {
2026-10-01 14:13:23 +00:00
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;
});
};