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

Opening homescreen icon in Safari rather than independent, full screen app or saving state in fullscreen app

5 Answers 15 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
CM
Top achievements
Rank 1
CM asked on 19 Jun 2013, 03:37 PM
I'm developing an MVC 4 app that uses Windows Authentication on my domain. When the user goes to the root address on their iOS device they are presented with the standard log in box (because they aren't joined to the domain). When the log in everything is great and the apps works fine.

I want my users to be able to add a home screen icon for the app. Doing so gives us a great looking app experience but every time it's re-launched it starts back at the login screen and at the default view of the app.

So, I need to do one of the two:

1. Figure out a way to make the independent app remember its state and keep it authenticated or...
2. Force the home screen icon to open in Safari rather than it's own independent window.

5 Answers, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 21 Jun 2013, 11:34 AM
Hello Christopher,

I am afraid that you cannot avoid the refresh behaviour - its the way 'add to home screen' feature of iOS works.

As a workaround I can suggest you to hook up to the before show event of the initial view and check whether the user is already logged on or not. If he/she is logged on, you can call preventDefault method of the event parameter and redirect to another view.

I hope this will help.

Regards,
Alexander Valchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
CM
Top achievements
Rank 1
answered on 03 Jul 2013, 12:41 PM
Is there at least a way to force the 'add to homescreen' shortcut to open in Safari with its chrome rather than the fullscreen app?
0
Petyo
Telerik team
answered on 04 Jul 2013, 02:58 PM
Hi Cristopher,

We are going to introduce this feature as a configuration option for the mobile application in our upcoming Q2 release. 

Regards,
Petyo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
John
Top achievements
Rank 1
answered on 16 Jan 2017, 09:54 PM

Has there been any progress in this over the years?  Being able to maintain state when the web app is in background mode?

It's a huge issue for me which means I am going to have to publish the app as a cordova app which is a pain in the bum.

 

0
Stefan
Telerik team
answered on 18 Jan 2017, 02:18 PM
Hello John,

We did introduce the webAppCapable property in our Q2 2013:

http://docs.telerik.com/kendo-ui/api/javascript/mobile/application#configuration-webAppCapable

Please have in mind that for now, we do not have future plans to develop new features for Kendo UI Mobile.

I can suggest checking our NativeScript product which is used for mobile applications:

https://www.nativescript.org/

Regards,
Stefan
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
CM
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
CM
Top achievements
Rank 1
Petyo
Telerik team
John
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or