import React from 'react'; import { ImageBackground, View, Image, Text, TextInput, Button, Alert } from 'react-native'; // Redux import { connect } from 'react-redux'; // Sentry import * as Sentry from "@sentry/react-native"; // SplashScreen import * as SplashScreen from 'expo-splash-screen'; // Helpers import Helpers from '../Lib/Helpers'; // Lodash import _ from 'lodash'; // Common Styles import commonStyles from '../../Resources/CommonStyles'; // Style import styles from '../../Resources/Styles/InstallStyle'; // Translations import i18n from "../../I18n"; // Controller import InstallController from '../Controllers/InstallController'; import SyncController from '../Controllers/SyncController'; // Database import { User, Setting } from '../../Database'; // FileSytem import * as FileSystem from 'expo-file-system'; function mapStateToProps(state) { return { isSetup: state.app.isSetup, locale: state.locale.locale, }; } const mapDispatchToProps = dispatch => { return { setIsSetup: () => dispatch({ type: 'SET_ISSETUP' }), init: () => dispatch({ type: 'INIT' }) }; }; class InstallScreen extends React.Component { state = { processing: false, txtStep: '', url: "", } componentDidMount() { SplashScreen.hideAsync(); } render() { i18n.locale = this.props.locale; return ( this.setState({ url: newText.toLowerCase() })} value={this.state.url} />