Dedicated website for documentation coming up soon. Fow now please follow the Usage section.
$ npm install react-native-private-kit-sdk --save
$ react-native link react-native-private-kit-sdk
import { BluetoothService, MagnetometerService, LocationService} from 'react-native-private-kit-sdk';
// For Bluetooth usage
BluetoothService.init();
BluetoothService.requestBluetoothStatus();
BluetoothService.enableBT();
BluetoothService.start();
// For Magnetometer usage
MagnetometerService.start();
// For LocationService usage
// Check and obtain the permissions first -
let locationPermission = LocationService.checkLocationPermission()
if (locationPermission == false) {
LocationService.requestLocation();
}
LocationService.start();
- Improved documentation
- Standalone libraries for single modalities (ex. - separate Location library, etc)
- WiFi
- QR Codes
- Encrypted and Hashing based set intersections
- Compute library (With Tensorflow.js support)
- Encrypted storage and authenticated data transfer
- Visualization library and Maps integration
- Background processing and background task management
- Google/Apple Exposure Notification Library with React Native binding