{"version":3,"file":"initializePushNotifications.mjs","sources":["../../../../../../src/pushNotifications/providers/pinpoint/apis/initializePushNotifications.ts"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { PlatformNotSupportedError } from '@aws-amplify/core/internals/utils';\n/**\n * Initialize and set up the push notification category. The category must be first initialized before all other\n * functionalities become available.\n *\n * @deprecated AWS will end support for Amazon Pinpoint on October 30, 2026.\n *\n * @throws platform: {@link PlatformNotSupportedError} - Thrown if called against an unsupported platform. Currently,\n * only React Native is supported by this API.\n * @remarks\n * It is recommended that this be called as early in your app as possible at the root of your application to allow\n * background processing of notifications.\n * @example\n * ```ts\n * Amplify.configure(config);\n * initializePushNotifications();\n * ```\n */\nexport const initializePushNotifications = () => {\n    throw new PlatformNotSupportedError();\n};\n"],"names":[],"mappings":";;AAAA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACY,MAAC,2BAA2B,GAAG,MAAM;AACjD,IAAI,MAAM,IAAI,yBAAyB,EAAE;AACzC;;;;"}