Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

Data saved with cache.setCooke not persisting between sessions on Android Crosswalk

Ian_P_1
Beginner
491 Views

The line of code in question, used for keeping users logged in: 

intel.xdk.cache.setCookie(key,data_string,-1);

Works fine for iOS, but the Android Crosswalk build doesn't seem to remember what was saved between sessions.

My app does not bootstrap until it gets the intel.xdk.device.ready event, so I know it's not that. Could it have anything to do with an Android permission that needs to be added?

0 Kudos
2 Replies
Ian_P_1
Beginner
491 Views

Note: The tester reporting this is on a Moto X running Android 4.4.4

0 Kudos
Amrita_C_Intel
Employee
491 Views

Hello,

Try testing with Android instead of Android crosswalk and see if it works.

0 Kudos
Reply