Skip to content

luggagejs/dropbox-autent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dropbox Autent

Small library for authentication to Dropbox with React Native.

Import

import DropboxAutent from 'dropbox-autent'

Call

DropboxAutent({apiKey: API_KEY, redirectUrl: 'oauth2todo://foo'})(App)

Your have to set 2 parameters in hash:

  • apiKey is an api kay for your Dropbox Application.
  • redirectUrl is redirect url. It should be set in Dropbox. Read here for more information.

App - is your React component which will be called after authentication

Example

See TodoList example in 'example' folder.