[RN] Polyfill Symbol
This commit is contained in:
parent
538da92eae
commit
5304660e14
|
@ -1,5 +1,3 @@
|
||||||
import { Symbol } from '../base/react';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The type of the actions which signals that a specific App will mount (in the
|
* The type of the actions which signals that a specific App will mount (in the
|
||||||
* terms of React).
|
* terms of React).
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
import { Symbol } from '../react';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The type of (redux) action which signals that a specific conference failed.
|
* The type of (redux) action which signals that a specific conference failed.
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
import { Symbol } from '../react';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The redux action which sets the configuration represented by the feature
|
* The redux action which sets the configuration represented by the feature
|
||||||
* base/config. The configuration is defined and consumed by the library
|
* base/config. The configuration is defined and consumed by the library
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
import { Symbol } from '../react';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The type of (redux) action which signals that a connection disconnected.
|
* The type of (redux) action which signals that a connection disconnected.
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
import { Symbol } from '../react';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The type of Redux action which signals that the currently used audio
|
* The type of Redux action which signals that the currently used audio
|
||||||
* input device should be changed.
|
* input device should be changed.
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
import { Symbol } from '../react';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The type of Redux action which closes a dialog
|
* The type of Redux action which closes a dialog
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
import { Symbol } from '../react';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The type of Redux action which signals that {@link JitsiMeetJS} was disposed.
|
* The type of Redux action which signals that {@link JitsiMeetJS} was disposed.
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
import { Symbol } from '../react';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The type of redux action which sets the configuration of the feature
|
* The type of redux action which sets the configuration of the feature
|
||||||
* base/logging.
|
* base/logging.
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
import { Symbol } from '../react';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The type of (redux) action to set the muted state of the local audio.
|
* The type of (redux) action to set the muted state of the local audio.
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
import { Symbol } from '../react';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create an action for when dominant speaker changes.
|
* Create an action for when dominant speaker changes.
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
// XXX React Native 0.41.2 does not polyfill Symbol. The React source code of
|
|
||||||
// jitsi/jitsi-meet does utilize Symbol though. However, it is satisfied with a
|
|
||||||
// ponyfill.
|
|
||||||
import Symbol from 'es6-symbol';
|
|
||||||
export { Symbol as default };
|
|
|
@ -2,4 +2,3 @@ export * from './components';
|
||||||
export * from './functions';
|
export * from './functions';
|
||||||
export { default as Platform } from './Platform';
|
export { default as Platform } from './Platform';
|
||||||
export { default as RouteRegistry } from './RouteRegistry';
|
export { default as RouteRegistry } from './RouteRegistry';
|
||||||
export { default as Symbol } from './Symbol';
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
import { Symbol } from '../react';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Action for when a track has been added to the conference,
|
* Action for when a track has been added to the conference,
|
||||||
* local or remote.
|
* local or remote.
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
import { Symbol } from '../base/react';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Action to remove known DesktopCapturerSources.
|
* Action to remove known DesktopCapturerSources.
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
import { Symbol } from '../base/react';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The type of the action which signals a check for a dial-out phone number has
|
* The type of the action which signals a check for a dial-out phone number has
|
||||||
* succeeded.
|
* succeeded.
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
import { Symbol } from '../base/react';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The type of action which signals to change the visibility of remote videos in
|
* The type of action which signals to change the visibility of remote videos in
|
||||||
* the filmstrip.
|
* the filmstrip.
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
import { Symbol } from '../base/react';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The type of the action which signals an error occurred while requesting dial-
|
* The type of the action which signals an error occurred while requesting dial-
|
||||||
* in numbers.
|
* in numbers.
|
||||||
|
@ -23,5 +21,3 @@ export const UPDATE_DIAL_IN_NUMBERS_FAILED
|
||||||
*/
|
*/
|
||||||
export const UPDATE_DIAL_IN_NUMBERS_SUCCESS
|
export const UPDATE_DIAL_IN_NUMBERS_SUCCESS
|
||||||
= Symbol('UPDATE_DIAL_IN_NUMBERS_SUCCESS');
|
= Symbol('UPDATE_DIAL_IN_NUMBERS_SUCCESS');
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
import { Symbol } from '../base/react';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The type of redux action which stores a specific JSON Web Token (JWT) into
|
* The type of redux action which stores a specific JSON Web Token (JWT) into
|
||||||
* the redux store.
|
* the redux store.
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
import { Symbol } from '../base/react';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Action to select the participant to be displayed in LargeVideo.
|
* Action to select the participant to be displayed in LargeVideo.
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
import { Symbol } from '../../base/react';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The type of redux action to set the AppState API change event listener.
|
* The type of redux action to set the AppState API change event listener.
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
import { Symbol } from '../base/react';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The type of the Redux action which signals that the prompt for media
|
* The type of the Redux action which signals that the prompt for media
|
||||||
* permission is visible or not.
|
* permission is visible or not.
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
import { Symbol } from '../base/react';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The type of (redux) action which begins the UI procedure to share the current
|
* The type of (redux) action which begins the UI procedure to share the current
|
||||||
* conference/room URL.
|
* conference/room URL.
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
import { Symbol } from '../base/react';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The type of the action which clears the Toolbox visibility timeout.
|
* The type of the action which clears the Toolbox visibility timeout.
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
import { Symbol } from '../base/react';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The type of the Redux action which signals that the React Component
|
* The type of the Redux action which signals that the React Component
|
||||||
* UnsupportedMobileBrowser which was rendered as a promotion of the mobile app
|
* UnsupportedMobileBrowser which was rendered as a promotion of the mobile app
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
import 'es6-symbol/implement';
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { AppRegistry, Linking } from 'react-native';
|
import { AppRegistry, Linking } from 'react-native';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue