-
-
Notifications
You must be signed in to change notification settings - Fork 46
iOS: Strange behavior of #takePicture #51
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
Comments
Hi @Pinny3, For further info and a solution please keep track on the issue. |
…sions-ios Request camera permission before opening the camera. Fix issue #51.
Hi @Pinny3, We were relying on the camera itself to request the permission on iOS and the rejection wasn't handled properly there. The requestPermissions method is now requesting the Camera permissions and you can easily avoid the problematic behavior by calling the |
Hi there,
somehow the functionality
camera.takePicture(...)
is a little bit strange on iOS 10.3
I use the example project provided here:
https://github.com/NativeScript/nativescript-camera/tree/master/examples/CameraTestAngular
When I call the functionality to take a picture in the in my app the camera comes up. Then I been prompted to allow the app to use the camera. If I denied it I still can make a photo and it's totally blacked and the photo is displayed. This is somehow strange, isn't it? Why isn't the camera closed then?
Even if I click the second time on "Take Picture" the camera comes up again allowing me to take a complete black photo...
I expect the camera to been closed once I don't allow the app to take a photo and the camera does not comes up again if I revoke the right before.
The text was updated successfully, but these errors were encountered: