phonegap / phonegap-plugin-push

Register and receive push notifications
MIT License
1.94k stars 1.92k forks source link

Android required permissions #258

Open kentmw opened 8 years ago

kentmw commented 8 years ago

Android requirements dictate:

FN-P1 App requests only the absolute minimum permissions that it needs to support core functionality. CR-11

the requirements also say:

PS-B1 App supports power management features in Android 6.0+ (Doze and App Standby) properly. In the case where core functionality is disrupted by power management, only qualified apps may request an exemption. BA-1

so I was wondering whether the plugin only requests the needed permissions and also supports the power management features properly. At the end of the day, I just want to make sure my app doesn't get dinged by google for failing either of these requirements.

This page: https://developers.google.com/cloud-messaging/android/client suggests that this plugin is doing things correctly. At the very least, I'd love for plugin documentations to make explicit what permissions they require. It's very difficult, as of now, to know which plugin is bringing in a permission dependency. The one that worries me that I believe this plugin brings in is: Prevent phone from sleeping

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.