{"version":3,"file":"setBadgeCount.mjs","sources":["../../../../../../src/pushNotifications/providers/pinpoint/apis/setBadgeCount.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 * Sets the current badge count (the number on the top right corner of your app's icon). Setting the badge count\n * to 0 (zero) will remove the badge from your app's icon. This function is safe to call (but will be ignored) even\n * 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 * @example\n * ```ts\n * setBadgeCount(42);\n * ```\n */\nexport const setBadgeCount = () => {\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,MAAM;AACnC,IAAI,MAAM,IAAI,yBAAyB,EAAE;AACzC;;;;"}