Comments (10)
Created a pull request for this
#13
from angular-storage.
Keep in mind that you will need to include angular-cookies and ngCookies in your app for this to work.
from angular-storage.
+1 for the problem
please add this check for localStorage to resolve problem.
this work both Safari private mode and ios cordova.
function isLocalStorageSupported() {
var storage = window. localStorage,
key = 'test';
try {
storage.setItem(key, '1');
storage.removeItem(key);
return true;
} catch (error) {
return false;
}
}
from angular-storage.
Thanks for the report.
We'll implement it. I'll try to get it done this week, otherwise, next for sure :).
Thanks!
from angular-storage.
I'll also check the PR first :). Thanks @i8ramin for the contributions :).
from angular-storage.
perfect! thanks.
from angular-storage.
i pushed a pull request, many time ago... since now...no merging... project dead?
if anyone is interested for a solution i made my trunk with fix https://github.com/gimox/angular-storage
from angular-storage.
Fixed!
from angular-storage.
thanks
from angular-storage.
And released as 0.0.10 :).
No prob!
from angular-storage.
Related Issues (20)
- Purpose of the caching? HOT 10
- Proper handling of localStorage disabled check HOT 7
- Cookie fallback tests don't pass HOT 1
- No way to clear localStorage HOT 4
- Outdated README? HOT 3
- getNameSpacedStore should use storage type set by setStore function by default HOT 1
- Clear all HOT 8
- Local storage date gets converted to string. HOT 1
- Unable to fetch String based cookies cause CookieStore is deprecated HOT 3
- Cannot install 0.0.13 from bower HOT 6
- Usage in config phase HOT 4
- Multiple storages HOT 3
- Fetch all? HOT 1
- Couldn't find ngCookies HOT 13
- localstorage value gets updated without using the store.set() method HOT 2
- Stored Data Encryption HOT 1
- JWT token saved with quotes HOT 3
- Is there an Angular 2 version? HOT 2
- Storage.getItem() returns null when item not set HOT 1
- Storage.Set() Improvement Multiple key-value pair HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-storage.