UNPKG

opentok-react-native

Version:

React Native components for OpenTok iOS and Android SDKs

15 lines (12 loc) 278 B
const handleError = (error) => { console.log('OTRN JS: There was an error: ', error); }; const handleSignalError = (error) => { if (error) { console.log(`OTRN JS: There was an error sending the signal ${error}`); } }; export { handleError, handleSignalError, };