/* @flow */ import React, { Component } from 'react'; import { createDeepLinkingPageEvent, sendAnalytics } from '../../analytics'; import { IDeeplinkingConfig } from '../../base/config/configType'; import { connect } from '../../base/redux'; /** * The type of the React {@code Component} props of * {@link NoMobileApp}. */ type Props = { /** * The deeplinking config. */ _deeplinkingCfg: IDeeplinkingConfig, }; /** * React component representing no mobile app page. * * @class NoMobileApp */ class NoMobileApp
extends Component
{ /** * Implements the Component's componentDidMount method. * * @inheritdoc */ componentDidMount() { sendAnalytics( createDeepLinkingPageEvent( 'displayed', 'noMobileApp', { isMobileBrowser: true })); } /** * Renders the component. * * @returns {ReactElement} */ render() { const ns = 'no-mobile-app'; const { desktop: { appName } } = this.props._deeplinkingCfg; return (
Please use { appName } on desktop to join calls.