1.4.0-beta • Published 7 years ago
rnback v1.4.0-beta
rnback sdk
Rnback is a backend service for react-native applications. To learn more, head to https://rnback.com
Install
- 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(() => console.log('boo'));
Build
- To pack the SDK, run in the directory of this repository:
npm pack
- The created directory "rnback-.tgz" is the rnback sdk bundle. To install it locally, run inside your app:
npm install --save <path-to-sdk>/rnback-<version>.tgz
- Follow the steps from the installation section from step 3 onward
Generate rnback documentation
npm run generate-docs
- NOTE: The generated file is documentation.md
1.4.0-beta
7 years ago
1.2.0-beta
7 years ago
1.1.0-beta
7 years ago
1.0.0-preview
7 years ago
0.0.6
7 years ago
0.0.5
7 years ago
0.0.4
7 years ago
0.0.3
7 years ago
0.0.2
7 years ago
0.0.1
7 years ago