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

kendoTouch issue

3 Answers 21 Views
AppBuilder Windows client
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sean
Top achievements
Rank 1
Sean asked on 23 Oct 2014, 03:44 AM
Can't replicate it in the simulator, but happens on an adhoc build and in the companion app.  My app is a basic iPad app using a split view.  The one view handles all of my data including content.  It uses html injection to display content data while the other pane displays a listview for a menu.  The user has the ability to swipe to move to the next 'slide', these slides can contain images, video and audio.  If you start swiping very quickly, but not being silly about it, after about 40 slides or so, the swiping no longer works.  The only way to get around this was to run the below code again to restore the swiping.  Normally only runs in the init of the view:

            $("#courseView").kendoTouch({
       enableSwipe: true,
       swipe: function (e) {
                    if (e.direction === "left") {
                        // do left stuff                   
                    } else if (e.direction === "right") {
                        //do right stuff
                    }        
       }
      });

To get around this I have created a menu button to run the above code again, which then allows the user to continue swiping.  My other alternate is to run the kendoTouch every time someone views a slide so it won't crash.

Thoughts?

Cam.

3 Answers, 1 is accepted

Sort by
0
Martin Yankov
Telerik team
answered on 27 Oct 2014, 12:43 PM
Hi Sean,

Thank you for reporting this.

However, I cannot be sure what is causing the issue you are experiencing as it is very important to know how exactly you have implemented the described scenario. For example, I don't know when you are adding slides and when you are removing them. There is a possibility that the element that started the touchstart event was removed before throwing the touchend event, but I cannot be sure this is the cause.

Can you please send us a sample app, where this can be reproduced? Alternatively, you can open a support ticket and send us your app or your app name if you are developing it in the In-Browser Client or the Windows Client. Having an example will greatly help us to investigate the issue and provide a solution.

I am looking forward to your reply.

Regards,
Martin Yankov
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
Sean
Top achievements
Rank 1
answered on 03 Dec 2014, 12:35 AM
Hi Martin,

Looks like I have narrowed the issue down to using the HTML5 video part.  If you swipe too quickly past a video slide it has a chance to break kendotouch.  If you make the video fullscreen, then go back, kendotouch fails 100% of the time.  The reason we don't see this in the simulator as it does not do the HTML5 video.

Thoughts? Should we be using a different plugin to display MP4 for video?

If need be I can put in a support ticket, but you will need to produce an AdHoc build to replicate this, so I will need to add your UUID for your iPad.  Unfortunately we cannot use the AppBuilder deploy type as the app is 150MB and the AppBuilder build generally timesout before it can download it.
0
Martin Yankov
Telerik team
answered on 05 Dec 2014, 12:52 PM
Hello Sean,

I tried reproducing your problem without success. Can you please share how you are running the media files in your slides? Are you using a plugin or a simple HTML5 media element? Why isn't it running in the simulator? Even then, I suggest you open a support ticket and send me your project, so that I can investigate what is happening in your project. There is no need for builds or you to add UUIDs in the provisioning profile. Just send me the project. If you are using the Windows Client or the In Browser Client, you can just share the name of  the project.

I am looking forward to your reply.

Regards,
Martin Yankov
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
AppBuilder Windows client
Asked by
Sean
Top achievements
Rank 1
Answers by
Martin Yankov
Telerik team
Sean
Top achievements
Rank 1
Share this question
or