{"version":3,"file":"getBadgeCount.mjs","sources":["../../../../../../src/pushNotifications/providers/pinpoint/apis/getBadgeCount.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 * Returns the current badge count (the number next to your app's icon). This function is safe to call (but will be\n * ignored) even when your React Native app is running on platforms where badges are not supported.\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 * @returns A promise that resolves to a number representing the current count displayed on the app badge.\n * @example\n * ```ts\n * const badgeCount = await getBadgeCount();\n * ```\n */\nexport const getBadgeCount = async () => {\n    throw new PlatformNotSupportedError();\n};\n"],"names":[],"mappings":";;AAAA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACY,MAAC,aAAa,GAAG,YAAY;AACzC,IAAI,MAAM,IAAI,yBAAyB,EAAE;AACzC;;;;"}