0.6.8 • Published 2 years ago

telemed-ui-layer v0.6.8

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

telemed-ui

This document describes the usage of Telemed UI package inside Star health’s app

Installation

npm install telemed-ui-layer or
yarn add telemed-ui-layer

cd ios && pod install

Dependency

"react-native-document-picker": "^8.1.4",

"react-native-image-picker": "^5.3.1",

"react-native-twilio-video-webrtc": "^3.1.0",

"react-native-blob-util": "^0.17.3",

"socket.io-client": "^4.6.0",

"react-native-fast-image": "^8.6.3",

"react-native-image-progress": "^1.2.0",

"react-native-background-timer": "^2.4.1",

"react-native-keep-awake": "^1.1.0",

"react-native-scoped-storage": "^1.9.3",

"react-native-element-dropdown": "^2.8.1",

"react-native-device-info": "^10.6.0",

"react-native-permissions": "^3.8.0",

"@react-native-community/netinfo": "^9.3.9",

Usage

Open Pod file and add the following line. pod 'react-native-twilio-video-webrtc', path: '../node_modules/react-native-twilio-video-webrtc'

Run cd ios && pod install

Add OPDStack as screen inside app's navigator.

import { OPDStack, setAppTheme, EVENTID, navigateToOpd } from 'telemed-ui-layer';
import { useNavigation } from '@react-navigation/native';
// ...

setAppTheme('light'); //light or dark
return (
 <Stack.Navigator>
     <Stack.Screen name="CurrentApp" component={CurrentAppScreen} />
	   <Stack.Screen name="OPDApp" component={OPDStack}>
 </Stack.Navigator>
);

To Scheduled Call module;

// ...
const navigation = useNavigation();

navigateToOpd(navigation, EVENTID.ScheduledCall, userId, token);

To open instant Call module ;

// ...
const navigation = useNavigation();

navigateToOpd(navigation, EVENTID.InstantCall, userId, token);

To open consultation list module ;

// ...
const navigation = useNavigation();

navigateToOpd(navigation, EVENTID.MyConsultation, userId, token);

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

0.6.8

2 years ago

0.6.6

2 years ago

0.6.5

2 years ago

0.6.4

2 years ago

0.6.2

2 years ago

0.6.1

2 years ago

0.6.0

2 years ago

0.5.9

2 years ago

0.5.8

2 years ago

0.5.7

2 years ago

0.5.6

2 years ago

0.5.5

2 years ago

0.5.4

2 years ago

0.5.3

2 years ago

0.5.2

2 years ago

0.5.1

2 years ago

0.5.0

2 years ago

0.4.9

2 years ago

0.4.8

2 years ago

0.4.7

2 years ago

0.4.6

2 years ago

0.4.5

2 years ago

0.4.4

2 years ago

0.4.3

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago

0.3.9

2 years ago

0.3.8

2 years ago

0.3.7

2 years ago

0.3.6

2 years ago

0.3.5

2 years ago

0.3.4

2 years ago

0.3.3

2 years ago

0.3.2

2 years ago

0.2.9

2 years ago

0.2.8

2 years ago

0.2.7

2 years ago

0.2.6

2 years ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago