snapshot of https://github.com/jitsi/jitsi-meet.git @ fd1749dd28f4138aa80234fc7f311b19aaffa0e7 (2026-09-15)
This commit is contained in:
13
react/features/mobile/react-native-sdk/functions.js
vendored
Normal file
13
react/features/mobile/react-native-sdk/functions.js
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
import { NativeModules } from 'react-native';
|
||||
|
||||
|
||||
/**
|
||||
* Determines if the ExternalAPI native module is available.
|
||||
*
|
||||
* @returns {boolean} If yes {@code true} otherwise {@code false}.
|
||||
*/
|
||||
export function isExternalAPIAvailable() {
|
||||
const { ExternalAPI } = NativeModules;
|
||||
|
||||
return ExternalAPI !== null;
|
||||
}
|
||||
Reference in New Issue
Block a user