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

6 posts, 0 answers
  1. CM
    CM avatar
    12 posts
    Member since:
    Nov 2012

    Posted 19 Jun 2013 Link to this post

    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.
  2. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2885 posts

    Posted 21 Jun 2013 Link to this post

    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!
  3. CM
    CM avatar
    12 posts
    Member since:
    Nov 2012

    Posted 03 Jul 2013 Link to this post

    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?
  4. Petyo
    Admin
    Petyo avatar
    2442 posts

    Posted 04 Jul 2013 Link to this post

    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!
  5. John
    John avatar
    11 posts
    Member since:
    Jun 2010

    Posted 16 Jan in reply to Petyo Link to this post

    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.

     

  6. Stefan
    Admin
    Stefan avatar
    425 posts

    Posted 18 Jan Link to this post

    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
Back to Top