Write tweets even when the device is offline, once connectivity is regained, tweets will be posted live. React Native example project for how to setup redux-offline-queue
- Git clone this repo.
- Intall the app with
yarn intall
- Link libraries
react-native link
- Create twitter app via apps.twitter.com NOTE: Once you have created the twitter app, make sure to generate access tokens in the twitter app -> Keys and Access Tokens -> scroll to bottom -> click 'Create my access token'.
- Rename
app/config/tokens.js.example
toapp/config/tokens.js
and fill in your own tokens and secrets. - Start the server
yarn start
start your simulator or device.
IMPORTANT NOTE: If app is killed the offline messages wont be delivered. Set up redux-persist
to persist the store and post even after app has been killed.