Skip to content

Explorer for react-native-sqlite-storage inside react native app

License

Notifications You must be signed in to change notification settings

Henus321/react-native-sqlite-explorer

Repository files navigation

react-native-sqlite-explorer

Explorer for react-native-sqlite-storage inside react native app

Installation

npm install react-native-sqlite-explorer

Usage

import SQLiteExplorer from 'react-native-sqlite-explorer';

const SQLiteExplorerScreen = () => {
  // initial baseName that you used in params or taken from openDatabase success callback:
  // SQLite.openDatabase({ name: baseName, location: 'default' }, DB => { DB.dbname <-- your baseName also here
  const baseName = '<your_base_name_here>';

  return <SQLiteExplorer params={{ name: baseName, location: 'default' }} />;
};

export default SQLiteExplorerScreen;

Tips

Temporarily only for Android

Example 1 Example 2

Example 3 Example 4

License

MIT


Made with create-react-native-library

About

Explorer for react-native-sqlite-storage inside react native app

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published