{"version":3,"file":"onNotificationReceivedInForeground.native.mjs","sources":["../../../../../../src/pushNotifications/providers/pinpoint/apis/onNotificationReceivedInForeground.native.ts"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { addEventListener } from '../../../../eventListeners';\nimport { assertIsInitialized } from '../../../errors/errorHelpers';\nexport const onNotificationReceivedInForeground = input => {\n    assertIsInitialized();\n    return addEventListener('foregroundMessageReceived', input);\n};\n"],"names":[],"mappings":";;;AAAA;AACA;AAGY,MAAC,kCAAkC,GAAG,KAAK,IAAI;AAC3D,IAAI,mBAAmB,EAAE;AACzB,IAAI,OAAO,gBAAgB,CAAC,2BAA2B,EAAE,KAAK,CAAC;AAC/D;;;;"}