Getpicture crashes IOS

Thread is closed for posting
3 posts, 0 answers
  1. Richard
    Richard avatar
    22 posts
    Member since:
    Feb 2012

    Posted 07 Apr 2014 Link to this post

    Whenever I try to use the camera plugin app Builder crashes. Not every time but like 3 out of 4 times.

    When it crashes it crashes as soon as I hit "use image". I have tried file_uri data_uri, etc.. tried going from 100% quality all the way down to 1. No options I change seem to make a difference.

    I get the same results when I switch to using the capture plugin. Any ideas are welcome.  Just doesn't get past this point., onFail, {
    2.    quality: 20,
    3.    saveToPhotoAlbum: true,
    4.    sourceType: Camera.PictureSourceType.CAMERA,
    5.    destinationType: Camera.DestinationType.FILE_URI });
  2. Richard
    Richard avatar
    22 posts
    Member since:
    Feb 2012

    Posted 07 Apr 2014 Link to this post

    Just tested it on an Android 4.3 tablet and it worked perfectly. 
  3. Zdravko
    Zdravko avatar
    657 posts

    Posted 10 Apr 2014 Link to this post

    Hello Richard,

    Using our sample app and your code I was unable to reproduce your issue. The app works flawlessly even with "quality" set to 100 which is not recommended.

    Would you verify that you have enough storage space because according to Cordova documentation the photos are saved in the application's temporary directory?

    We are aware of memory issues using the Camera plugin on some devices, but not with the Capture plugin.
    Have you tried with another iOS device? I used iPhone 5  iOS 7.1 for the test.

    You can debug your app on device and track for any possible culprits.

    If you still need an assistance consider opening a private ticket including your app name so we can try it locally.


    Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

Back to Top