24 lines
832 B
TypeScript
24 lines
832 B
TypeScript
// Module ID: 12546
|
|
// Function ID: 12547
|
|
// Name: getPushNotificationLogs
|
|
// Dependencies: [502, 8997, 2]
|
|
// Exports: default
|
|
|
|
// Module 12546 (getPushNotificationLogs)
|
|
import react_nativeDefault from "react-native" /* 8997 */;
|
|
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;
|
|
});
|
|
};
|