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

25 lines
834 B
TypeScript
Raw Normal View History

2026-10-09 10:00:15 +00:00
// Module ID: 12584
// Function ID: 12585
2026-07-20 16:05:17 +00:00
// Name: getPushNotificationLogs
2026-10-09 10:00:15 +00:00
// Dependencies: [502, 10993, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-10-09 10:00:15 +00:00
// Module 12584 (getPushNotificationLogs)
import react_nativeDefault from "react-native" /* 10993 */;
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;
});
};