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

Chrome App Error: Uncaught history.length is not available in packaged apps.

3 Answers 24 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Nathan
Top achievements
Rank 1
Nathan asked on 27 Mar 2014, 04:43 PM
I have a Chrome App using Kendo UI Complete v2013.3.1324 and it works correctly.  I just downloaded Kendo UI Complete v2014.1.318 and it generates an error when instantiating a new mobile application.

Ex: var app = new kendo.mobile.Application(document.body); 

I will continue to use the previous version for now.  Any help upgrading is appreciated.  Thanks.

Uncaught history.length is not available in packaged apps. extensions::platformApp:14
(anonymous function) extensions::platformApp:14
o.Class.extend.length kendo.all.min.js:10
o.Observable.extend.start kendo.all.min.js:10
o.extend.start kendo.all.min.js:10
l.Observable.extend._startHistory kendo.all.min.js:21
(anonymous function) kendo.all.min.js:21
c jquery-1.9.1.js:7341
p.fireWith jquery-1.9.1.js:7403
b.extend.ready jquery-1.9.1.js:6875
H jquery-1.9.1.js:6601

3 Answers, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 28 Mar 2014, 12:32 PM
Hi Nathan,

Thank you very much for sharing this with us. This is quite an interesting decision from Google - we will need to investigate the limitations they have applied to their packaged app environment further. With Q1, Kendo UI Mobile relies on the browser history object for various operations, including detecting back<>forward navigation. Not having access to the history.length value makes this task quite complicated, to be honest.

Regards,
Petyo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Nathan
Top achievements
Rank 1
answered on 29 Mar 2014, 04:19 AM
Petyo,

http://www.telerik.com/kendo-ui/chrome-packaged-app

The 1, 2, 3 steps in this guide will no longer work.  Do you know where I can get the latest version of kendo is that is supported?

Thanks,

Nathan
0
Kiril Nikolov
Telerik team
answered on 01 Apr 2014, 11:11 AM
Hi Nathan,

I am afraid that the problem that you are referring is still being worked upon, and currently there is not a viable workaround that we can offer.

Thank you very much for your understanding.

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
General Discussions
Asked by
Nathan
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Nathan
Top achievements
Rank 1
Kiril Nikolov
Telerik team
Share this question
or