From 30bebe194fbbdb73ea999f12d21f64173b44bdc5 Mon Sep 17 00:00:00 2001
From: Website Deployment Script
alertbadgesoundIf a map is provided to the method, only the permissions with truthy values -will be requested.
Unregister for all remote notifications received via Apple Push Notification service.
You should call this method in rare circumstances only, such as when a new version of +will be requested.
This method returns a promise that will resolve when the user accepts, +rejects, or if the permissions were previously rejected. The promise +resolves to the current state of the permission.
Unregister for all remote notifications received via Apple Push Notification service.
You should call this method in rare circumstances only, such as when a new version of the app removes support for all types of remote notifications. Users can temporarily prevent apps from receiving remote notifications through the Notifications section of the Settings app. Apps unregistered through this method can always re-register.
See what push permissions are currently enabled. callback will be