react-native-mosquito-transport
TypeScript icon, indicating that this package has built-in type declarations

0.0.21 • Public • Published

react-native-mosquito-transport

React native javascript sdk for mosquito-transport.

Installation

npm install react-native-mosquito-transport --save

or using yarn

yarn add react-native-mosquito-transport

Usage

import RNMosquitoTransport from "react-native-mosquito-transport";

RNMosquitoTransport.initializeCache({
  cachePassword: "****",
  cacheProtocol: "sqlite",
});

const mclient = new RNMosquitoTransport({
  projectUrl: "http://localhost:3444",
  accessKey: "SERVER_ACCESS_KEY",
});

Additional Documentations

RNMosquitoTransport Constructor

dbName

dbUrl

projectUrl

this is the base url of

disableCache

Package Sidebar

Install

npm i react-native-mosquito-transport

Weekly Downloads

150

Version

0.0.21

License

MIT

Unpacked Size

473 kB

Total Files

97

Last publish

Collaborators

  • deflexable