0.0.41 • Published 3 years ago
@integrity_applications/glucotrack-sdk v0.0.41
Glucotrack SDK
An SDK for accessing Glucotrack public api
Installation
npm i @integrity_applications/glucotrack-sdk
Or
yarn add @integrity_applications/glucotrack-sdk
Getting Started
import { ApiEnvironment, SdkClient, VerificationMethod } from '@integrity_applications/glucotrack-sdk'
const sdkClient = new SdkClient({
environment: ApiEnvironment.Production, // Optional, Production is the default
storageProvider: localStorage
})
const loginResponse = await sdkClient.auth.login({
countryCode: '+972',
phoneNumberWithoutCountryCode: '0541231234',
verificationMethod: VerificationMethod.Sms
})
React Native
in order to work with the SDK in react-native you must install
yarn add react-native-get-random-values
And import it first thing in your app
import 'react-native-get-random-values'
0.0.40
3 years ago
0.0.41
3 years ago
0.0.37
4 years ago
0.0.38
4 years ago
0.0.39
4 years ago
0.0.36
4 years ago
0.0.30
4 years ago
0.0.31
4 years ago
0.0.33
4 years ago
0.0.34
4 years ago
0.0.29
4 years ago
0.0.28
4 years ago
0.0.27
4 years ago
0.0.26
4 years ago
0.0.25
4 years ago
0.0.24
4 years ago
0.0.23
4 years ago
0.0.20
4 years ago
0.0.21
4 years ago
0.0.22
4 years ago
0.0.19
4 years ago
0.0.18
4 years ago
0.0.16
4 years ago
0.0.17
4 years ago
0.0.15
4 years ago
0.0.13
4 years ago
0.0.14
4 years ago
0.0.12
4 years ago
0.0.11
4 years ago
0.0.10
4 years ago
0.0.9
4 years ago
0.0.8
4 years ago
0.0.7
4 years ago
0.0.6
4 years ago
0.0.5
4 years ago
0.0.4
4 years ago
0.0.3
4 years ago
0.0.2
4 years ago
0.0.1
4 years ago