Blackberry camera problem

I try to build my app to blackberry (Blackberry Z10) which works on iOs and Android well. The camera has a strange behaviour (navigator.camera.getPicture), when i open the camera, the error callback called immediately, the error message is empty.

When i create a photo nothing happens, the device returns to the app and nothing called. I tried the following permissions but without error messages i can’t find out what is the problem.

    <rim:permissions>
            <rim:permit>use_camera</rim:permit>
            <rim:permit>use_gallery</rim:permit>
            <rim:permit>run_when_backgrounded</rim:permit>
    </rim:permissions>

On the other platforms everything works fine. Have you seen this problem?

You may have better luck asking this on Stackoverflow. This seems more like a cordova specific issues than an Ionic issue.