Skip to content

iOS: Strange behavior of #takePicture #51

Closed
@Pinny3

Description

@Pinny3

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions