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

25 lines
834 B
TypeScript
Raw Normal View History

2026-10-10 08:08:14 +00:00
// Module ID: 12631
// Function ID: 12632
2026-07-20 16:05:17 +00:00
// Name: getPushNotificationLogs
2026-10-10 08:08:14 +00:00
// Dependencies: [502, 11033, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-10-10 08:08:14 +00:00
// Module 12631 (getPushNotificationLogs)
import react_nativeDefault from "react-native" /* 11033 */;
import AuthenticationStore from "AuthenticationStore" /* 502 */;
2026-10-03 08:58:59 +00:00
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
const result = size.fileFinishedImporting("modules/debug/getPushNotificationLogs.android.tsx");
2026-07-20 16:05:17 +00:00
export default function getPushNotificationLogs() {
2026-10-03 08:58:59 +00:00
const obj = react_nativeDefault;
const pushNotificationLogs = obj.getPushNotificationLogs(AuthenticationStore.getId());
return pushNotificationLogs.then((result) => {
let pushNotifications = JSON.parse(result).pushNotifications;
2026-07-29 08:29:29 +00:00
if (pushNotifications == null) {
2026-07-20 16:05:17 +00:00
pushNotifications = [];
}
return pushNotifications;
});
};