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

Cordova 6.2 #73

Open
ponpoko55 opened this issue Aug 26, 2016 · 1 comment
Open

Cordova 6.2 #73

ponpoko55 opened this issue Aug 26, 2016 · 1 comment

Comments

@ponpoko55
Copy link

ponpoko55 commented Aug 26, 2016

No working without any Error.

@MornaK
Copy link

MornaK commented Nov 24, 2017

As a hint, in later versions of iOs, when accessing to the camera and photo gallery, the app MUST include a text to ask permission to the user.

I realized the aplication (using Canvas2Image plugin) crashed because of this "security" issue ...

It could be fixed by including the next lines in you config.xml of your project, into the section

<config-file parent="NSPhotoLibraryUsageDescription" platform="ios" target="*-Info.plist">
<string>This app needs access to your Photo Library to include a screenshot.</string>
</config-file>
<config-file parent="NSCameraUsageDescription" platform="ios" target="*-Info.plist">
<string>This app needs access to the Camera.</string>
</config-file>

It worked like a charm for me.

(inspired by this StackOverflow answer)

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

2 participants