2017-11-09 20:59:43 +00:00
|
|
|
import { NativeModules } from 'react-native';
|
2020-05-20 10:57:03 +00:00
|
|
|
|
2017-11-09 20:59:43 +00:00
|
|
|
import { getJitsiMeetGlobalNS } from '../../util';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* If WiFiStats native module exist attach it to JitsiMeetGlobalNS.
|
|
|
|
*/
|
|
|
|
if (NativeModules.WiFiStats) {
|
|
|
|
getJitsiMeetGlobalNS().getWiFiStats = NativeModules.WiFiStats.getWiFiStats;
|
|
|
|
}
|