You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

functions.native.js 466B

123456789101112131415161718192021222324
  1. // @flow
  2. import { NativeModules } from 'react-native';
  3. export * from './functions.any';
  4. /**
  5. * Returns application name.
  6. *
  7. * @returns {string} The application name.
  8. */
  9. export function getName() {
  10. return NativeModules.AppInfo.name;
  11. }
  12. /**
  13. * Returns the path to the Jitsi Meet SDK bundle on iOS. On Android it will be
  14. * undefined.
  15. *
  16. * @returns {string|undefined}
  17. */
  18. export function getSdkBundlePath() {
  19. return NativeModules.AppInfo.sdkBundlePath;
  20. }