1.0.13 • Published 7 years ago

rn-storage v1.0.13

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

RN-Storage CircleCI npm version

NPM

React-Native AsyncStorage wrapper

Install

npm install rn-storage --save

Useage

let storage = new Storage()
storage.registerSchema(["example"])

//mount to global namespace for all the scene component
global.storage = storage

var exampleEntity = storage.entity("example")

exampleEntity.findAll().then(ret=>{
    //your bussiness code come here
})

more instructions refer to API

Todo

  • fix some unknow bugs
  • add more api documents

License

MIT License

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago