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

25 lines
834 B
TypeScript
Raw Normal View History

2026-10-12 16:32:48 +00:00
// Module ID: 12633
// Function ID: 12634
// Name: getPushNotificationLogs
2026-10-12 16:32:48 +00:00
// Dependencies: [502, 11033, 2]
// Exports: default
2026-10-12 16:32:48 +00:00
// Module 12633 (getPushNotificationLogs)
import react_nativeDefault from "react-native" /* 11033 */;
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;
});
};