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

get browser cookies from app

1 Answer 65 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Javier
Top achievements
Rank 1
Javier asked on 19 Feb 2015, 10:17 PM
Hi, 

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!

1 Answer, 1 is accepted

Sort by
0
Martin Yankov
Telerik team
answered on 24 Feb 2015, 09:38 AM
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.

Regards,
Martin Yankov
Telerik
 

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.

 
Tags
General Discussions
Asked by
Javier
Top achievements
Rank 1
Answers by
Martin Yankov
Telerik team
Share this question
or