// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 import { nativeModule } from '../nativeModule'; import { PushNotificationPermissions } from '../types'; export const requestPermissions = async ( { alert = true, badge = true, sound = true }: PushNotificationPermissions = { alert: true, badge: true, sound: true, }, ): Promise => nativeModule.requestPermissions({ alert, badge, sound, });