get browser cookies from app

2 posts, 0 answers
  1. Javier
    Javier avatar
    1 posts
    Member since:
    Feb 2013

    Posted 19 Feb 2015 Link to this post


    I am developing an hybrid mobile app and i want know if i would be able to read cookies from device web browser that the device has installed..

    Thanks and greetings!
  2. Martin Yankov
    Martin Yankov avatar
    177 posts

    Posted 24 Feb 2015 Link to this post

    Hello Javier,

    Thank you for contacting us.

    The problem is that most device web views do not provide cookie support out of the box. I am not sure if there is a reason for this, but either way, you are encouraged to use localStorage for hybrid apps. It persists through app starts and if it is backed up can persist through app installs.

    The storage options for Cordova powered apps are explained here.

    Martin Yankov

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top