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

4 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
    2875 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. Kendo UI is VS 2017 Ready
  4. 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?
  5. Petyo
    Admin
    Petyo avatar
    2439 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!
Back to Top
Kendo UI is VS 2017 Ready