[READ-ONLY] Mirror of https://github.com/andrioid/bug-bugreport-e1. An app demonstrating an Android crash on Expo shell app
0

Configure Feed

Select the types of activity you want to include in your feed.

bug-bugreport-e1 / App.js
858 B 36 lines
1import React from 'react'; 2import { StyleSheet, Text, View } from 'react-native'; 3import { MapView } from 'expo' 4 5const PARKPARKHQ = { 6 latitude: 56.879651, 7 longitude: 9.837896 8} 9 10const markerImage = require('./assets/img/space.png') 11 12export default class App extends React.Component { 13 render() { 14 return ( 15 <View style={styles.container}> 16 <MapView style={StyleSheet.absoluteFillObject} initialRegion={{ 17 latitude: PARKPARKHQ.latitude, 18 longitude: PARKPARKHQ.longitude, 19 latitudeDelta: 0.3, 20 longitudeDelta: 0.3 21 }}> 22 <MapView.Marker coordinate={PARKPARKHQ} image={markerImage} /> 23 </MapView> 24 </View> 25 ); 26 } 27} 28 29const styles = StyleSheet.create({ 30 container: { 31 flex: 1, 32 backgroundColor: '#fff', 33 alignItems: 'center', 34 justifyContent: 'center', 35 }, 36});