1.0.2 • Published 1 year ago

xpedio-mobile v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Xpedio mobile for React Native apps

This is a library for react-native applications which has most frequently used functionalities. This library will provide you tonnes of utility functions which will simplify coding.

So enjoy the coding...

Authors

Manish Bhavsar

Installation

Install xpedio mobile library with npm

  npm install --save xpedio-mobile

API Reference

Get all API details

Function nameReturn typeDescription
getDeviceIdstringReturns unique device id if device is registered
registerDevicebooleanRegister handset with unique ID which is also stored on server

Documentation

getDeviceId(): string

This function will return registered device ID which needs to be validated against the server entry.

registerDevice({ deviceId: string, phone: string }): boolean

Registers device on the server