Software Archive
Read-only legacy content
17061 Discussions

localStorage key xdk_ap_startpage.... what's it used for?

Stu_B_
Beginner
481 Views

I have an small hybrid (mbl app front-end / mySQL db back-end)... I'm using the window.localstorage to verify and validate the user has 'rights' to crud with the backend.  No problem with the emulator... however, when using the Intel App Preview to check the app on iOS and Android the localstorage contains one key xdk_ap_startpage

Q: Is this detail important or can I delete it on the document.on.ready event?

Thank you for any insight.

Stu B
Phoenix, AZ

0 Kudos
2 Replies
Swati_S_Intel1
Employee
481 Views

It is probably used by the App Preview, I'll find out for sure. I wouldn't delete that. Is it interfering with your app in any way?

0 Kudos
Stu_B_
Beginner
481 Views

Thanks Swati S.
no, no interfering with my app.  I was a little surprised when using the emulator there are zero key:value pairs and then when I run the app on either the android or ios device using the App Preview there was is key:value pair (key = xdk_ap_startpage).

However, when using the Legacy version of the App Preview... at the doc.on.ready event the localstorage has zero key:value pairs.

So, it must have something to do with the most current version of the App Preview.

0 Kudos
Reply