[RN] Polyfill Symbol

This commit is contained in:
Saúl Ibarra Corretgé 2017-05-26 16:35:40 -05:00 committed by Lyubo Marinov
parent 538da92eae
commit 5304660e14
25 changed files with 1 additions and 52 deletions

View File

@ -1,5 +1,3 @@
import { Symbol } from '../base/react';
/**
* The type of the actions which signals that a specific App will mount (in the
* terms of React).

View File

@ -1,5 +1,3 @@
import { Symbol } from '../react';
/**
* The type of (redux) action which signals that a specific conference failed.
*

View File

@ -1,5 +1,3 @@
import { Symbol } from '../react';
/**
* The redux action which sets the configuration represented by the feature
* base/config. The configuration is defined and consumed by the library

View File

@ -1,5 +1,3 @@
import { Symbol } from '../react';
/**
* The type of (redux) action which signals that a connection disconnected.
*

View File

@ -1,5 +1,3 @@
import { Symbol } from '../react';
/**
* The type of Redux action which signals that the currently used audio
* input device should be changed.

View File

@ -1,5 +1,3 @@
import { Symbol } from '../react';
/**
* The type of Redux action which closes a dialog
*

View File

@ -1,5 +1,3 @@
import { Symbol } from '../react';
/**
* The type of Redux action which signals that {@link JitsiMeetJS} was disposed.
*

View File

@ -1,5 +1,3 @@
import { Symbol } from '../react';
/**
* The type of redux action which sets the configuration of the feature
* base/logging.

View File

@ -1,5 +1,3 @@
import { Symbol } from '../react';
/**
* The type of (redux) action to set the muted state of the local audio.
*

View File

@ -1,5 +1,3 @@
import { Symbol } from '../react';
/**
* Create an action for when dominant speaker changes.
*

View File

@ -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 };

View File

@ -2,4 +2,3 @@ export * from './components';
export * from './functions';
export { default as Platform } from './Platform';
export { default as RouteRegistry } from './RouteRegistry';
export { default as Symbol } from './Symbol';

View File

@ -1,5 +1,3 @@
import { Symbol } from '../react';
/**
* Action for when a track has been added to the conference,
* local or remote.

View File

@ -1,5 +1,3 @@
import { Symbol } from '../base/react';
/**
* Action to remove known DesktopCapturerSources.
*

View File

@ -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
* succeeded.

View File

@ -1,5 +1,3 @@
import { Symbol } from '../base/react';
/**
* The type of action which signals to change the visibility of remote videos in
* the filmstrip.

View File

@ -1,5 +1,3 @@
import { Symbol } from '../base/react';
/**
* The type of the action which signals an error occurred while requesting dial-
* in numbers.
@ -23,5 +21,3 @@ export const UPDATE_DIAL_IN_NUMBERS_FAILED
*/
export const UPDATE_DIAL_IN_NUMBERS_SUCCESS
= Symbol('UPDATE_DIAL_IN_NUMBERS_SUCCESS');

View File

@ -1,5 +1,3 @@
import { Symbol } from '../base/react';
/**
* The type of redux action which stores a specific JSON Web Token (JWT) into
* the redux store.

View File

@ -1,5 +1,3 @@
import { Symbol } from '../base/react';
/**
* Action to select the participant to be displayed in LargeVideo.
*

View File

@ -1,5 +1,3 @@
import { Symbol } from '../../base/react';
/**
* The type of redux action to set the AppState API change event listener.
*

View File

@ -1,5 +1,3 @@
import { Symbol } from '../base/react';
/**
* The type of the Redux action which signals that the prompt for media
* permission is visible or not.

View File

@ -1,5 +1,3 @@
import { Symbol } from '../base/react';
/**
* The type of (redux) action which begins the UI procedure to share the current
* conference/room URL.

View File

@ -1,5 +1,3 @@
import { Symbol } from '../base/react';
/**
* The type of the action which clears the Toolbox visibility timeout.
*

View File

@ -1,5 +1,3 @@
import { Symbol } from '../base/react';
/**
* The type of the Redux action which signals that the React Component
* UnsupportedMobileBrowser which was rendered as a promotion of the mobile app

View File

@ -1,3 +1,4 @@
import 'es6-symbol/implement';
import React, { Component } from 'react';
import { AppRegistry, Linking } from 'react-native';