1.4.0-beta • Published 8 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
8 years ago
1.2.0-beta
8 years ago
1.1.0-beta
8 years ago
1.0.0-preview
8 years ago
0.0.6
9 years ago
0.0.5
9 years ago
0.0.4
9 years ago
0.0.3
9 years ago
0.0.2
9 years ago
0.0.1
9 years ago