So this is what I have so far, as file App.js. I am using the code to get accustomed to Expo platform since coding on Windows and making an iOS app. However, when I am scanning the QR code and see the app on Expo, I still keep a message stating “Open up App.js to start working on your app!” I have opened App.js on my desktop but nothing is showing. I am connecting the QR code on my iphone to a LAN. Any help would be appreciated.
App.js file:
import React, { Component } from ‘react’import {StyleSheet,TouchableOpacity,Text,View,} from ‘react-native’class App extends Component {state = {count: 0}onPress = () => {this.setState({count: this.state.count + 1})}render() {return (Click meYou clicked { this.state.count } times)}}const styles = StyleSheet.create({container: {flex: 1,justifyContent: ‘center’,alignItems: ‘center’,},button: {alignItems: ‘center’,backgroundColor: ‘#DDDDDD’,padding: 10,marginBottom: 10;}})export default App;