26 lines
502 B
JavaScript
26 lines
502 B
JavaScript
// @flow
|
|
|
|
import { NativeModules } from 'react-native';
|
|
|
|
export * from './functions.any';
|
|
export * from './getRouteToRender';
|
|
|
|
/**
|
|
* Returns application name.
|
|
*
|
|
* @returns {string} The application name.
|
|
*/
|
|
export function getName() {
|
|
return NativeModules.AppInfo.name;
|
|
}
|
|
|
|
/**
|
|
* Returns the path to the Jitsi Meet SDK bundle on iOS. On Android it will be
|
|
* undefined.
|
|
*
|
|
* @returns {string|undefined}
|
|
*/
|
|
export function getSdkBundlePath() {
|
|
return NativeModules.AppInfo.sdkBundlePath;
|
|
}
|