Closed karimcambridge closed 5 years ago
@karimcambridge good point.
expo init
for my fast setupMainly the screens are for inspirational purpose, you just copy/paste full code or a partial code.
Yea I just pulled the code.
Ah, I may be at fault here, I BELIEVE this folder was a create-react-native-app
command and not an expo init
, I shall start from fresh and try that!
@karimcambridge let me know if is working or if I need to update the project.
In get this after doing
expo init
Adding all files & package.json.
npm install
npm start
.
In screens\welcome.js
<Modal animationType="slide" visible={this.state.showTerms} onRequestClose={() => this.setState({ showTerms: false })}>
@karimcambridge according to @cheuk3 you could add a new prop => onRequestClose={ () => {} }
@karimcambridge the issue is fixed, please try again. @cheuk3 thanks for the support
for the error about react-native-gesture handler
just go to your root project and on terminal run
expo install react-native-gesture-handler
Okay, so I thought setup would be very simple, (drop files in a
create-react-native-app
, thennpm install
thenreact-native run-android
?That fails with:
Also what is
metro-react-native-babel-preset
? where should that goAlso
screens/Signup.js
should bescreens/SignUp.js
Unable to resolve "react-native-gesture-handler" from "node_modules\@react-navigation\native\src\Scrollables.js" < on
expo start
-> run on android emulator, that should be in package.json