Skip to content

Instantly share code, notes, and snippets.

package com.turbotenant.owner
import android.content.Intent
import android.os.Build
import android.os.Bundle
import com.swmansion.rnscreens.fragment.restoration.RNScreensFragmentFactory;
import com.facebook.react.ReactActivity
import com.facebook.react.ReactActivityDelegate
import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.fabricEnabled
import { useEffect, useState } from "react";
import { Alert, Linking, Platform } from "react-native";
import * as Sentry from "@sentry/react-native";
import Constants from "expo-constants";
import * as SplashScreen from "expo-splash-screen";
import * as Updates from "expo-updates";
import ENVS from "../constants/envs";
import { useEnv } from "../contexts/EnvProvider";
import getLatestVersion from "../services/get-latest-version";
import React from 'react';
/** @jsxRuntime classic */
/** @jsx jsx */
import { jsx } from '@emotion/react';
import PropTypes from 'prop-types';
import { CometChat } from '@cometchat-pro/chat';
import eventEmitter from '../../../../../../eventEmitter';
import { useUserProfile } from '../../../../../../core/TTgraphql';
import { getConfig } from '../../../../../../services/configService';
/// Mesage list
// fe/src/components/CometChatWorkspace/src/components/Messages/CometChatMessageList/index.js
import React from 'react';
import dateFormat from 'dateformat';
/** @jsxRuntime classic */
/** @jsx jsx */
import { jsx } from '@emotion/react';
import PropTypes from 'prop-types';
import { CometChat } from '@cometchat-pro/chat';