Skip to content

rnback/rnback

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

rnback

Rnback is a backend service for react-native applications.

To learn more, head to https://rnback.com


rnback sdk

Install

  1. Create a react-native project: (If you don't already have one)
    react-native init MyProject && cd MyProject
  1. Install the sdk:
    npm install --save rnback
  1. Add key from the dashboard https://dashboard.rnback.com/ :
    node ./node_modules/rnback/cli/ setkey "<key from dashboard>"
  • NOTE: It's important to do this step before the following.
  1. Link library
    react-native link rnback
  1. Done! you can now use the sdk in your app
    import {authenticate} from 'rnback';
    
    authenticate()
        .then(() => console.log('yay!'))
	.catch((err) => console.log('boo', err));