Skip to content

Tweet even when offline. Example project for redux-offline-queue

Notifications You must be signed in to change notification settings

RobPando/offlineTweet

Repository files navigation

Offline Tweet

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

Setup

  1. Git clone this repo.
  2. Intall the app with yarn intall
  3. Link libraries react-native link
  4. 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'.
  5. Rename app/config/tokens.js.example to app/config/tokens.js and fill in your own tokens and secrets.
  6. 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.

About

Tweet even when offline. Example project for redux-offline-queue

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published