🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

react-native-sqlite-storage

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-sqlite-storage

SQLite bindings for React Native

Source
npmnpm
Version
0.0.2
Version published
Weekly downloads
29K
-13.1%
Maintainers
1
Weekly downloads
 
Created
Source

react-native-sqlite-storage

SQLite Native Plugin for React Native

Inspired by fantastic work done by Chris Brody I did not want to re-invent the wheel. The original Cordova plugin was written so well and adhered to latest WebSQL API that there was no need to come up with anything much different. So the Cordova plugin was ported to React Native.

This is iOS binding only for now. Initial release - fully working. Tested so far with Simulators.

Supports transactions

How to use:

  • npm install --save react-native-sqlite-storage
  • Drag the SQLite Xcode project as a dependency project into your React Native XCode project
  • Add libSQLite.a (from Workspace location) to the required Libraries and Frameworks.
  • Add var SQLite = require('react-native-sqlite-storage') to your index.ios.js
  • Add JS application code to use SQLite API in your index.ios.js etc.

Enjoy!

Original Cordova SQLite Bindings from Chris Brody

https://github.com/litehelpers/Cordova-sqlite-storage

The issues and limitations for the actual SQLite can be found on this site.

Keywords

react-native-sqlite-storage

FAQs

Package last updated on 30 Oct 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts