This is a migrated thread and some comments may be shown as answers.

Camera Sample app

3 Answers 73 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Tim
Top achievements
Rank 1
Tim asked on 31 Oct 2013, 04:47 PM
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

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 01 Nov 2013, 11:13 AM
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.
0
Tim
Top achievements
Rank 1
answered on 01 Nov 2013, 01:40 PM
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. 


0
Accepted
Tim
Top achievements
Rank 1
answered on 01 Nov 2013, 01:48 PM
Hey ... I updated the Ion app and it works now!

Thanks 
Tags
Report a bug
Asked by
Tim
Top achievements
Rank 1
Answers by
Steve
Telerik team
Tim
Top achievements
Rank 1
Share this question
or