UNPKG

@elemental-design/expo-notifications

Version:
9 lines 380 B
import { UnavailabilityError } from '@unimodules/core'; import BadgeModule from './BadgeModule'; export default async function getBadgeCountAsync() { if (!BadgeModule.getBadgeCountAsync) { throw new UnavailabilityError('ExpoNotifications', 'getBadgeCountAsync'); } return await BadgeModule.getBadgeCountAsync(); } //# sourceMappingURL=getBadgeCountAsync.js.map