ignite: State is not persisted on app restart
Hi all!!!
I’m having some issue in my application (both android and iOS Simulator) where the store is never persisted after app restart (I need to persist some facebook login/token data).
I tried to generate a new app and ended up with the same. I could reproduce the problem in StartupSaga.js where state.weather.temperature is always null. I’m not sure that I’m doing something wrong, maybe some permission?
- Issue does not already exist
- Identify exactly what aspect your issue is about
- ignite base application
- ignite the cli
- ignite generated code
Computer
Platform: darwin
Ignite
Version: 1.5.0
Path: /Users/fernandomorais/.nvm/versions/node/v6.3.1/bin/ignite
Node
Version: v6.3.1
Path: /Users/fernandomorais/.nvm/versions/node/v6.3.1/bin/node
NPM
Version: 3.10.3
Path: /Users/fernandomorais/.nvm/versions/node/v6.3.1/bin/npm
Yeoman
Version: 1.8.4
React Native CLI
Version: 1.0.0
App
React Native Version: 0.31.0
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 23 (8 by maintainers)
Same happens to me. Startup is called before rehydration Waiting for response from the masters =)
I am having the same issue… Startup running before rehydration, which is causing issues.