Software Archive
Read-only legacy content
17060 Discussions

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

Ian_P_1
Beginner
481 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
481 Views

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

0 Kudos
Amrita_C_Intel
Employee
481 Views

Hello,

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

0 Kudos
Reply