ICEpush
  1. ICEpush
  2. PUSH-386

Improve HTML5 localStorage detection

    Details

      Description

      Following from https://github.com/bridgeit/bridgeit.io.js/issues/20

      Local storage is restricted on iOS. It may not be available on iOS 7 and can be further restricted by browsing in 'Private Mode'. Simple detection of window.localStorage or window.sessionStorage will still report 'true' even when localStorage is forbidden. Because of this, it's recommended to perform an actual test of localStorage before assuming it's ok to use.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #50732 Thu Feb 23 14:12:02 MST 2017 mircea.toma PUSH-386 Back-port fixes.
        Files Changed
        Commit graph MODIFY /icepush/branches/icepush-core-4.x-maintenance/icepush/core/src/main/javascript/application.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48565 Tue Mar 29 05:44:09 MDT 2016 mircea.toma PUSH-386 Use 'removeItem' function instead of 'delete' operator (not supported by IE8) when removing items from local storage.
        Files Changed
        Commit graph MODIFY /icepush/trunk/icepush/core/src/main/javascript/application.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48536 Tue Mar 22 05:47:33 MDT 2016 mircea.toma PUSH-386 Exercise local storage to confirm that is actually functional.
        Files Changed
        Commit graph MODIFY /icepush/trunk/icepush/core/src/main/javascript/application.js

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Mircea Toma
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: