We have a packaged lightning component for use in communities that uses a cookie to track some properties about unauthenticated users between page visits. In my DE org, Locker Service has no support for document.cookie
. I know that the lightning team had mentioned that support was on the roadmap but the critical update for communities goes live very soon and this is not yet available in my org and I see that in the aura source code, SecureDocument.cookie
is still read-only.
Is document.cookie
read/write support going to be available in Locker Service before the critical update activation date of 2/11/2017 or do we have to refactor our application to use localStorage (assuming this is available) before that date and get all of our customers to update?
Obviously we would love not to spend all the resources on refactoring the application to work around the missing document.cookie
support but the tracking functionality is critical and having our application suddenly go down on 2/11/2017 would be unacceptable.