I have a PhoneGap / Corodova project for iOS. While I was building the iOS simulator, I used jQuery Cookies and everything was fine. However, now that I have an application on my device for testing, they no longer work. I assume that this is just what iOS does not support.
Does anyone know a way to make client side cookies for iOS?
PS: My current cookie code (just in case itβs useful):
<script type="text/javascript" charset="utf-8" src="js/jquery.cookie.js"></script> <script type="text/javascript"> $(function() { var cookiedate = new Date(); cookiedate.setTime(cookiedate.getTime() + (60 * 60 * 1000)); $.cookie("startupscreen", "checked", { expires: cookiedate, path: '/' }) }); </script>
jquery ios cookies cordova
Meltingdog
source share