Create a react-native app

react-native init MapboxNavigation

Check everything is running


> cd MapboxNavigation
> react-native run-ios
...
The following build commands failed:
CompileC /Users/os/Library/Developer/Xcode/DerivedData/MapboxNavigation-fihdhqqvpzufydfwkiousnssilfq/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/FlipperRSocketResponder.o /Users/os/Desktop/Bouncing/MapboxNavigation/ios/Pods/Flipper/xplat/Flipper/FlipperRSocketResponder.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)



Tesseract






Create the base React Native app

import React, { Component } from 'react'
import {
StyleSheet,
KeyboardAvoidingView,
View,
Text,
TextInput,
TouchableOpacity
} from 'react-native'
export default class LoginScreen extends Component {
constructor(props){
super(props)
this.state = {
email: null,
password: null
}
}
updateFields(field, value){
this.setState({[field]: value})
}
onButtonPress(){
// auth with firebase
}
render() {
return (
<KeyboardAvoidingView style={styles.container} behavior="padding" enabled>
<View style={styles.container}>
<Text style={styles.text}>Login Form</Text>
<View>…


react-native init myMapApp
cd myMapApp

Alameda Dev.

¡Hola! We are a team 100% Remote. Specialized Development of Mobile Apps, Web and advanced software with React and ReactNative. www.alamedadev.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store