jiti-meet/react/features/app/functions.native.js

25 lines
469 B
JavaScript
Raw Normal View History

// @flow
import { NativeModules } from 'react-native';
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;
}