gitawego / cordova-screenshot

screenshot plugin for cordova/phonegap
Other
211 stars 167 forks source link

Android user do not want to see "Allow ____ to photos, media, and files on your device". #94

Closed perry2of5 closed 8 years ago

perry2of5 commented 8 years ago

I am building an app for user's with-in our company. I use cordoba-screenshot to capture the app when user's submit feedback. The app uses Crosswalk. I always use the "URI" method of capturing screenshots. I don't need access to the user's media or files.

Is it possible to reconfigure the PERMISSIONS request to only ask for a screen shot of the current app when you call URI? I have a few senior staff very annoyed that our app asks for access to everything.

perry2of5 commented 8 years ago

Here is the offending dialog. Android 6.0.1.

screen shot 2016-09-02 at 4 12 59 pm

Also, I'm happy to hack down this plugin to the subset I need if it is going to be possible to avoid this dialog.

BTW: The plugin is very handy. Thanks for maintaining it.

perry2of5 commented 8 years ago

I created a fork of this project to support my needs. https://github.com/perry2of5/cordova-screenshot It only supports Crosswalk on Android and the default web view on iOS. It does not request any permissions from the OS. The plugin is not as full-featured as this one, but my users are happy now. Thanks for maintaining this plugin -- I couldn't have created the forked plugin from scratch without a much larger investment of time. Cheers! Tim

wilfredonoyola commented 6 years ago

@perry2of5 Thanks for this. I implemented this and so far it works!