Camera Sample app

4 posts, 1 answers
  1. Tim
    Tim avatar
    17 posts
    Member since:
    Sep 2012

    Posted 31 Oct 2013 Link to this post

    Hi
    I am using an ipad  3 with the live sync on graphite. I added the camera and capture sample app to my site as well as loading these projects on there own from the sample applications. However they do not work. They do work on android but not on the ipad. Am i maybe missing a step somewhere?

    I am getting this error

    "Uncaught TypeError: Property 'id' of object [object Object] is not a function"

    Thanks

    Awesome product. Much respect
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 01 Nov 2013 Link to this post

    Hello Tim,

    We could not reproduce such an issue on our end and the Camera sample app functions well on iOS devices. Have you by any chance altered the project properties and turned off any of the required Cordova plugins? Does the problem surface on a particular iOS device (which model and iOS version) or on several? We would appreciate if you provide us with the steps to reproduce this i.e. what steps do you perform to get the error.

    Regards,
    Steve
    Telerik
    You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Share feedback and vote for features on our Feedback Portal.
  3. Tim
    Tim avatar
    17 posts
    Member since:
    Sep 2012

    Posted 01 Nov 2013 Link to this post

    Hi Steve.

    I am actually using an ipad 2 with live sync  not an ipad 3. 

    I added a try catch 

    run:function() {
            var that = this;
            id("captureVideo").addEventListener("click", function() {
                try
                {
                that._captureVideo.apply(that, arguments);
                    }
                catch (err)
                {
                    alert(err);
                }
            });

    and got back

    "TypeError: 'undefined' is not an object 

    In the plugin options i have are Media, Camera, Device, File, Capture and Splashscreen .

    I think is might have to do with a setting on the ipad maybe, although i have turned off restrictions . I am not use to using an ipad so i am not too familiar with the device. 


  4. Answer
    Tim
    Tim avatar
    17 posts
    Member since:
    Sep 2012

    Posted 01 Nov 2013 Link to this post

    Hey ... I updated the Ion app and it works now!

    Thanks 
Back to Top