eclipsesource / tabris-plugin-firebase

A firebase plugin for Tabris.js
https://tabrisjs.com
BSD 3-Clause "New" or "Revised" License
6 stars 5 forks source link

Introduce an iOS-only method for verifying the push notification permissions #38

Open cpetrov opened 6 years ago

cpetrov commented 6 years ago

Problem description

There is no way to check if the push notification permissions have been enabled. It is a common use case to check if the user really did grant the permission or not in order to display a corresponding message to him and would be required for apps, which primary rely on push notifications to function properly.

(Currently, this could be done using a plugin like cordova-plugin-diagnostics, however it declares generic description for various iOS permissions, which might not be desired for production apps.)

Expected behavior