Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(rn) allow default server URL to be set from native
Saúl Ibarra Corretgé5854e38a0916
diff --git a/react/features/app/components/App.native.tsx b/react/features/app/components/App.native.tsxindex 20ad0aa408..e80580e61e 100644--- a/react/features/app/components/App.native.tsx+++ b/react/features/app/components/App.native.tsx@@ -7,8 +7,7 @@ import SplashScreen from 'react-native-splash-screen';import BottomSheetContainer from '../../base/dialog/components/native/BottomSheetContainer';import DialogContainer from '../../base/dialog/components/native/DialogContainer';import { updateFlags } from '../../base/flags/actions';-import { CALL_INTEGRATION_ENABLED, SERVER_URL_CHANGE_ENABLED } from '../../base/flags/constants';-import { getFeatureFlag } from '../../base/flags/functions';+import { CALL_INTEGRATION_ENABLED } from '../../base/flags/constants';import { clientResized, setSafeAreaInsets } from '../../base/responsive-ui/actions';import DimensionsDetector from '../../base/responsive-ui/components/DimensionsDetector.native';import { updateSettings } from '../../base/settings/actions';@@ -153,18 +152,13 @@ export class App extends AbstractApp<IProps> {await rootNavigationReady;- // Check if serverURL is configured externally and not allowed to change.- const serverURLChangeEnabled = getState && getFeatureFlag(getState(), SERVER_URL_CHANGE_ENABLED, true);-- if (!serverURLChangeEnabled) {- // As serverURL is provided externally, so we push it to settings.- if (typeof this.props.url !== 'undefined') {- // @ts-ignore- const { serverURL } = this.props.url;+ // Update specified server URL.+ if (typeof this.props.url !== 'undefined') {+ // @ts-ignore+ const { serverURL } = this.props.url;- if (typeof serverURL !== 'undefined') {- dispatch?.(updateSettings({ serverURL }));- }+ if (typeof serverURL !== 'undefined') {+ dispatch?.(updateSettings({ serverURL }));}}