0.6.8 • Published 12 months ago

telemed-ui-layer v0.6.8

Weekly downloads
-
License
MIT
Repository
-
Last release
12 months 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

12 months ago

0.6.6

12 months ago

0.6.5

12 months ago

0.6.4

12 months ago

0.6.2

12 months ago

0.6.1

12 months ago

0.6.0

12 months ago

0.5.9

12 months ago

0.5.8

12 months ago

0.5.7

12 months ago

0.5.6

12 months ago

0.5.5

12 months ago

0.5.4

12 months ago

0.5.3

12 months ago

0.5.2

12 months ago

0.5.1

12 months ago

0.5.0

12 months ago

0.4.9

12 months ago

0.4.8

12 months ago

0.4.7

12 months ago

0.4.6

12 months ago

0.4.5

1 year ago

0.4.4

1 year ago

0.4.3

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.3.9

1 year ago

0.3.8

1 year ago

0.3.7

1 year ago

0.3.6

1 year ago

0.3.5

1 year ago

0.3.4

1 year ago

0.3.3

1 year ago

0.3.2

1 year ago

0.2.9

1 year ago

0.2.8

1 year ago

0.2.7

1 year ago

0.2.6

1 year ago

0.2.4

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago