React native javascript sdk for mosquito-transport.
npm install react-native-mosquito-transport --save
or using yarn
yarn add react-native-mosquito-transport
internal bson
import RNMosquitoTransport from "react-native-mosquito-transport";
// uses sqlite to cache it data by default
RNMosquitoTransport.initializeCache();
const mclient = new RNMosquitoTransport({
projectUrl: "http://localhost:3444"
});
- RNMosquitoTransport Constructor
- RNMosquitoTransport Methods
- initialCache
- getDatabase
- collection
- auth
- storage
- fetchHttp
- listenReachableServer
- getSocket
- batchWrite
- TIMESTAMP
- AUTH_PROVIDER_ID
- DOCUMENT_EXTRACTION
- GEO_JSON
- FIND_GEO_JSON
- DoNotEncrypt
this is the base url of