Comments (7)
User is being logged out everytime he quits the app. Let me know, If I can get help from localStorage () function?
from parse-sdk-js.
Under the hood, we update an in-memory cache of the current user, but we don't save back to disk on each successful server save.
The solution is to special-case the save of a ParseUser
object, checking to see if it is the current user; if it is, we can save back to localStorage
before resolving the outermost Promise.
from parse-sdk-js.
Is this a regression in the latest version? Because; I have 1.5.0
in one of my projects where saving the current parse user saves the object to localStorage as well, but on the other project where I'm using 1.6.7
I'm having this issue; the object doesn't persist in localStorage.
Same for fetch()
the latest version only saves the current user to memory not localStorage but the earlier version I'm using updates localStorage as well.
from parse-sdk-js.
Just pushed a fix. We will release 1.6.9 later today with these issues resolved.
from parse-sdk-js.
Is 1.6.9 still being released? I see the tag in this repo, but site and CDN only have 1.6.7. Really need this fix in. Thanks!
from parse-sdk-js.
Hi, just checking in to ask if 1.6.9 will be available soon? The CDN is still at 1.6.7 and I am also eager to distribute the fixed version.
from parse-sdk-js.
The CDN is at 1.6.14 at time of writing, the (recommended way of getting this aka the) npm module is at 1.6.14, this is fixed and should be closed.
from parse-sdk-js.
Related Issues (20)
- Allow for REST Content Override for Server protection HOT 2
- Align currently supported Node.js version HOT 4
- `Parse.User.verifyPassword` does not pass request options to server HOT 5
- Parse SDK 4.3.1 is not working with React Native / Expo HOT 9
- Expo RN and ParseLiveQuery EventEmitter error HOT 13
- Cannot set ACL from JSON HOT 1
- Infinite loop in `encode.js` HOT 5
- Missing test for `Parse.User.verifyPassword` option `ignoreEmailVerification` HOT 2
- `Parse.Object.set` sliently handles validation errors HOT 1
- TypeError: attempted to use private field on non-instance, js engine: hermes HOT 3
- Installation support for JS SDK HOT 4
- Allow to run queries through LiveQueryClient (Parse Server issue #9086) HOT 5
- Local state of objects not correct if setting multiple properties HOT 2
- LocalDatastore tests fail HOT 4
- Parse.Installation doesn't handle deleted Installation objects on server HOT 3
- Replace dependency ip-node HOT 2
- Parse.File Terminates when Encoding/Decoding Large Media File(s) with URI Constructor HOT 6
- Change fields in LiveQueryClient.resubscribe to keys HOT 8
- Parse error in vite ( back4app ) on Parse.initialize: EventEmitter is not a constructor HOT 2
- Object attributes transformed in array HOT 36
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 parse-sdk-js.