Rnback is a backend service for react-native applications.
To learn more, head to https://rnback.com
- Create a react-native project: (If you don't already have one)
react-native init MyProject && cd MyProject
- Install the sdk:
npm install --save rnback
- 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.
- Link library
react-native link rnback
- 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));