Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why, in the name of God himself, does this plugin not have any method of requesting the push permission? #178

Open
v1934 opened this issue Apr 1, 2022 · 8 comments

Comments

@v1934
Copy link

v1934 commented Apr 1, 2022

Feature Request

Add option to request the permission from user for Android and iOS

Motivation Behind Feature

Every single cordova plugin that provides a functionality that needs an additional permission I have used so far, also automatically asks for the permission or allows you to do so. This is ridiculous that you can install a plugin for receiving push notifications, and not receive them because of missing permission request.

Feature Description

Just add some method like requestPermission or just do it automatically.

@gabn88
Copy link

gabn88 commented May 13, 2022

I don't know about Android, but for iOS it asks for permission.

@paulincai
Copy link

"In the name of god himself" ... seriously. Basically it doesn't have the option because you did not submit a PR for your required feature.

@terryjiang2020
Copy link

It sends requests for push permission when it is initiating I think.

@paulincai
Copy link

We're getting gods here too now ?!!

@dogofpavlov
Copy link

use the cordova.plugins.diagnostic plugin, it handles permissions for everything cordova and then you never have to involve god again.

@degroundshaker
Copy link

God left the thread.

@MiguelQueiroz
Copy link

There is no need for such permission, they are in android granted as default/ the notifications I mean. Only web based need permission.

@v1934
Copy link
Author

v1934 commented Oct 26, 2023

There is no need for such permission, they are in android granted as default/ the notifications I mean. Only web based need permission.

Yeah. Not.
It was added to android (and only android) a month ago or so.
iOS still does not ask for permission, I have a fork which does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants