Small library for authentication to Dropbox with React Native.
import DropboxAutent from 'dropbox-autent'DropboxAutent({apiKey: API_KEY, redirectUrl: 'oauth2todo://foo'})(App)Your have to set 2 parameters in hash:
apiKeyis an api kay for your Dropbox Application.redirectUrlis redirect url. It should be set in Dropbox. Read here for more information.
App - is your React component which will be called after authentication
See TodoList example in 'example' folder.