├── .babelrc ├── .buckconfig ├── .flowconfig ├── .gitattributes ├── .gitignore ├── .watchmanconfig ├── App.js ├── AppTest.js ├── LICENSE ├── README.md ├── android ├── app │ ├── BUCK │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── mymapapp │ │ │ ├── MainActivity.java │ │ │ └── MainApplication.java │ │ └── res │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── strings.xml │ │ └── styles.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── keystores │ ├── BUCK │ └── debug.keystore.properties └── settings.gradle ├── app.json ├── app ├── resource │ └── images │ │ ├── direction_start.png │ │ ├── ic_action_back.png │ │ ├── ic_form.png │ │ ├── ic_like.png │ │ ├── ic_location.png │ │ ├── ic_search.png │ │ ├── ic_search_active.png │ │ └── ic_user.png ├── screens │ └── MapScreen.js └── utils │ └── maputils.js ├── index.js ├── ios ├── myMapApp-tvOS │ └── Info.plist ├── myMapApp-tvOSTests │ └── Info.plist ├── myMapApp.xcodeproj │ ├── project.pbxproj │ └── xcshareddata │ │ └── xcschemes │ │ ├── myMapApp-tvOS.xcscheme │ │ └── myMapApp.xcscheme ├── myMapApp │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Base.lproj │ │ └── LaunchScreen.xib │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ ├── Info.plist │ └── main.m └── myMapAppTests │ ├── Info.plist │ └── myMapAppTests.m ├── package.json └── screenshot └── preview.gif /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["module:metro-react-native-babel-preset"] 3 | } 4 | -------------------------------------------------------------------------------- /.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | ; We fork some components by platform 3 | .*/*[.]android.js 4 | 5 | ; Ignore "BUCK" generated dirs 6 | /\.buckd/ 7 | 8 | ; Ignore unexpected extra "@providesModule" 9 | .*/node_modules/.*/node_modules/fbjs/.* 10 | 11 | ; Ignore duplicate module providers 12 | ; For RN Apps installed via npm, "Libraries" folder is inside 13 | ; "node_modules/react-native" but in the source repo it is in the root 14 | .*/Libraries/react-native/React.js 15 | 16 | ; Ignore polyfills 17 | .*/Libraries/polyfills/.* 18 | 19 | ; Ignore metro 20 | .*/node_modules/metro/.* 21 | 22 | [include] 23 | 24 | [libs] 25 | node_modules/react-native/Libraries/react-native/react-native-interface.js 26 | node_modules/react-native/flow/ 27 | node_modules/react-native/flow-github/ 28 | 29 | [options] 30 | emoji=true 31 | 32 | esproposal.optional_chaining=enable 33 | esproposal.nullish_coalescing=enable 34 | 35 | module.system=haste 36 | module.system.haste.use_name_reducers=true 37 | # get basename 38 | module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1' 39 | # strip .js or .js.flow suffix 40 | module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1' 41 | # strip .ios suffix 42 | module.system.haste.name_reducers='^\(.*\)\.ios$' -> '\1' 43 | module.system.haste.name_reducers='^\(.*\)\.android$' -> '\1' 44 | module.system.haste.name_reducers='^\(.*\)\.native$' -> '\1' 45 | module.system.haste.paths.blacklist=.*/__tests__/.* 46 | module.system.haste.paths.blacklist=.*/__mocks__/.* 47 | module.system.haste.paths.blacklist=/node_modules/react-native/Libraries/Animated/src/polyfills/.* 48 | module.system.haste.paths.whitelist=/node_modules/react-native/Libraries/.* 49 | 50 | munge_underscores=true 51 | 52 | module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub' 53 | 54 | module.file_ext=.js 55 | module.file_ext=.jsx 56 | module.file_ext=.json 57 | module.file_ext=.native.js 58 | 59 | suppress_type=$FlowIssue 60 | suppress_type=$FlowFixMe 61 | suppress_type=$FlowFixMeProps 62 | suppress_type=$FlowFixMeState 63 | 64 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 65 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ 66 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 67 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError 68 | 69 | [version] 70 | ^0.78.0 71 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | # Xcode 6 | # 7 | build/ 8 | *.pbxuser 9 | !default.pbxuser 10 | *.mode1v3 11 | !default.mode1v3 12 | *.mode2v3 13 | !default.mode2v3 14 | *.perspectivev3 15 | !default.perspectivev3 16 | xcuserdata 17 | *.xccheckout 18 | *.moved-aside 19 | DerivedData 20 | *.hmap 21 | *.ipa 22 | *.xcuserstate 23 | project.xcworkspace 24 | 25 | # Android/IntelliJ 26 | # 27 | build/ 28 | .idea 29 | .gradle 30 | local.properties 31 | *.iml 32 | 33 | # node.js 34 | # 35 | node_modules/ 36 | npm-debug.log 37 | yarn-error.log 38 | 39 | # BUCK 40 | buck-out/ 41 | \.buckd/ 42 | *.keystore 43 | 44 | # fastlane 45 | # 46 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 47 | # screenshots whenever they are needed. 48 | # For more information about the recommended setup visit: 49 | # https://docs.fastlane.tools/best-practices/source-control/ 50 | 51 | */fastlane/report.xml 52 | */fastlane/Preview.html 53 | */fastlane/screenshots 54 | 55 | # Bundle artifact 56 | *.jsbundle 57 | -------------------------------------------------------------------------------- /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /App.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { 3 | StyleSheet, 4 | View, 5 | Dimensions, 6 | Text, 7 | Image, 8 | TouchableOpacity, 9 | Platform, 10 | ScrollView, StatusBar 11 | } from 'react-native'; 12 | 13 | import LinearGradient from 'react-native-linear-gradient'; 14 | import geolib from 'geolib'; 15 | 16 | import MapView, { 17 | MAP_TYPES, 18 | ProviderPropType, 19 | Polyline, 20 | Marker, 21 | Polygon, 22 | Overlay, 23 | Circle, 24 | AnimatedRegion 25 | } from 'react-native-maps'; 26 | import MapViewDirections from 'react-native-maps-directions'; 27 | // import LinearGradient from 'react-native-linear-gradient'; 28 | 29 | // import {Platform, StyleSheet,FlatList, Text, TouchableOpacity, View, Button, TextInput, Image, Alert, AlertIOS} from 'react-native'; 30 | 31 | 32 | const ic_action_back = require('../myMapApp/app/resource/images/ic_action_back.png'); 33 | const direction_start = require('../myMapApp/app/resource/images/direction_start.png'); 34 | const {width, height} = Dimensions.get('window'); 35 | 36 | const ASPECT_RATIO = width / height; 37 | // 40.6341651,-73.964645 38 | const LATITUDE = 40.6341651; 39 | const LONGITUDE = -73.964645; 40 | const LATITUDE_DELTA = 1.5; 41 | const LONGITUDE_DELTA = LATITUDE_DELTA * ASPECT_RATIO; 42 | 43 | //40.657314,-73.98085 44 | const LATITUDE_DEST1 = 40.657314; 45 | const LONGITUDE_DEST1 = -73.98085; 46 | 47 | //40.663575,-73.955214 48 | const LATITUDE_DEST2 = 40.663575; 49 | const LONGITUDE_DEST2 = -73.955214; 50 | 51 | // start: 40.663842,-73.959943 52 | // 53 | // end1: 40.6677813,-73.955665 54 | // end2: 40.665991,-73.94749 55 | 56 | const customStyle = [ 57 | { 58 | "featureType": "all", 59 | "elementType": "labels.text.fill", 60 | "stylers": [ 61 | { 62 | "saturation": 36 63 | }, 64 | { 65 | "color": "#000000" 66 | }, 67 | { 68 | "lightness": 40 69 | } 70 | ] 71 | }, 72 | { 73 | "featureType": "all", 74 | "elementType": "labels.text.stroke", 75 | "stylers": [ 76 | { 77 | "visibility": "on" 78 | }, 79 | { 80 | "color": "#000000" 81 | }, 82 | { 83 | "lightness": 16 84 | } 85 | ] 86 | }, 87 | { 88 | "featureType": "all", 89 | "elementType": "labels.icon", 90 | "stylers": [ 91 | { 92 | "visibility": "off" 93 | } 94 | ] 95 | }, 96 | { 97 | "featureType": "administrative", 98 | "elementType": "geometry.fill", 99 | "stylers": [ 100 | { 101 | "color": "#000000" 102 | }, 103 | { 104 | "lightness": 20 105 | } 106 | ] 107 | }, 108 | { 109 | "featureType": "administrative", 110 | "elementType": "geometry.stroke", 111 | "stylers": [ 112 | { 113 | "color": "#000000" 114 | }, 115 | { 116 | "lightness": 17 117 | }, 118 | { 119 | "weight": 1.2 120 | } 121 | ] 122 | }, 123 | { 124 | "featureType": "administrative", 125 | "elementType": "labels", 126 | "stylers": [ 127 | { 128 | "visibility": "off" 129 | } 130 | ] 131 | }, 132 | { 133 | "featureType": "administrative.country", 134 | "elementType": "all", 135 | "stylers": [ 136 | { 137 | "visibility": "simplified" 138 | } 139 | ] 140 | }, 141 | { 142 | "featureType": "administrative.country", 143 | "elementType": "geometry", 144 | "stylers": [ 145 | { 146 | "visibility": "simplified" 147 | } 148 | ] 149 | }, 150 | { 151 | "featureType": "administrative.country", 152 | "elementType": "labels.text", 153 | "stylers": [ 154 | { 155 | "visibility": "simplified" 156 | } 157 | ] 158 | }, 159 | { 160 | "featureType": "administrative.province", 161 | "elementType": "all", 162 | "stylers": [ 163 | { 164 | "visibility": "off" 165 | } 166 | ] 167 | }, 168 | { 169 | "featureType": "administrative.locality", 170 | "elementType": "all", 171 | "stylers": [ 172 | { 173 | "visibility": "simplified" 174 | }, 175 | { 176 | "saturation": "-100" 177 | }, 178 | { 179 | "lightness": "30" 180 | } 181 | ] 182 | }, 183 | { 184 | "featureType": "administrative.neighborhood", 185 | "elementType": "all", 186 | "stylers": [ 187 | { 188 | "visibility": "off" 189 | } 190 | ] 191 | }, 192 | { 193 | "featureType": "administrative.land_parcel", 194 | "elementType": "all", 195 | "stylers": [ 196 | { 197 | "visibility": "off" 198 | } 199 | ] 200 | }, 201 | { 202 | "featureType": "landscape", 203 | "elementType": "all", 204 | "stylers": [ 205 | { 206 | "visibility": "simplified" 207 | }, 208 | { 209 | "gamma": "0.00" 210 | }, 211 | { 212 | "lightness": "74" 213 | } 214 | ] 215 | }, 216 | { 217 | "featureType": "landscape", 218 | "elementType": "geometry", 219 | "stylers": [ 220 | { 221 | "color": "#34334f" 222 | }, 223 | { 224 | "lightness": "-37" 225 | } 226 | ] 227 | }, 228 | { 229 | "featureType": "landscape.man_made", 230 | "elementType": "all", 231 | "stylers": [ 232 | { 233 | "lightness": "3" 234 | } 235 | ] 236 | }, 237 | { 238 | "featureType": "poi", 239 | "elementType": "all", 240 | "stylers": [ 241 | { 242 | "visibility": "off" 243 | } 244 | ] 245 | }, 246 | { 247 | "featureType": "poi", 248 | "elementType": "geometry", 249 | "stylers": [ 250 | { 251 | "color": "#000000" 252 | }, 253 | { 254 | "lightness": 21 255 | } 256 | ] 257 | }, 258 | { 259 | "featureType": "road", 260 | "elementType": "geometry", 261 | "stylers": [ 262 | { 263 | "visibility": "simplified" 264 | } 265 | ] 266 | }, 267 | { 268 | "featureType": "road.highway", 269 | "elementType": "geometry.fill", 270 | "stylers": [ 271 | { 272 | "color": "#2d2c45" 273 | }, 274 | { 275 | "lightness": "0" 276 | } 277 | ] 278 | }, 279 | { 280 | "featureType": "road.highway", 281 | "elementType": "geometry.stroke", 282 | "stylers": [ 283 | { 284 | "color": "#000000" 285 | }, 286 | { 287 | "lightness": 29 288 | }, 289 | { 290 | "weight": 0.2 291 | } 292 | ] 293 | }, 294 | { 295 | "featureType": "road.highway", 296 | "elementType": "labels.text.fill", 297 | "stylers": [ 298 | { 299 | "color": "#7d7c9b" 300 | }, 301 | { 302 | "lightness": "43" 303 | } 304 | ] 305 | }, 306 | { 307 | "featureType": "road.highway", 308 | "elementType": "labels.text.stroke", 309 | "stylers": [ 310 | { 311 | "visibility": "off" 312 | } 313 | ] 314 | }, 315 | { 316 | "featureType": "road.arterial", 317 | "elementType": "geometry", 318 | "stylers": [ 319 | { 320 | "color": "#2d2c45" 321 | }, 322 | { 323 | "lightness": "1" 324 | } 325 | ] 326 | }, 327 | { 328 | "featureType": "road.arterial", 329 | "elementType": "labels.text", 330 | "stylers": [ 331 | { 332 | "visibility": "on" 333 | } 334 | ] 335 | }, 336 | { 337 | "featureType": "road.arterial", 338 | "elementType": "labels.text.fill", 339 | "stylers": [ 340 | { 341 | "color": "#7d7c9b" 342 | } 343 | ] 344 | }, 345 | { 346 | "featureType": "road.arterial", 347 | "elementType": "labels.text.stroke", 348 | "stylers": [ 349 | { 350 | "visibility": "off" 351 | } 352 | ] 353 | }, 354 | { 355 | "featureType": "road.local", 356 | "elementType": "geometry", 357 | "stylers": [ 358 | { 359 | "color": "#2d2c45" 360 | }, 361 | { 362 | "lightness": "-1" 363 | }, 364 | { 365 | "gamma": "1" 366 | } 367 | ] 368 | }, 369 | { 370 | "featureType": "road.local", 371 | "elementType": "labels.text", 372 | "stylers": [ 373 | { 374 | "visibility": "on" 375 | }, 376 | { 377 | "hue": "#ff0000" 378 | } 379 | ] 380 | }, 381 | { 382 | "featureType": "road.local", 383 | "elementType": "labels.text.fill", 384 | "stylers": [ 385 | { 386 | "color": "#7d7c9b" 387 | }, 388 | { 389 | "lightness": "-31" 390 | } 391 | ] 392 | }, 393 | { 394 | "featureType": "road.local", 395 | "elementType": "labels.text.stroke", 396 | "stylers": [ 397 | { 398 | "visibility": "off" 399 | } 400 | ] 401 | }, 402 | { 403 | "featureType": "transit", 404 | "elementType": "geometry", 405 | "stylers": [ 406 | { 407 | "color": "#2d2c45" 408 | }, 409 | { 410 | "lightness": "-36" 411 | } 412 | ] 413 | }, 414 | { 415 | "featureType": "water", 416 | "elementType": "geometry", 417 | "stylers": [ 418 | { 419 | "color": "#2d2c45" 420 | }, 421 | { 422 | "lightness": "0" 423 | }, 424 | { 425 | "gamma": "1" 426 | } 427 | ] 428 | }, 429 | { 430 | "featureType": "water", 431 | "elementType": "labels.text.stroke", 432 | "stylers": [ 433 | { 434 | "visibility": "off" 435 | } 436 | ] 437 | } 438 | ]; 439 | 440 | const GOOGLE_MAPS_APIKEY = 'AIzaSyCx60-3gx-i-UgRKTSErDhX7ZEmvb_yo5c'; 441 | 442 | let mapStyle = null; 443 | 444 | class MapStyle extends React.Component { 445 | constructor(props) { 446 | super(props); 447 | 448 | mapStyle = this; 449 | this.state = { 450 | region: { 451 | latitude: LATITUDE, 452 | longitude: LONGITUDE, 453 | latitudeDelta: LATITUDE_DELTA, 454 | longitudeDelta: LONGITUDE_DELTA, 455 | }, 456 | coordinate: new AnimatedRegion({ 457 | latitude: LATITUDE_DEST1, 458 | longitude: LONGITUDE_DEST1, 459 | }), 460 | latitudeDestination: LATITUDE_DEST1, 461 | longitudeDestination: LONGITUDE_DEST1, 462 | }; 463 | } 464 | 465 | onRegionChange(region) { 466 | this.setState({region}); 467 | } 468 | 469 | animateToRandomBearing() { 470 | this.map.animateToBearing(this.getBearingFromLocation(), 700); 471 | } 472 | 473 | getBearingFromLocation() { 474 | 475 | if (this.state.latitudeDestination !== LATITUDE_DEST1) { 476 | this.setState({ 477 | 478 | latitudeDestination: LATITUDE_DEST1, 479 | longitudeDestination: LONGITUDE_DEST1 480 | }) 481 | } 482 | else { 483 | this.setState({ 484 | 485 | latitudeDestination: LATITUDE_DEST2, 486 | longitudeDestination: LONGITUDE_DEST2 487 | }) 488 | } 489 | 490 | let bearing = geolib.getBearing( 491 | {latitude: LATITUDE, longitude: LONGITUDE}, 492 | {latitude: this.state.latitudeDestination, longitude: this.state.longitudeDestination} 493 | ); 494 | 495 | this.animate(); 496 | 497 | return bearing; 498 | } 499 | 500 | 501 | animate() { 502 | const {coordinate} = this.state; 503 | const newCoordinate = { 504 | // latitude: LATITUDE + ((Math.random() - 0.5) * (LATITUDE_DELTA / 2)), 505 | // longitude: LONGITUDE + ((Math.random() - 0.5) * (LONGITUDE_DELTA / 2)), 506 | latitude: ((mapStyle.state.latitudeDestination)), 507 | longitude: ((mapStyle.state.longitudeDestination)), 508 | }; 509 | 510 | if (Platform.OS === 'android') { 511 | if (this.marker) { 512 | this.marker._component.animateMarkerToCoordinate(newCoordinate, 500); 513 | } 514 | } else { 515 | coordinate.timing(newCoordinate).start(); 516 | } 517 | } 518 | 519 | render() { 520 | return ( 521 | 522 | { 525 | this.map = ref; 526 | }} 527 | provider={this.props.provider} 528 | style={styles.map} 529 | followsUserLocation={false} 530 | loadingEnabled={true} 531 | showsIndoorLevelPicker={false} 532 | initialRegion={{ 533 | latitude: LATITUDE, 534 | longitude: LONGITUDE, 535 | latitudeDelta: LATITUDE_DELTA, 536 | longitudeDelta: LONGITUDE_DELTA, 537 | }} 538 | customMapStyle={customStyle} 539 | // onRegionChange={region => this.onRegionChange(region)} 540 | > 541 | 542 | 543 | {/* 559 | */} 560 | {/* 567 | 568 | */} 574 | 575 | { 586 | console.log(`Started routing between "${params.origin}" and "${params.destination}"`); 587 | }} 588 | onReady={(result) => { 589 | this.map.fitToCoordinates(result.coordinates, { 590 | edgePadding: { 591 | right: 160, 592 | bottom: 500, 593 | left: 160, 594 | top: 900, 595 | } 596 | }); 597 | }} 598 | onError={(errorMessage) => { 599 | console.log('GOT AN ERROR' + errorMessage); 600 | }} 601 | /> 602 | 603 | {/* */} 607 | 608 | {/* { this.marker = marker; }} 610 | coordinate={this.state.coordinate} 611 | />*/} 612 | 613 | 614 | 615 | 616 | 622 | 623 | 624 | 625 | this.animateToRandomBearing() 627 | } 628 | style={styles.BottomContainer} 629 | 630 | > 631 | 632 | Animate (Bearing) 633 | 634 | 635 | 636 | 637 | 638 | 639 | 640 | 641 | ); 642 | } 643 | } 644 | 645 | 646 | class MapHeader extends React.Component { 647 | 648 | constructor(props) { 649 | super(props); 650 | } 651 | 652 | render() { 653 | return ( 654 | 663 | 668 | 675 | 676 | 679 | 680 | SEE ALL 686 | 687 | 688 | 694 | Restaurants 699 | Brooklyn 705 | 3164, Anthony Avenue 710 | 711 | 712 | 713 | 714 | ) 715 | } 716 | 717 | } 718 | 719 | MapStyle.propTypes = { 720 | provider: ProviderPropType, 721 | }; 722 | 723 | const styles = StyleSheet.create({ 724 | contentContainer: { 725 | paddingVertical: 20 726 | }, 727 | Header: { 728 | left: 0, 729 | right: 0, 730 | bottom: 0, 731 | height: 10, 732 | flexDirection: 'column', 733 | justifyContent: 'center', 734 | }, 735 | BottomContainer: { 736 | marginLeft: 20, 737 | marginRight: 20, 738 | marginBottom: 20, 739 | width: 350, 740 | height: '15%', 741 | flexDirection: 'column', 742 | backgroundColor: 'rgba(255,255,255,0.9)', 743 | borderRadius: 20, 744 | }, 745 | 746 | container: { 747 | ...StyleSheet.absoluteFillObject, 748 | height: '100%', 749 | width: '100%', 750 | justifyContent: 'flex-start', 751 | alignItems: 'center', 752 | }, 753 | map: { 754 | ...StyleSheet.absoluteFillObject, 755 | 756 | backgroundColor: '#000000', 757 | }, 758 | linearGradient: { 759 | width: '100%', 760 | height: '25%', 761 | borderBottomLeftRadius: 16, 762 | borderBottomRightRadius: 16, 763 | }, 764 | buttonText: { 765 | fontSize: 18, 766 | fontFamily: 'Gill Sans', 767 | fontWeight: 'normal', 768 | textAlign: 'center', 769 | margin: 10, 770 | color: '#ffffff', 771 | backgroundColor: 'transparent', 772 | }, 773 | bubble: { 774 | flex: 1, 775 | backgroundColor: 'rgba(255,255,255,0.7)', 776 | paddingHorizontal: 18, 777 | paddingVertical: 12, 778 | borderRadius: 20, 779 | }, 780 | latlng: { 781 | width: 200, 782 | alignItems: 'stretch', 783 | }, 784 | button: { 785 | width: 80, 786 | paddingHorizontal: 12, 787 | alignItems: 'center', 788 | marginHorizontal: 10, 789 | }, 790 | buttonContainer: { 791 | flexDirection: 'row', 792 | marginVertical: 20, 793 | backgroundColor: 'transparent', 794 | }, 795 | }); 796 | 797 | export default MapStyle; 798 | -------------------------------------------------------------------------------- /AppTest.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { 3 | StyleSheet, 4 | View, 5 | Dimensions, 6 | Text, 7 | Image, 8 | TouchableOpacity, 9 | Platform, 10 | ScrollView 11 | } from 'react-native'; 12 | 13 | import LinearGradient from 'react-native-linear-gradient'; 14 | import geolib from 'geolib'; 15 | 16 | import MapView, {MAP_TYPES, ProviderPropType, Polyline, Marker, Polygon, Overlay, Circle, AnimatedRegion} from 'react-native-maps'; 17 | import MapViewDirections from 'react-native-maps-directions'; 18 | // import LinearGradient from 'react-native-linear-gradient'; 19 | 20 | // import {Platform, StyleSheet,FlatList, Text, TouchableOpacity, View, Button, TextInput, Image, Alert, AlertIOS} from 'react-native'; 21 | 22 | 23 | const ic_action_back = require('../myMapApp/app/resource/images/ic_action_back.png'); 24 | const direction_start = require('../myMapApp/app/resource/images/direction_start.png'); 25 | const {width, height} = Dimensions.get('window'); 26 | 27 | const ASPECT_RATIO = width / height; 28 | // 40.6341651,-73.964645 29 | const LATITUDE = 40.6341651; 30 | const LONGITUDE = -73.964645; 31 | const LATITUDE_DELTA = 1.5; 32 | const LONGITUDE_DELTA =LATITUDE_DELTA * ASPECT_RATIO; 33 | 34 | //40.657314,-73.98085 35 | const LATITUDE_DEST1 = 40.657314; 36 | const LONGITUDE_DEST1 = -73.98085; 37 | 38 | //40.663575,-73.955214 39 | const LATITUDE_DEST2 = 40.663575; 40 | const LONGITUDE_DEST2 = -73.955214; 41 | 42 | // start: 40.663842,-73.959943 43 | // 44 | // end1: 40.6677813,-73.955665 45 | // end2: 40.665991,-73.94749 46 | 47 | const customStyle = [ 48 | { 49 | "featureType": "all", 50 | "elementType": "labels.text.fill", 51 | "stylers": [ 52 | { 53 | "saturation": 36 54 | }, 55 | { 56 | "color": "#000000" 57 | }, 58 | { 59 | "lightness": 40 60 | } 61 | ] 62 | }, 63 | { 64 | "featureType": "all", 65 | "elementType": "labels.text.stroke", 66 | "stylers": [ 67 | { 68 | "visibility": "on" 69 | }, 70 | { 71 | "color": "#000000" 72 | }, 73 | { 74 | "lightness": 16 75 | } 76 | ] 77 | }, 78 | { 79 | "featureType": "all", 80 | "elementType": "labels.icon", 81 | "stylers": [ 82 | { 83 | "visibility": "off" 84 | } 85 | ] 86 | }, 87 | { 88 | "featureType": "administrative", 89 | "elementType": "geometry.fill", 90 | "stylers": [ 91 | { 92 | "color": "#000000" 93 | }, 94 | { 95 | "lightness": 20 96 | } 97 | ] 98 | }, 99 | { 100 | "featureType": "administrative", 101 | "elementType": "geometry.stroke", 102 | "stylers": [ 103 | { 104 | "color": "#000000" 105 | }, 106 | { 107 | "lightness": 17 108 | }, 109 | { 110 | "weight": 1.2 111 | } 112 | ] 113 | }, 114 | { 115 | "featureType": "administrative", 116 | "elementType": "labels", 117 | "stylers": [ 118 | { 119 | "visibility": "off" 120 | } 121 | ] 122 | }, 123 | { 124 | "featureType": "administrative.country", 125 | "elementType": "all", 126 | "stylers": [ 127 | { 128 | "visibility": "simplified" 129 | } 130 | ] 131 | }, 132 | { 133 | "featureType": "administrative.country", 134 | "elementType": "geometry", 135 | "stylers": [ 136 | { 137 | "visibility": "simplified" 138 | } 139 | ] 140 | }, 141 | { 142 | "featureType": "administrative.country", 143 | "elementType": "labels.text", 144 | "stylers": [ 145 | { 146 | "visibility": "simplified" 147 | } 148 | ] 149 | }, 150 | { 151 | "featureType": "administrative.province", 152 | "elementType": "all", 153 | "stylers": [ 154 | { 155 | "visibility": "off" 156 | } 157 | ] 158 | }, 159 | { 160 | "featureType": "administrative.locality", 161 | "elementType": "all", 162 | "stylers": [ 163 | { 164 | "visibility": "simplified" 165 | }, 166 | { 167 | "saturation": "-100" 168 | }, 169 | { 170 | "lightness": "30" 171 | } 172 | ] 173 | }, 174 | { 175 | "featureType": "administrative.neighborhood", 176 | "elementType": "all", 177 | "stylers": [ 178 | { 179 | "visibility": "off" 180 | } 181 | ] 182 | }, 183 | { 184 | "featureType": "administrative.land_parcel", 185 | "elementType": "all", 186 | "stylers": [ 187 | { 188 | "visibility": "off" 189 | } 190 | ] 191 | }, 192 | { 193 | "featureType": "landscape", 194 | "elementType": "all", 195 | "stylers": [ 196 | { 197 | "visibility": "simplified" 198 | }, 199 | { 200 | "gamma": "0.00" 201 | }, 202 | { 203 | "lightness": "74" 204 | } 205 | ] 206 | }, 207 | { 208 | "featureType": "landscape", 209 | "elementType": "geometry", 210 | "stylers": [ 211 | { 212 | "color": "#34334f" 213 | }, 214 | { 215 | "lightness": "-37" 216 | } 217 | ] 218 | }, 219 | { 220 | "featureType": "landscape.man_made", 221 | "elementType": "all", 222 | "stylers": [ 223 | { 224 | "lightness": "3" 225 | } 226 | ] 227 | }, 228 | { 229 | "featureType": "poi", 230 | "elementType": "all", 231 | "stylers": [ 232 | { 233 | "visibility": "off" 234 | } 235 | ] 236 | }, 237 | { 238 | "featureType": "poi", 239 | "elementType": "geometry", 240 | "stylers": [ 241 | { 242 | "color": "#000000" 243 | }, 244 | { 245 | "lightness": 21 246 | } 247 | ] 248 | }, 249 | { 250 | "featureType": "road", 251 | "elementType": "geometry", 252 | "stylers": [ 253 | { 254 | "visibility": "simplified" 255 | } 256 | ] 257 | }, 258 | { 259 | "featureType": "road.highway", 260 | "elementType": "geometry.fill", 261 | "stylers": [ 262 | { 263 | "color": "#2d2c45" 264 | }, 265 | { 266 | "lightness": "0" 267 | } 268 | ] 269 | }, 270 | { 271 | "featureType": "road.highway", 272 | "elementType": "geometry.stroke", 273 | "stylers": [ 274 | { 275 | "color": "#000000" 276 | }, 277 | { 278 | "lightness": 29 279 | }, 280 | { 281 | "weight": 0.2 282 | } 283 | ] 284 | }, 285 | { 286 | "featureType": "road.highway", 287 | "elementType": "labels.text.fill", 288 | "stylers": [ 289 | { 290 | "color": "#7d7c9b" 291 | }, 292 | { 293 | "lightness": "43" 294 | } 295 | ] 296 | }, 297 | { 298 | "featureType": "road.highway", 299 | "elementType": "labels.text.stroke", 300 | "stylers": [ 301 | { 302 | "visibility": "off" 303 | } 304 | ] 305 | }, 306 | { 307 | "featureType": "road.arterial", 308 | "elementType": "geometry", 309 | "stylers": [ 310 | { 311 | "color": "#2d2c45" 312 | }, 313 | { 314 | "lightness": "1" 315 | } 316 | ] 317 | }, 318 | { 319 | "featureType": "road.arterial", 320 | "elementType": "labels.text", 321 | "stylers": [ 322 | { 323 | "visibility": "on" 324 | } 325 | ] 326 | }, 327 | { 328 | "featureType": "road.arterial", 329 | "elementType": "labels.text.fill", 330 | "stylers": [ 331 | { 332 | "color": "#7d7c9b" 333 | } 334 | ] 335 | }, 336 | { 337 | "featureType": "road.arterial", 338 | "elementType": "labels.text.stroke", 339 | "stylers": [ 340 | { 341 | "visibility": "off" 342 | } 343 | ] 344 | }, 345 | { 346 | "featureType": "road.local", 347 | "elementType": "geometry", 348 | "stylers": [ 349 | { 350 | "color": "#2d2c45" 351 | }, 352 | { 353 | "lightness": "-1" 354 | }, 355 | { 356 | "gamma": "1" 357 | } 358 | ] 359 | }, 360 | { 361 | "featureType": "road.local", 362 | "elementType": "labels.text", 363 | "stylers": [ 364 | { 365 | "visibility": "on" 366 | }, 367 | { 368 | "hue": "#ff0000" 369 | } 370 | ] 371 | }, 372 | { 373 | "featureType": "road.local", 374 | "elementType": "labels.text.fill", 375 | "stylers": [ 376 | { 377 | "color": "#7d7c9b" 378 | }, 379 | { 380 | "lightness": "-31" 381 | } 382 | ] 383 | }, 384 | { 385 | "featureType": "road.local", 386 | "elementType": "labels.text.stroke", 387 | "stylers": [ 388 | { 389 | "visibility": "off" 390 | } 391 | ] 392 | }, 393 | { 394 | "featureType": "transit", 395 | "elementType": "geometry", 396 | "stylers": [ 397 | { 398 | "color": "#2d2c45" 399 | }, 400 | { 401 | "lightness": "-36" 402 | } 403 | ] 404 | }, 405 | { 406 | "featureType": "water", 407 | "elementType": "geometry", 408 | "stylers": [ 409 | { 410 | "color": "#2d2c45" 411 | }, 412 | { 413 | "lightness": "0" 414 | }, 415 | { 416 | "gamma": "1" 417 | } 418 | ] 419 | }, 420 | { 421 | "featureType": "water", 422 | "elementType": "labels.text.stroke", 423 | "stylers": [ 424 | { 425 | "visibility": "off" 426 | } 427 | ] 428 | } 429 | ]; 430 | 431 | const GOOGLE_MAPS_APIKEY = 'AIzaSyBK2aP_D6peqMMj9CV_l4K07mqw_XDqRlQ'; 432 | 433 | let mapStyle = null; 434 | 435 | class MapStyle extends React.Component { 436 | constructor(props) { 437 | super(props); 438 | 439 | mapStyle = this; 440 | this.state = { 441 | region: { 442 | latitude: LATITUDE, 443 | longitude: LONGITUDE, 444 | latitudeDelta: LATITUDE_DELTA, 445 | longitudeDelta: LONGITUDE_DELTA, 446 | }, 447 | coordinate: new AnimatedRegion({ 448 | latitude: LATITUDE_DEST1, 449 | longitude: LONGITUDE_DEST1, 450 | }), 451 | latitudeDestination:LATITUDE_DEST1, 452 | longitudeDestination:LONGITUDE_DEST1, 453 | }; 454 | } 455 | 456 | onRegionChange(region) { 457 | this.setState({ region }); 458 | } 459 | 460 | animateToRandomBearing() { 461 | this.map.animateToBearing(this.getRandomFloat(), 700); 462 | } 463 | 464 | getRandomFloat() { 465 | 466 | // let b = 0.0; 467 | if (this.state.latitudeDestination !== LATITUDE_DEST1) 468 | { 469 | this.setState({ 470 | 471 | latitudeDestination : LATITUDE_DEST1, 472 | longitudeDestination : LONGITUDE_DEST1 473 | }) 474 | } 475 | else { 476 | this.setState({ 477 | 478 | latitudeDestination : LATITUDE_DEST2, 479 | longitudeDestination : LONGITUDE_DEST2 480 | }) 481 | // this.state.latitudeDestination = LATITUDE_DEST2; 482 | // this.state.longitudeDestination = LONGITUDE_DEST2; 483 | } 484 | 485 | let b = geolib.getBearing( 486 | // {latitude: LATITUDE_DEST1, longitude: LONGITUDE_DEST1}, 487 | // {latitude: LATITUDE_DEST2, longitude: LONGITUDE_DEST2} 488 | {latitude: LATITUDE, longitude: LONGITUDE}, 489 | {latitude: this.state.latitudeDestination, longitude: this.state.longitudeDestination} 490 | ); 491 | 492 | this.animate(); 493 | 494 | // this.b = ~(this.b) 495 | 496 | // if (this.b < 0) 497 | /* if (this.state.latitudeDestination !== LATITUDE_DEST1) 498 | { 499 | this.state.latitudeDestination = LATITUDE_DEST1; 500 | this.state.longitudeDestination = LONGITUDE_DEST1; 501 | } 502 | else { 503 | this.state.latitudeDestination = LATITUDE_DEST2; 504 | this.state.longitudeDestination = LONGITUDE_DEST2; 505 | }*/ 506 | 507 | console.log(""+~(b)); 508 | return b;//(Math.random() * (max - min)) + min; 509 | } 510 | 511 | randomCoordinate() { 512 | const region = this.state.region; 513 | return { 514 | latitude: region.latitude + ((Math.random() - 0.5) * (region.latitudeDelta / 2)), 515 | longitude: region.longitude + ((Math.random() - 0.5) * (region.longitudeDelta / 2)), 516 | }; 517 | } 518 | 519 | 520 | 521 | animate() { 522 | const { coordinate } = this.state; 523 | const newCoordinate = { 524 | // latitude: LATITUDE + ((Math.random() - 0.5) * (LATITUDE_DELTA / 2)), 525 | // longitude: LONGITUDE + ((Math.random() - 0.5) * (LONGITUDE_DELTA / 2)), 526 | latitude: ((mapStyle.state.latitudeDestination) ), 527 | longitude: ((mapStyle.state.longitudeDestination)), 528 | }; 529 | 530 | if (Platform.OS === 'android') { 531 | if (this.marker) { 532 | this.marker._component.animateMarkerToCoordinate(newCoordinate, 500); 533 | } 534 | } else { 535 | coordinate.timing(newCoordinate).start(); 536 | } 537 | } 538 | 539 | render() { 540 | return ( 541 | 542 | { this.map = ref; }} 545 | provider={this.props.provider} 546 | style={styles.map} 547 | followsUserLocation={false} 548 | loadingEnabled={true} 549 | showsIndoorLevelPicker={false} 550 | initialRegion={{ 551 | latitude: LATITUDE, 552 | longitude: LONGITUDE, 553 | latitudeDelta: LATITUDE_DELTA, 554 | longitudeDelta: LONGITUDE_DELTA, 555 | }} 556 | customMapStyle={customStyle} 557 | // onRegionChange={region => this.onRegionChange(region)} 558 | > 559 | 560 | 561 | {/* 577 | */} 578 | {/* 585 | 586 | */} 592 | 593 | { 601 | console.log(`Started routing between "${params.origin}" and "${params.destination}"`); 602 | }} 603 | onReady={(result) => { 604 | this.map.fitToCoordinates(result.coordinates, { 605 | edgePadding: { 606 | right: 160, 607 | bottom: 460, 608 | left: 160, 609 | top: 460, 610 | } 611 | }); 612 | }} 613 | onError={(errorMessage) => { 614 | console.log('GOT AN ERROR' + errorMessage); 615 | }} 616 | /> 617 | 618 | {/* */} 622 | 623 | {/* { this.marker = marker; }} 625 | coordinate={this.state.coordinate} 626 | />*/} 627 | 628 | 629 | 630 | 631 | 637 | 640 | 641 | 642 | 648 | 649 | 655 | SEE ALL 656 | 657 | 658 | 659 | 660 | 661 | this.animate()} 663 | style={[styles.bubble, styles.button]} 664 | > 665 | Animate 666 | 667 | 668 | 669 | 670 | 671 | {/* 672 | 673 | 674 | */} 675 | 676 | this.animateToRandomBearing() 678 | } 679 | style={styles.BottomContainer} 680 | 681 | > 682 | 683 | 684 | {this.state.region.latitude.toPrecision(7)}, 685 | {this.state.region.longitude.toPrecision(7)} 686 | 687 | Animate (Bearing) 688 | 689 | 690 | 691 | 692 | 693 | 694 | 695 | 696 | ); 697 | } 698 | } 699 | 700 | MapStyle.propTypes = { 701 | provider: ProviderPropType, 702 | }; 703 | 704 | const styles = StyleSheet.create({ 705 | contentContainer: { 706 | paddingVertical: 20 707 | }, 708 | Header: { 709 | left: 0, 710 | right: 0, 711 | bottom: 0, 712 | height: 10, 713 | flexDirection: 'column', 714 | justifyContent: 'center', 715 | }, 716 | BottomContainer: { 717 | marginLeft: 20, 718 | marginRight: 20, 719 | marginBottom: 20, 720 | width: 350, 721 | height: '15%', 722 | flexDirection: 'column', 723 | backgroundColor: 'rgba(255,255,255,0.9)', 724 | borderRadius: 20, 725 | }, 726 | 727 | container: { 728 | ...StyleSheet.absoluteFillObject, 729 | height: '100%', 730 | width: '100%', 731 | justifyContent: 'flex-start', 732 | alignItems: 'center', 733 | }, 734 | map: { 735 | ...StyleSheet.absoluteFillObject, 736 | 737 | backgroundColor: '#000000', 738 | }, 739 | linearGradient: { 740 | width: '100%', 741 | height: '25%', 742 | borderBottomLeftRadius: 16, 743 | borderBottomRightRadius: 16, 744 | }, 745 | buttonText: { 746 | fontSize: 18, 747 | fontFamily: 'Gill Sans', 748 | textAlign: 'center', 749 | margin: 10, 750 | color: '#ffffff', 751 | backgroundColor: 'transparent', 752 | }, 753 | bubble: { 754 | flex: 1, 755 | backgroundColor: 'rgba(255,255,255,0.7)', 756 | paddingHorizontal: 18, 757 | paddingVertical: 12, 758 | borderRadius: 20, 759 | }, 760 | latlng: { 761 | width: 200, 762 | alignItems: 'stretch', 763 | }, 764 | button: { 765 | width: 80, 766 | paddingHorizontal: 12, 767 | alignItems: 'center', 768 | marginHorizontal: 10, 769 | }, 770 | buttonContainer: { 771 | flexDirection: 'row', 772 | marginVertical: 20, 773 | backgroundColor: 'transparent', 774 | }, 775 | }); 776 | 777 | export default MapStyle; 778 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 MindInventory 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Map interaction prototype 2 | 3 | Map interaction for a mobile app, 4 | made this sample app with React Native. 5 | 6 | 7 | Check it out on Dribbble (https://dribbble.com/shots/4984844-Map-interaction-prototype) 8 | 9 | 10 | ![image](/screenshot/preview.gif) 11 | 12 | 13 | # Installation 14 | 15 | 16 | Android: `react-native run-android` 17 | 18 | iPhone: `react-native run-ios` 19 | 20 | 21 | 22 | 23 | # Usage 24 | 25 | Create your project on google console ([Here](https://console.cloud.google.com/home/dashboard)). 26 | And enable below APIs 27 | 28 | * Google Map API 29 | * Directions API 30 | 31 | 32 | ## Android 33 | 34 | Create API Key from credentials. and put it in code as below to access google map. 35 | 36 | ```js 37 | Add your API key to your manifest file (android/app/src/main/AndroidManifest.xml): 38 | 39 | 40 | 41 | 44 | 45 | 46 | ``` 47 | 48 | ## iOS 49 | 50 | ```js 51 | dd to `ios/YOUR_PROJECT_NAME/AppDelegate.m: 52 | 53 | + #import 54 | 55 | @implementation AppDelegate 56 | ... 57 | 58 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 59 | { 60 | + [GMSServices provideAPIKey:@"_YOUR_API_KEY_"]; // add this line using the api key obtained from Google Console 61 | ``` 62 | 63 | 64 | 65 | ### Version: 1.0 66 | 67 | * Initial Build 68 | 69 | 70 | 71 | # LICENSE! 72 | 73 | Map interaction prototype is [MIT-licensed](https://github.com/Mindinventory/Map-interaction-prototype/blob/master/LICENSE). 74 | 75 | # Let us know! 76 | We’d be really happy if you send us links to your projects where you use our component. Just send an email to sales@mindinventory.com And do let us know if you have any questions or suggestion regarding our work. 77 | -------------------------------------------------------------------------------- /android/app/BUCK: -------------------------------------------------------------------------------- 1 | # To learn about Buck see [Docs](https://buckbuild.com/). 2 | # To run your application with Buck: 3 | # - install Buck 4 | # - `npm start` - to start the packager 5 | # - `cd android` 6 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"` 7 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck 8 | # - `buck install -r android/app` - compile, install and run application 9 | # 10 | 11 | lib_deps = [] 12 | 13 | for jarfile in glob(['libs/*.jar']): 14 | name = 'jars__' + jarfile[jarfile.rindex('/') + 1: jarfile.rindex('.jar')] 15 | lib_deps.append(':' + name) 16 | prebuilt_jar( 17 | name = name, 18 | binary_jar = jarfile, 19 | ) 20 | 21 | for aarfile in glob(['libs/*.aar']): 22 | name = 'aars__' + aarfile[aarfile.rindex('/') + 1: aarfile.rindex('.aar')] 23 | lib_deps.append(':' + name) 24 | android_prebuilt_aar( 25 | name = name, 26 | aar = aarfile, 27 | ) 28 | 29 | android_library( 30 | name = "all-libs", 31 | exported_deps = lib_deps, 32 | ) 33 | 34 | android_library( 35 | name = "app-code", 36 | srcs = glob([ 37 | "src/main/java/**/*.java", 38 | ]), 39 | deps = [ 40 | ":all-libs", 41 | ":build_config", 42 | ":res", 43 | ], 44 | ) 45 | 46 | android_build_config( 47 | name = "build_config", 48 | package = "com.mymapapp", 49 | ) 50 | 51 | android_resource( 52 | name = "res", 53 | package = "com.mymapapp", 54 | res = "src/main/res", 55 | ) 56 | 57 | android_binary( 58 | name = "app", 59 | keystore = "//android/keystores:debug", 60 | manifest = "src/main/AndroidManifest.xml", 61 | package_type = "debug", 62 | deps = [ 63 | ":app-code", 64 | ], 65 | ) 66 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: "com.android.application" 2 | 3 | import com.android.build.OutputFile 4 | 5 | /** 6 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets 7 | * and bundleReleaseJsAndAssets). 8 | * These basically call `react-native bundle` with the correct arguments during the Android build 9 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the 10 | * bundle directly from the development server. Below you can see all the possible configurations 11 | * and their defaults. If you decide to add a configuration block, make sure to add it before the 12 | * `apply from: "../../node_modules/react-native/react.gradle"` line. 13 | * 14 | * project.ext.react = [ 15 | * // the name of the generated asset file containing your JS bundle 16 | * bundleAssetName: "index.android.bundle", 17 | * 18 | * // the entry file for bundle generation 19 | * entryFile: "index.android.js", 20 | * 21 | * // whether to bundle JS and assets in debug mode 22 | * bundleInDebug: false, 23 | * 24 | * // whether to bundle JS and assets in release mode 25 | * bundleInRelease: true, 26 | * 27 | * // whether to bundle JS and assets in another build variant (if configured). 28 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants 29 | * // The configuration property can be in the following formats 30 | * // 'bundleIn${productFlavor}${buildType}' 31 | * // 'bundleIn${buildType}' 32 | * // bundleInFreeDebug: true, 33 | * // bundleInPaidRelease: true, 34 | * // bundleInBeta: true, 35 | * 36 | * // whether to disable dev mode in custom build variants (by default only disabled in release) 37 | * // for example: to disable dev mode in the staging build type (if configured) 38 | * devDisabledInStaging: true, 39 | * // The configuration property can be in the following formats 40 | * // 'devDisabledIn${productFlavor}${buildType}' 41 | * // 'devDisabledIn${buildType}' 42 | * 43 | * // the root of your project, i.e. where "package.json" lives 44 | * root: "../../", 45 | * 46 | * // where to put the JS bundle asset in debug mode 47 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug", 48 | * 49 | * // where to put the JS bundle asset in release mode 50 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release", 51 | * 52 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 53 | * // require('./image.png')), in debug mode 54 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug", 55 | * 56 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 57 | * // require('./image.png')), in release mode 58 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release", 59 | * 60 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means 61 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to 62 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle 63 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ 64 | * // for example, you might want to remove it from here. 65 | * inputExcludes: ["android/**", "ios/**"], 66 | * 67 | * // override which node gets called and with what additional arguments 68 | * nodeExecutableAndArgs: ["node"], 69 | * 70 | * // supply additional arguments to the packager 71 | * extraPackagerArgs: [] 72 | * ] 73 | */ 74 | 75 | project.ext.react = [ 76 | entryFile: "index.js" 77 | ] 78 | 79 | apply from: "../../node_modules/react-native/react.gradle" 80 | 81 | /** 82 | * Set this to true to create two separate APKs instead of one: 83 | * - An APK that only works on ARM devices 84 | * - An APK that only works on x86 devices 85 | * The advantage is the size of the APK is reduced by about 4MB. 86 | * Upload all the APKs to the Play Store and people will download 87 | * the correct one based on the CPU architecture of their device. 88 | */ 89 | def enableSeparateBuildPerCPUArchitecture = false 90 | 91 | /** 92 | * Run Proguard to shrink the Java bytecode in release builds. 93 | */ 94 | def enableProguardInReleaseBuilds = false 95 | 96 | android { 97 | compileSdkVersion rootProject.ext.compileSdkVersion 98 | buildToolsVersion rootProject.ext.buildToolsVersion 99 | 100 | defaultConfig { 101 | applicationId "com.mymapapp" 102 | minSdkVersion rootProject.ext.minSdkVersion 103 | targetSdkVersion rootProject.ext.targetSdkVersion 104 | versionCode 1 105 | versionName "1.0" 106 | ndk { 107 | abiFilters "armeabi-v7a", "x86" 108 | } 109 | } 110 | splits { 111 | abi { 112 | reset() 113 | enable enableSeparateBuildPerCPUArchitecture 114 | universalApk false // If true, also generate a universal APK 115 | include "armeabi-v7a", "x86" 116 | } 117 | } 118 | buildTypes { 119 | release { 120 | minifyEnabled enableProguardInReleaseBuilds 121 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 122 | } 123 | } 124 | // applicationVariants are e.g. debug, release 125 | applicationVariants.all { variant -> 126 | variant.outputs.each { output -> 127 | // For each separate APK per architecture, set a unique version code as described here: 128 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits 129 | def versionCodes = ["armeabi-v7a":1, "x86":2] 130 | def abi = output.getFilter(OutputFile.ABI) 131 | if (abi != null) { // null for the universal-debug, universal-release variants 132 | output.versionCodeOverride = 133 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 134 | } 135 | } 136 | } 137 | } 138 | 139 | dependencies { 140 | implementation project(':react-native-maps') 141 | implementation fileTree(dir: "libs", include: ["*.jar"]) 142 | implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}" 143 | implementation "com.facebook.react:react-native:+" // From node_modules 144 | 145 | implementation(project(':react-native-maps')){ 146 | exclude group: 'com.google.android.gms', module: 'play-services-base' 147 | exclude group: 'com.google.android.gms', module: 'play-services-maps' 148 | } 149 | implementation 'com.google.android.gms:play-services-base:15.0.1' 150 | implementation 'com.google.android.gms:play-services-maps:15.0.1' 151 | implementation project(':react-native-linear-gradient') 152 | 153 | } 154 | 155 | // Run this once to be able to run the application with BUCK 156 | // puts all compile dependencies into folder libs for BUCK to use 157 | task copyDownloadableDepsToLibs(type: Copy) { 158 | from configurations.compile 159 | into 'libs' 160 | } 161 | -------------------------------------------------------------------------------- /android/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 13 | 14 | 15 | 18 | 19 | 20 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/mymapapp/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.mymapapp; 2 | 3 | import com.facebook.react.ReactActivity; 4 | 5 | public class MainActivity extends ReactActivity { 6 | 7 | /** 8 | * Returns the name of the main component registered from JavaScript. 9 | * This is used to schedule rendering of the component. 10 | */ 11 | @Override 12 | protected String getMainComponentName() { 13 | return "myMapApp"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/mymapapp/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.mymapapp; 2 | 3 | import android.app.Application; 4 | 5 | import com.facebook.react.ReactApplication; 6 | import com.airbnb.android.react.maps.MapsPackage; 7 | import com.facebook.react.ReactNativeHost; 8 | import com.facebook.react.ReactPackage; 9 | import com.facebook.react.shell.MainReactPackage; 10 | import com.facebook.soloader.SoLoader; 11 | import com.BV.LinearGradient.LinearGradientPackage; 12 | 13 | import java.util.Arrays; 14 | import java.util.List; 15 | 16 | public class MainApplication extends Application implements ReactApplication { 17 | 18 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { 19 | @Override 20 | public boolean getUseDeveloperSupport() { 21 | return BuildConfig.DEBUG; 22 | } 23 | 24 | @Override 25 | protected List getPackages() { 26 | return Arrays.asList( 27 | new MainReactPackage(), 28 | new LinearGradientPackage(), 29 | new MapsPackage() 30 | ); 31 | } 32 | 33 | @Override 34 | protected String getJSMainModuleName() { 35 | return "index"; 36 | } 37 | }; 38 | 39 | @Override 40 | public ReactNativeHost getReactNativeHost() { 41 | return mReactNativeHost; 42 | } 43 | 44 | @Override 45 | public void onCreate() { 46 | super.onCreate(); 47 | SoLoader.init(this, /* native exopackage */ false); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mindinventory/Map-interaction-prototype/285a96ff3e4351ec93491af13aad9e6377d58c55/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mindinventory/Map-interaction-prototype/285a96ff3e4351ec93491af13aad9e6377d58c55/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mindinventory/Map-interaction-prototype/285a96ff3e4351ec93491af13aad9e6377d58c55/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mindinventory/Map-interaction-prototype/285a96ff3e4351ec93491af13aad9e6377d58c55/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mindinventory/Map-interaction-prototype/285a96ff3e4351ec93491af13aad9e6377d58c55/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mindinventory/Map-interaction-prototype/285a96ff3e4351ec93491af13aad9e6377d58c55/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mindinventory/Map-interaction-prototype/285a96ff3e4351ec93491af13aad9e6377d58c55/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mindinventory/Map-interaction-prototype/285a96ff3e4351ec93491af13aad9e6377d58c55/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mindinventory/Map-interaction-prototype/285a96ff3e4351ec93491af13aad9e6377d58c55/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mindinventory/Map-interaction-prototype/285a96ff3e4351ec93491af13aad9e6377d58c55/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | myMapApp 3 | 4 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | ext { 5 | buildToolsVersion = "27.0.3" 6 | minSdkVersion = 21 7 | compileSdkVersion = 27 8 | targetSdkVersion = 26 9 | supportLibVersion = "27.1.1" 10 | } 11 | repositories { 12 | jcenter() 13 | google() 14 | } 15 | dependencies { 16 | classpath 'com.android.tools.build:gradle:3.1.4' 17 | 18 | // NOTE: Do not place your application dependencies here; they belong 19 | // in the individual module build.gradle files 20 | } 21 | } 22 | 23 | allprojects { 24 | repositories { 25 | mavenLocal() 26 | jcenter() 27 | maven { 28 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 29 | url "$rootDir/../node_modules/react-native/android" 30 | } 31 | google() 32 | } 33 | } 34 | 35 | 36 | task wrapper(type: Wrapper) { 37 | gradleVersion = '4.4' 38 | distributionUrl = distributionUrl.replace("bin", "all") 39 | } 40 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true 19 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mindinventory/Map-interaction-prototype/285a96ff3e4351ec93491af13aad9e6377d58c55/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Oct 01 15:33:53 IST 2018 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip 7 | -------------------------------------------------------------------------------- /android/gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | ############################################################################## 4 | ## 5 | ## Gradle start up script for UN*X 6 | ## 7 | ############################################################################## 8 | 9 | # Attempt to set APP_HOME 10 | # Resolve links: $0 may be a link 11 | PRG="$0" 12 | # Need this for relative symlinks. 13 | while [ -h "$PRG" ] ; do 14 | ls=`ls -ld "$PRG"` 15 | link=`expr "$ls" : '.*-> \(.*\)$'` 16 | if expr "$link" : '/.*' > /dev/null; then 17 | PRG="$link" 18 | else 19 | PRG=`dirname "$PRG"`"/$link" 20 | fi 21 | done 22 | SAVED="`pwd`" 23 | cd "`dirname \"$PRG\"`/" >/dev/null 24 | APP_HOME="`pwd -P`" 25 | cd "$SAVED" >/dev/null 26 | 27 | APP_NAME="Gradle" 28 | APP_BASE_NAME=`basename "$0"` 29 | 30 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 31 | DEFAULT_JVM_OPTS="" 32 | 33 | # Use the maximum available, or set MAX_FD != -1 to use that value. 34 | MAX_FD="maximum" 35 | 36 | warn () { 37 | echo "$*" 38 | } 39 | 40 | die () { 41 | echo 42 | echo "$*" 43 | echo 44 | exit 1 45 | } 46 | 47 | # OS specific support (must be 'true' or 'false'). 48 | cygwin=false 49 | msys=false 50 | darwin=false 51 | nonstop=false 52 | case "`uname`" in 53 | CYGWIN* ) 54 | cygwin=true 55 | ;; 56 | Darwin* ) 57 | darwin=true 58 | ;; 59 | MINGW* ) 60 | msys=true 61 | ;; 62 | NONSTOP* ) 63 | nonstop=true 64 | ;; 65 | esac 66 | 67 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 68 | 69 | # Determine the Java command to use to start the JVM. 70 | if [ -n "$JAVA_HOME" ] ; then 71 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 72 | # IBM's JDK on AIX uses strange locations for the executables 73 | JAVACMD="$JAVA_HOME/jre/sh/java" 74 | else 75 | JAVACMD="$JAVA_HOME/bin/java" 76 | fi 77 | if [ ! -x "$JAVACMD" ] ; then 78 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 79 | 80 | Please set the JAVA_HOME variable in your environment to match the 81 | location of your Java installation." 82 | fi 83 | else 84 | JAVACMD="java" 85 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 86 | 87 | Please set the JAVA_HOME variable in your environment to match the 88 | location of your Java installation." 89 | fi 90 | 91 | # Increase the maximum file descriptors if we can. 92 | if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then 93 | MAX_FD_LIMIT=`ulimit -H -n` 94 | if [ $? -eq 0 ] ; then 95 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 96 | MAX_FD="$MAX_FD_LIMIT" 97 | fi 98 | ulimit -n $MAX_FD 99 | if [ $? -ne 0 ] ; then 100 | warn "Could not set maximum file descriptor limit: $MAX_FD" 101 | fi 102 | else 103 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 104 | fi 105 | fi 106 | 107 | # For Darwin, add options to specify how the application appears in the dock 108 | if $darwin; then 109 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 110 | fi 111 | 112 | # For Cygwin, switch paths to Windows format before running java 113 | if $cygwin ; then 114 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 115 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 116 | JAVACMD=`cygpath --unix "$JAVACMD"` 117 | 118 | # We build the pattern for arguments to be converted via cygpath 119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 120 | SEP="" 121 | for dir in $ROOTDIRSRAW ; do 122 | ROOTDIRS="$ROOTDIRS$SEP$dir" 123 | SEP="|" 124 | done 125 | OURCYGPATTERN="(^($ROOTDIRS))" 126 | # Add a user-defined pattern to the cygpath arguments 127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 129 | fi 130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 131 | i=0 132 | for arg in "$@" ; do 133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 135 | 136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 138 | else 139 | eval `echo args$i`="\"$arg\"" 140 | fi 141 | i=$((i+1)) 142 | done 143 | case $i in 144 | (0) set -- ;; 145 | (1) set -- "$args0" ;; 146 | (2) set -- "$args0" "$args1" ;; 147 | (3) set -- "$args0" "$args1" "$args2" ;; 148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;; 149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 154 | esac 155 | fi 156 | 157 | # Escape application args 158 | save () { 159 | for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done 160 | echo " " 161 | } 162 | APP_ARGS=$(save "$@") 163 | 164 | # Collect all arguments for the java command, following the shell quoting and substitution rules 165 | eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" 166 | 167 | # by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong 168 | if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then 169 | cd "$(dirname "$0")" 170 | fi 171 | 172 | exec "$JAVACMD" "$@" 173 | -------------------------------------------------------------------------------- /android/gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | set DIRNAME=%~dp0 12 | if "%DIRNAME%" == "" set DIRNAME=. 13 | set APP_BASE_NAME=%~n0 14 | set APP_HOME=%DIRNAME% 15 | 16 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 17 | set DEFAULT_JVM_OPTS= 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windows variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | 53 | :win9xME_args 54 | @rem Slurp the command line arguments. 55 | set CMD_LINE_ARGS= 56 | set _SKIP=2 57 | 58 | :win9xME_args_slurp 59 | if "x%~1" == "x" goto execute 60 | 61 | set CMD_LINE_ARGS=%* 62 | 63 | :execute 64 | @rem Setup the command line 65 | 66 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 67 | 68 | @rem Execute Gradle 69 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 70 | 71 | :end 72 | @rem End local scope for the variables with windows NT shell 73 | if "%ERRORLEVEL%"=="0" goto mainEnd 74 | 75 | :fail 76 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 77 | rem the _cmd.exe /c_ return code! 78 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 79 | exit /b 1 80 | 81 | :mainEnd 82 | if "%OS%"=="Windows_NT" endlocal 83 | 84 | :omega 85 | -------------------------------------------------------------------------------- /android/keystores/BUCK: -------------------------------------------------------------------------------- 1 | keystore( 2 | name = "debug", 3 | properties = "debug.keystore.properties", 4 | store = "debug.keystore", 5 | visibility = [ 6 | "PUBLIC", 7 | ], 8 | ) 9 | -------------------------------------------------------------------------------- /android/keystores/debug.keystore.properties: -------------------------------------------------------------------------------- 1 | key.store=debug.keystore 2 | key.alias=androiddebugkey 3 | key.store.password=android 4 | key.alias.password=android 5 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'myMapApp' 2 | 3 | include ':react-native-linear-gradient' 4 | project(':react-native-linear-gradient').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-linear-gradient/android') 5 | 6 | include ':react-native-maps' 7 | project(':react-native-maps').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-maps/lib/android') 8 | 9 | include ':app' 10 | -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "myMapApp", 3 | "displayName": "myMapApp" 4 | } -------------------------------------------------------------------------------- /app/resource/images/direction_start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mindinventory/Map-interaction-prototype/285a96ff3e4351ec93491af13aad9e6377d58c55/app/resource/images/direction_start.png -------------------------------------------------------------------------------- /app/resource/images/ic_action_back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mindinventory/Map-interaction-prototype/285a96ff3e4351ec93491af13aad9e6377d58c55/app/resource/images/ic_action_back.png -------------------------------------------------------------------------------- /app/resource/images/ic_form.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mindinventory/Map-interaction-prototype/285a96ff3e4351ec93491af13aad9e6377d58c55/app/resource/images/ic_form.png -------------------------------------------------------------------------------- /app/resource/images/ic_like.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mindinventory/Map-interaction-prototype/285a96ff3e4351ec93491af13aad9e6377d58c55/app/resource/images/ic_like.png -------------------------------------------------------------------------------- /app/resource/images/ic_location.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mindinventory/Map-interaction-prototype/285a96ff3e4351ec93491af13aad9e6377d58c55/app/resource/images/ic_location.png -------------------------------------------------------------------------------- /app/resource/images/ic_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mindinventory/Map-interaction-prototype/285a96ff3e4351ec93491af13aad9e6377d58c55/app/resource/images/ic_search.png -------------------------------------------------------------------------------- /app/resource/images/ic_search_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mindinventory/Map-interaction-prototype/285a96ff3e4351ec93491af13aad9e6377d58c55/app/resource/images/ic_search_active.png -------------------------------------------------------------------------------- /app/resource/images/ic_user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mindinventory/Map-interaction-prototype/285a96ff3e4351ec93491af13aad9e6377d58c55/app/resource/images/ic_user.png -------------------------------------------------------------------------------- /app/screens/MapScreen.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { 3 | StyleSheet, 4 | View, 5 | Dimensions, 6 | Text, 7 | Image, 8 | TouchableOpacity, 9 | Platform, 10 | ScrollView, 11 | StatusBar, 12 | FlatList, 13 | TouchableHighlight, 14 | } from 'react-native'; 15 | 16 | import LinearGradient from 'react-native-linear-gradient'; 17 | import geolib from 'geolib'; 18 | 19 | import MapView, { 20 | MAP_TYPES, 21 | ProviderPropType, 22 | Polyline, 23 | Marker, 24 | Polygon, 25 | Overlay, 26 | Circle, 27 | AnimatedRegion 28 | } from 'react-native-maps'; 29 | import MapViewDirections from 'react-native-maps-directions'; 30 | import * as maputil from "../../app/utils/maputils"; 31 | 32 | 33 | const ic_action_back = require('../resource/images/ic_action_back.png'); 34 | 35 | let mapintegration = null; 36 | 37 | const {width, height} = Dimensions.get('window'); 38 | const ASPECT_RATIO = width / height; 39 | // Mindinventory 23.0575869,72.532264 40 | const LATITUDE = 23.0575869; 41 | const LONGITUDE = 72.532264; 42 | const LATITUDE_DELTA = 1.5; 43 | const LONGITUDE_DELTA = LATITUDE_DELTA * ASPECT_RATIO; 44 | 45 | //23.0626524,72.537905 46 | const LATITUDE_DEST1 = 23.0620415; 47 | const LONGITUDE_DEST1 = 72.532932; 48 | 49 | //23.0585811,72.5391927 50 | const LATITUDE_DEST2 = 23.0585811; 51 | const LONGITUDE_DEST2 = 72.5391927; 52 | 53 | class MapIntegration extends React.Component { 54 | 55 | constructor(props) { 56 | super(props); 57 | 58 | mapintegration = this; 59 | this.state = { 60 | region: { 61 | latitude: LATITUDE, 62 | longitude: LONGITUDE, 63 | latitudeDelta: LATITUDE_DELTA, 64 | longitudeDelta: LONGITUDE_DELTA, 65 | }, 66 | coordinate: new AnimatedRegion({ 67 | latitude: LATITUDE_DEST1, 68 | longitude: LONGITUDE_DEST1, 69 | }), 70 | latitudeDestination: LATITUDE_DEST1, 71 | longitudeDestination: LONGITUDE_DEST1, 72 | }; 73 | } 74 | 75 | animateToRandomBearing() { 76 | this.map.animateToBearing(this.getBearingFromLocation(), 700); 77 | } 78 | 79 | getBearingFromLocation() { 80 | 81 | if (this.state.latitudeDestination !== LATITUDE_DEST1) { 82 | this.setState({ 83 | 84 | latitudeDestination: LATITUDE_DEST1, 85 | longitudeDestination: LONGITUDE_DEST1 86 | }) 87 | } 88 | else { 89 | this.setState({ 90 | 91 | latitudeDestination: LATITUDE_DEST2, 92 | longitudeDestination: LONGITUDE_DEST2 93 | }) 94 | } 95 | 96 | let bearing = geolib.getBearing( 97 | {latitude: LATITUDE, longitude: LONGITUDE}, 98 | {latitude: this.state.latitudeDestination, longitude: this.state.longitudeDestination} 99 | ); 100 | 101 | this.animate(); 102 | 103 | return bearing; 104 | } 105 | 106 | 107 | animate() { 108 | const {coordinate} = this.state; 109 | const newCoordinate = { 110 | // latitude: LATITUDE + ((Math.random() - 0.5) * (LATITUDE_DELTA / 2)), 111 | // longitude: LONGITUDE + ((Math.random() - 0.5) * (LONGITUDE_DELTA / 2)), 112 | latitude: ((mapintegration.state.latitudeDestination)), 113 | longitude: ((mapintegration.state.longitudeDestination)), 114 | }; 115 | 116 | if (Platform.OS === 'android') { 117 | if (this.marker) { 118 | this.marker._component.animateMarkerToCoordinate(newCoordinate, 500); 119 | } 120 | } else { 121 | coordinate.timing(newCoordinate).start(); 122 | } 123 | } 124 | 125 | render() { 126 | return ( 127 | 128 | 129 | { 132 | this.map = ref; 133 | }} 134 | provider={this.props.provider} 135 | style={maputil.MapScreenstyles.map} 136 | followsUserLocation={false} 137 | loadingEnabled={true} 138 | showsIndoorLevelPicker={false} 139 | initialRegion={{ 140 | latitude: LATITUDE, 141 | longitude: LONGITUDE, 142 | latitudeDelta: LATITUDE_DELTA, 143 | longitudeDelta: LONGITUDE_DELTA, 144 | }} 145 | customMapStyle={maputil.customMapStyle} 146 | // onRegionChange={region => this.onRegionChange(region)} 147 | > 148 | 149 | 150 | {/* 166 | */} 167 | {/* 174 | 175 | */} 181 | 182 | { 193 | console.log(`Started routing between "${params.origin}" and "${params.destination}"`); 194 | }} 195 | onReady={(result) => { 196 | this.map.fitToCoordinates(result.coordinates, { 197 | edgePadding: { 198 | right: 160, 199 | bottom: 500, 200 | left: 160, 201 | top: 900, 202 | } 203 | }); 204 | }} 205 | onError={(errorMessage) => { 206 | console.log('GOT AN ERROR' + errorMessage); 207 | }} 208 | /> 209 | 210 | {/* */} 214 | 215 | {/* { this.marker = marker; }} 217 | coordinate={this.state.coordinate} 218 | />*/} 219 | 220 | 221 | 222 | 223 | 224 | 225 | 229 | 230 | {/* this.animateToRandomBearing() 232 | } 233 | style={maputil.MapScreenstyles.BottomContainer} 234 | 235 | > 236 | 237 | Animate (Bearing) 238 | 239 | */} 240 | 241 | { 251 | // Alert.alert('omm \(distanceFromEnd)'); 252 | // this.adjustPageSize 253 | console.log('on end reached ', distanceFromEnd); 254 | }} 255 | onViewableItemsChanged={ 256 | this.adjustPageSize 257 | } 258 | directionalLockEnabled 259 | data={[{name: 'Nauti Grind New Restaurant'}, 260 | {name: 'Le Dinner Bell'}]} 261 | // numColumns={self.count} 262 | horizontal 263 | 264 | style = {{maxHeight: 100 , marginBottom : 10 , width : Dimensions.get('window').width *1 , overflow: 'visible' , right: 0 , alignSelf: 'flex-start'}} 265 | 266 | // initialScrollIndex={2} 267 | renderItem={({item}) => } 268 | // extraData = {this.state} 269 | keyExtractor={(item) => item.name} 270 | /> 271 | 272 | 273 | 274 | 283 | 284 | 285 | 289 | 293 | 297 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | ) 308 | } 309 | 310 | } 311 | 312 | class MapHeader extends React.Component { 313 | 314 | constructor(props) { 315 | super(props); 316 | } 317 | 318 | render() { 319 | return ( 320 | 329 | 334 | 341 | 342 | 344 | 345 | SEE ALL 351 | 352 | 353 | 359 | Restaurants 364 | Brooklyn 370 | 371 | 378 | 379 | 381 | 382 | 3164, Anthony Avenue 385 | 386 | 387 | 388 | 389 | 390 | 391 | 392 | ) 393 | } 394 | 395 | } 396 | 397 | class MyCell extends React.Component{ 398 | 399 | constructor(props) { 400 | super(props); 401 | this.state = { 402 | displayData: this.props.displayData, 403 | displayData1: this.props.displayData1, 404 | } 405 | } 406 | _pressRow = (rowID: number) => { 407 | console.log("clicked") 408 | mapintegration.animateToRandomBearing() 409 | } 410 | render(){ 411 | let displayTExt = this.state.displayData1 + this.state.displayData 412 | 413 | return( 414 | 415 | 416 | this._pressRow()}> 417 | 418 | 419 | 423 | 424 | 425 | 426 | {displayTExt} 430 | 431 | 432 | {/**/} 433 | 306 Review 434 | 435 | 436 | 437 | 438 | 439 | 440 | 441 | ); 442 | } 443 | 444 | } 445 | 446 | 447 | export default MapIntegration; -------------------------------------------------------------------------------- /app/utils/maputils.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { 3 | StyleSheet, 4 | View, 5 | Dimensions, 6 | Text, 7 | Image, 8 | TouchableOpacity, 9 | Platform, 10 | ScrollView 11 | } from 'react-native'; 12 | 13 | export const GOOGLE_MAPS_APIKEY = 'AIzaSyC#######################'; 14 | //Replace this key with your google map key. 15 | 16 | export const MapScreenstyles = StyleSheet.create({ 17 | 18 | tabicon:{ 19 | flex: 1, 20 | }, 21 | 22 | contentContainer: { 23 | height: '100%', 24 | width: '100%', 25 | justifyContent: 'space-between', 26 | }, 27 | 28 | map: { 29 | ...StyleSheet.absoluteFillObject, 30 | 31 | backgroundColor: '#000000', 32 | }, 33 | 34 | BottomContainer: { 35 | marginLeft: 20, 36 | marginRight: 20, 37 | marginBottom: 20, 38 | width: '80%', 39 | height:130, 40 | flexDirection: 'column', 41 | backgroundColor: 'rgba(255,255,255,0.9)', 42 | borderRadius: 20, 43 | }, 44 | outerView: { 45 | // marginTop: Dimensions.get('window').height - 120, 46 | height : 100, 47 | 48 | 49 | marginLeft: 10, 50 | marginRight: 10, 51 | 52 | width: Dimensions.get('window').width * 1 -20, 53 | // paddingLeft: 10 54 | }, 55 | 56 | innerView: { 57 | // justifyContent: 'flex-end', 58 | backgroundColor: '#F0F1F2', 59 | borderRadius: 10, 60 | overflow: 'hidden', 61 | width: '100%', 62 | flex: 1, 63 | flexDirection: 'row', 64 | 65 | // paddingVertical: 10, 66 | } 67 | 68 | } 69 | ); 70 | 71 | export const customMapStyle = [ 72 | { 73 | "featureType": "all", 74 | "elementType": "labels.text.fill", 75 | "stylers": [ 76 | { 77 | "saturation": 36 78 | }, 79 | { 80 | "color": "#000000" 81 | }, 82 | { 83 | "lightness": 40 84 | } 85 | ] 86 | }, 87 | { 88 | "featureType": "all", 89 | "elementType": "labels.text.stroke", 90 | "stylers": [ 91 | { 92 | "visibility": "on" 93 | }, 94 | { 95 | "color": "#000000" 96 | }, 97 | { 98 | "lightness": 16 99 | } 100 | ] 101 | }, 102 | { 103 | "featureType": "all", 104 | "elementType": "labels.icon", 105 | "stylers": [ 106 | { 107 | "visibility": "off" 108 | } 109 | ] 110 | }, 111 | { 112 | "featureType": "administrative", 113 | "elementType": "geometry.fill", 114 | "stylers": [ 115 | { 116 | "color": "#000000" 117 | }, 118 | { 119 | "lightness": 20 120 | } 121 | ] 122 | }, 123 | { 124 | "featureType": "administrative", 125 | "elementType": "geometry.stroke", 126 | "stylers": [ 127 | { 128 | "color": "#000000" 129 | }, 130 | { 131 | "lightness": 17 132 | }, 133 | { 134 | "weight": 1.2 135 | } 136 | ] 137 | }, 138 | { 139 | "featureType": "administrative", 140 | "elementType": "labels", 141 | "stylers": [ 142 | { 143 | "visibility": "off" 144 | } 145 | ] 146 | }, 147 | { 148 | "featureType": "administrative.country", 149 | "elementType": "all", 150 | "stylers": [ 151 | { 152 | "visibility": "simplified" 153 | } 154 | ] 155 | }, 156 | { 157 | "featureType": "administrative.country", 158 | "elementType": "geometry", 159 | "stylers": [ 160 | { 161 | "visibility": "simplified" 162 | } 163 | ] 164 | }, 165 | { 166 | "featureType": "administrative.country", 167 | "elementType": "labels.text", 168 | "stylers": [ 169 | { 170 | "visibility": "simplified" 171 | } 172 | ] 173 | }, 174 | { 175 | "featureType": "administrative.province", 176 | "elementType": "all", 177 | "stylers": [ 178 | { 179 | "visibility": "off" 180 | } 181 | ] 182 | }, 183 | { 184 | "featureType": "administrative.locality", 185 | "elementType": "all", 186 | "stylers": [ 187 | { 188 | "visibility": "simplified" 189 | }, 190 | { 191 | "saturation": "-100" 192 | }, 193 | { 194 | "lightness": "30" 195 | } 196 | ] 197 | }, 198 | { 199 | "featureType": "administrative.neighborhood", 200 | "elementType": "all", 201 | "stylers": [ 202 | { 203 | "visibility": "off" 204 | } 205 | ] 206 | }, 207 | { 208 | "featureType": "administrative.land_parcel", 209 | "elementType": "all", 210 | "stylers": [ 211 | { 212 | "visibility": "off" 213 | } 214 | ] 215 | }, 216 | { 217 | "featureType": "landscape", 218 | "elementType": "all", 219 | "stylers": [ 220 | { 221 | "visibility": "simplified" 222 | }, 223 | { 224 | "gamma": "0.00" 225 | }, 226 | { 227 | "lightness": "74" 228 | } 229 | ] 230 | }, 231 | { 232 | "featureType": "landscape", 233 | "elementType": "geometry", 234 | "stylers": [ 235 | { 236 | "color": "#34334f" 237 | }, 238 | { 239 | "lightness": "-37" 240 | } 241 | ] 242 | }, 243 | { 244 | "featureType": "landscape.man_made", 245 | "elementType": "all", 246 | "stylers": [ 247 | { 248 | "lightness": "3" 249 | } 250 | ] 251 | }, 252 | { 253 | "featureType": "poi", 254 | "elementType": "all", 255 | "stylers": [ 256 | { 257 | "visibility": "off" 258 | } 259 | ] 260 | }, 261 | { 262 | "featureType": "poi", 263 | "elementType": "geometry", 264 | "stylers": [ 265 | { 266 | "color": "#000000" 267 | }, 268 | { 269 | "lightness": 21 270 | } 271 | ] 272 | }, 273 | { 274 | "featureType": "road", 275 | "elementType": "geometry", 276 | "stylers": [ 277 | { 278 | "visibility": "simplified" 279 | } 280 | ] 281 | }, 282 | { 283 | "featureType": "road.highway", 284 | "elementType": "geometry.fill", 285 | "stylers": [ 286 | { 287 | "color": "#2d2c45" 288 | }, 289 | { 290 | "lightness": "0" 291 | } 292 | ] 293 | }, 294 | { 295 | "featureType": "road.highway", 296 | "elementType": "geometry.stroke", 297 | "stylers": [ 298 | { 299 | "color": "#000000" 300 | }, 301 | { 302 | "lightness": 29 303 | }, 304 | { 305 | "weight": 0.2 306 | } 307 | ] 308 | }, 309 | { 310 | "featureType": "road.highway", 311 | "elementType": "labels.text.fill", 312 | "stylers": [ 313 | { 314 | "color": "#7d7c9b" 315 | }, 316 | { 317 | "lightness": "43" 318 | } 319 | ] 320 | }, 321 | { 322 | "featureType": "road.highway", 323 | "elementType": "labels.text.stroke", 324 | "stylers": [ 325 | { 326 | "visibility": "off" 327 | } 328 | ] 329 | }, 330 | { 331 | "featureType": "road.arterial", 332 | "elementType": "geometry", 333 | "stylers": [ 334 | { 335 | "color": "#2d2c45" 336 | }, 337 | { 338 | "lightness": "1" 339 | } 340 | ] 341 | }, 342 | { 343 | "featureType": "road.arterial", 344 | "elementType": "labels.text", 345 | "stylers": [ 346 | { 347 | "visibility": "on" 348 | } 349 | ] 350 | }, 351 | { 352 | "featureType": "road.arterial", 353 | "elementType": "labels.text.fill", 354 | "stylers": [ 355 | { 356 | "color": "#7d7c9b" 357 | } 358 | ] 359 | }, 360 | { 361 | "featureType": "road.arterial", 362 | "elementType": "labels.text.stroke", 363 | "stylers": [ 364 | { 365 | "visibility": "off" 366 | } 367 | ] 368 | }, 369 | { 370 | "featureType": "road.local", 371 | "elementType": "geometry", 372 | "stylers": [ 373 | { 374 | "color": "#2d2c45" 375 | }, 376 | { 377 | "lightness": "-1" 378 | }, 379 | { 380 | "gamma": "1" 381 | } 382 | ] 383 | }, 384 | { 385 | "featureType": "road.local", 386 | "elementType": "labels.text", 387 | "stylers": [ 388 | { 389 | "visibility": "on" 390 | }, 391 | { 392 | "hue": "#ff0000" 393 | } 394 | ] 395 | }, 396 | { 397 | "featureType": "road.local", 398 | "elementType": "labels.text.fill", 399 | "stylers": [ 400 | { 401 | "color": "#7d7c9b" 402 | }, 403 | { 404 | "lightness": "-31" 405 | } 406 | ] 407 | }, 408 | { 409 | "featureType": "road.local", 410 | "elementType": "labels.text.stroke", 411 | "stylers": [ 412 | { 413 | "visibility": "off" 414 | } 415 | ] 416 | }, 417 | { 418 | "featureType": "transit", 419 | "elementType": "geometry", 420 | "stylers": [ 421 | { 422 | "color": "#2d2c45" 423 | }, 424 | { 425 | "lightness": "-36" 426 | } 427 | ] 428 | }, 429 | { 430 | "featureType": "water", 431 | "elementType": "geometry", 432 | "stylers": [ 433 | { 434 | "color": "#2d2c45" 435 | }, 436 | { 437 | "lightness": "0" 438 | }, 439 | { 440 | "gamma": "1" 441 | } 442 | ] 443 | }, 444 | { 445 | "featureType": "water", 446 | "elementType": "labels.text.stroke", 447 | "stylers": [ 448 | { 449 | "visibility": "off" 450 | } 451 | ] 452 | } 453 | ]; 454 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | /** @format */ 2 | 3 | import {AppRegistry} from 'react-native'; 4 | import MapIntegration from './app/screens/MapScreen'; 5 | import {name as appName} from './app.json'; 6 | 7 | AppRegistry.registerComponent(appName, () => MapIntegration); 8 | 9 | // import {AppRegistry} from 'react-native'; 10 | // import App from './App'; 11 | // import {name as appName} from './app.json'; 12 | // 13 | // AppRegistry.registerComponent(appName, () => App); 14 | -------------------------------------------------------------------------------- /ios/myMapApp-tvOS/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | UIViewControllerBasedStatusBarAppearance 38 | 39 | NSLocationWhenInUseUsageDescription 40 | 41 | NSAppTransportSecurity 42 | 43 | 44 | NSExceptionDomains 45 | 46 | localhost 47 | 48 | NSExceptionAllowsInsecureHTTPLoads 49 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /ios/myMapApp-tvOSTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /ios/myMapApp.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | /* Begin PBXBuildFile section */ 9 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; }; 10 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; }; 11 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; }; 12 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; }; 13 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; }; 14 | 00E356F31AD99517003FC87E /* myMapAppTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* myMapAppTests.m */; }; 15 | 11D1A2F320CAFA9E000508D9 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 16 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; }; 17 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; }; 18 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; }; 19 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 20 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; }; 21 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 22 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 23 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 24 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 25 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 26 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 27 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 28 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 29 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; }; 30 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; }; 31 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; }; 32 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; }; 33 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; }; 34 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; }; 35 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2D16E6891FA4F8E400B85C8A /* libReact.a */; }; 36 | 2DCD954D1E0B4F2C00145EB5 /* myMapAppTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* myMapAppTests.m */; }; 37 | 2DF0FFEE2056DD460020B375 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; }; 38 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 39 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; }; 40 | 00AE707349CD4E759965EFC2 /* libAirMaps.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D6275E2B72A3435DBC8580AA /* libAirMaps.a */; }; 41 | /* End PBXBuildFile section */ 42 | 43 | /* Begin PBXContainerItemProxy section */ 44 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = { 45 | isa = PBXContainerItemProxy; 46 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 47 | proxyType = 2; 48 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 49 | remoteInfo = RCTActionSheet; 50 | }; 51 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = { 52 | isa = PBXContainerItemProxy; 53 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 54 | proxyType = 2; 55 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 56 | remoteInfo = RCTGeolocation; 57 | }; 58 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = { 59 | isa = PBXContainerItemProxy; 60 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 61 | proxyType = 2; 62 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676; 63 | remoteInfo = RCTImage; 64 | }; 65 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = { 66 | isa = PBXContainerItemProxy; 67 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 68 | proxyType = 2; 69 | remoteGlobalIDString = 58B511DB1A9E6C8500147676; 70 | remoteInfo = RCTNetwork; 71 | }; 72 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = { 73 | isa = PBXContainerItemProxy; 74 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 75 | proxyType = 2; 76 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7; 77 | remoteInfo = RCTVibration; 78 | }; 79 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 80 | isa = PBXContainerItemProxy; 81 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 82 | proxyType = 1; 83 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 84 | remoteInfo = myMapApp; 85 | }; 86 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = { 87 | isa = PBXContainerItemProxy; 88 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 89 | proxyType = 2; 90 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 91 | remoteInfo = RCTSettings; 92 | }; 93 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = { 94 | isa = PBXContainerItemProxy; 95 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 96 | proxyType = 2; 97 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A; 98 | remoteInfo = RCTWebSocket; 99 | }; 100 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = { 101 | isa = PBXContainerItemProxy; 102 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 103 | proxyType = 2; 104 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; 105 | remoteInfo = React; 106 | }; 107 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { 108 | isa = PBXContainerItemProxy; 109 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 110 | proxyType = 1; 111 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; 112 | remoteInfo = "myMapApp-tvOS"; 113 | }; 114 | 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 115 | isa = PBXContainerItemProxy; 116 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 117 | proxyType = 2; 118 | remoteGlobalIDString = ADD01A681E09402E00F6D226; 119 | remoteInfo = "RCTBlob-tvOS"; 120 | }; 121 | 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 122 | isa = PBXContainerItemProxy; 123 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 124 | proxyType = 2; 125 | remoteGlobalIDString = 3DBE0D001F3B181A0099AA32; 126 | remoteInfo = fishhook; 127 | }; 128 | 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 129 | isa = PBXContainerItemProxy; 130 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 131 | proxyType = 2; 132 | remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32; 133 | remoteInfo = "fishhook-tvOS"; 134 | }; 135 | 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */ = { 136 | isa = PBXContainerItemProxy; 137 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 138 | proxyType = 2; 139 | remoteGlobalIDString = EBF21BDC1FC498900052F4D5; 140 | remoteInfo = jsinspector; 141 | }; 142 | 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */ = { 143 | isa = PBXContainerItemProxy; 144 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 145 | proxyType = 2; 146 | remoteGlobalIDString = EBF21BFA1FC4989A0052F4D5; 147 | remoteInfo = "jsinspector-tvOS"; 148 | }; 149 | 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */ = { 150 | isa = PBXContainerItemProxy; 151 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 152 | proxyType = 2; 153 | remoteGlobalIDString = 139D7ECE1E25DB7D00323FB7; 154 | remoteInfo = "third-party"; 155 | }; 156 | 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */ = { 157 | isa = PBXContainerItemProxy; 158 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 159 | proxyType = 2; 160 | remoteGlobalIDString = 3D383D3C1EBD27B6005632C8; 161 | remoteInfo = "third-party-tvOS"; 162 | }; 163 | 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */ = { 164 | isa = PBXContainerItemProxy; 165 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 166 | proxyType = 2; 167 | remoteGlobalIDString = 139D7E881E25C6D100323FB7; 168 | remoteInfo = "double-conversion"; 169 | }; 170 | 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */ = { 171 | isa = PBXContainerItemProxy; 172 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 173 | proxyType = 2; 174 | remoteGlobalIDString = 3D383D621EBD27B9005632C8; 175 | remoteInfo = "double-conversion-tvOS"; 176 | }; 177 | 2DF0FFEA2056DD460020B375 /* PBXContainerItemProxy */ = { 178 | isa = PBXContainerItemProxy; 179 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 180 | proxyType = 2; 181 | remoteGlobalIDString = 9936F3131F5F2E4B0010BF04; 182 | remoteInfo = privatedata; 183 | }; 184 | 2DF0FFEC2056DD460020B375 /* PBXContainerItemProxy */ = { 185 | isa = PBXContainerItemProxy; 186 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 187 | proxyType = 2; 188 | remoteGlobalIDString = 9936F32F1F5F2E5B0010BF04; 189 | remoteInfo = "privatedata-tvOS"; 190 | }; 191 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { 192 | isa = PBXContainerItemProxy; 193 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 194 | proxyType = 2; 195 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 196 | remoteInfo = "RCTImage-tvOS"; 197 | }; 198 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = { 199 | isa = PBXContainerItemProxy; 200 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 201 | proxyType = 2; 202 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 203 | remoteInfo = "RCTLinking-tvOS"; 204 | }; 205 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 206 | isa = PBXContainerItemProxy; 207 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 208 | proxyType = 2; 209 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 210 | remoteInfo = "RCTNetwork-tvOS"; 211 | }; 212 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 213 | isa = PBXContainerItemProxy; 214 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 215 | proxyType = 2; 216 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 217 | remoteInfo = "RCTSettings-tvOS"; 218 | }; 219 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = { 220 | isa = PBXContainerItemProxy; 221 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 222 | proxyType = 2; 223 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 224 | remoteInfo = "RCTText-tvOS"; 225 | }; 226 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = { 227 | isa = PBXContainerItemProxy; 228 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 229 | proxyType = 2; 230 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 231 | remoteInfo = "RCTWebSocket-tvOS"; 232 | }; 233 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = { 234 | isa = PBXContainerItemProxy; 235 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 236 | proxyType = 2; 237 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 238 | remoteInfo = "React-tvOS"; 239 | }; 240 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = { 241 | isa = PBXContainerItemProxy; 242 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 243 | proxyType = 2; 244 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA; 245 | remoteInfo = yoga; 246 | }; 247 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = { 248 | isa = PBXContainerItemProxy; 249 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 250 | proxyType = 2; 251 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA; 252 | remoteInfo = "yoga-tvOS"; 253 | }; 254 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = { 255 | isa = PBXContainerItemProxy; 256 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 257 | proxyType = 2; 258 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; 259 | remoteInfo = cxxreact; 260 | }; 261 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 262 | isa = PBXContainerItemProxy; 263 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 264 | proxyType = 2; 265 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; 266 | remoteInfo = "cxxreact-tvOS"; 267 | }; 268 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 269 | isa = PBXContainerItemProxy; 270 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 271 | proxyType = 2; 272 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4; 273 | remoteInfo = jschelpers; 274 | }; 275 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 276 | isa = PBXContainerItemProxy; 277 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 278 | proxyType = 2; 279 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4; 280 | remoteInfo = "jschelpers-tvOS"; 281 | }; 282 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 283 | isa = PBXContainerItemProxy; 284 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 285 | proxyType = 2; 286 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 287 | remoteInfo = RCTAnimation; 288 | }; 289 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 290 | isa = PBXContainerItemProxy; 291 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 292 | proxyType = 2; 293 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D; 294 | remoteInfo = "RCTAnimation-tvOS"; 295 | }; 296 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 297 | isa = PBXContainerItemProxy; 298 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 299 | proxyType = 2; 300 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 301 | remoteInfo = RCTLinking; 302 | }; 303 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 304 | isa = PBXContainerItemProxy; 305 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 306 | proxyType = 2; 307 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 308 | remoteInfo = RCTText; 309 | }; 310 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = { 311 | isa = PBXContainerItemProxy; 312 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 313 | proxyType = 2; 314 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814; 315 | remoteInfo = RCTBlob; 316 | }; 317 | /* End PBXContainerItemProxy section */ 318 | 319 | /* Begin PBXFileReference section */ 320 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 321 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 322 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 323 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 324 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 325 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 326 | 00E356EE1AD99517003FC87E /* myMapAppTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = myMapAppTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 327 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 328 | 00E356F21AD99517003FC87E /* myMapAppTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = myMapAppTests.m; sourceTree = ""; }; 329 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 330 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 331 | 13B07F961A680F5B00A75B9A /* myMapApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = myMapApp.app; sourceTree = BUILT_PRODUCTS_DIR; }; 332 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = myMapApp/AppDelegate.h; sourceTree = ""; }; 333 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = myMapApp/AppDelegate.m; sourceTree = ""; }; 334 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 335 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = myMapApp/Images.xcassets; sourceTree = ""; }; 336 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = myMapApp/Info.plist; sourceTree = ""; }; 337 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = myMapApp/main.m; sourceTree = ""; }; 338 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 339 | 2D02E47B1E0B4A5D006451C7 /* myMapApp-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "myMapApp-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 340 | 2D02E4901E0B4A5D006451C7 /* myMapApp-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "myMapApp-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 341 | 2D16E6891FA4F8E400B85C8A /* libReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libReact.a; sourceTree = BUILT_PRODUCTS_DIR; }; 342 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 343 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 344 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 345 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; }; 346 | 5FFE4CAAD6CB43BDB3BF24A0 /* AirMaps.xcodeproj */ = {isa = PBXFileReference; name = "AirMaps.xcodeproj"; path = "../node_modules/react-native-maps/lib/ios/AirMaps.xcodeproj"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = wrapper.pb-project; explicitFileType = undefined; includeInIndex = 0; }; 347 | D6275E2B72A3435DBC8580AA /* libAirMaps.a */ = {isa = PBXFileReference; name = "libAirMaps.a"; path = "libAirMaps.a"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = archive.ar; explicitFileType = undefined; includeInIndex = 0; }; 348 | /* End PBXFileReference section */ 349 | 350 | /* Begin PBXFrameworksBuildPhase section */ 351 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 352 | isa = PBXFrameworksBuildPhase; 353 | buildActionMask = 2147483647; 354 | files = ( 355 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 356 | ); 357 | runOnlyForDeploymentPostprocessing = 0; 358 | }; 359 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 360 | isa = PBXFrameworksBuildPhase; 361 | buildActionMask = 2147483647; 362 | files = ( 363 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */, 364 | 11D1A2F320CAFA9E000508D9 /* libRCTAnimation.a in Frameworks */, 365 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 366 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 367 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 368 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 369 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 370 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 371 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 372 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 373 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 374 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 375 | 00AE707349CD4E759965EFC2 /* libAirMaps.a in Frameworks */, 376 | ); 377 | runOnlyForDeploymentPostprocessing = 0; 378 | }; 379 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 380 | isa = PBXFrameworksBuildPhase; 381 | buildActionMask = 2147483647; 382 | files = ( 383 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */, 384 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */, 385 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */, 386 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */, 387 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */, 388 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */, 389 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */, 390 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */, 391 | ); 392 | runOnlyForDeploymentPostprocessing = 0; 393 | }; 394 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 395 | isa = PBXFrameworksBuildPhase; 396 | buildActionMask = 2147483647; 397 | files = ( 398 | 2DF0FFEE2056DD460020B375 /* libReact.a in Frameworks */, 399 | ); 400 | runOnlyForDeploymentPostprocessing = 0; 401 | }; 402 | /* End PBXFrameworksBuildPhase section */ 403 | 404 | /* Begin PBXGroup section */ 405 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 406 | isa = PBXGroup; 407 | children = ( 408 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 409 | ); 410 | name = Products; 411 | sourceTree = ""; 412 | }; 413 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 414 | isa = PBXGroup; 415 | children = ( 416 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 417 | ); 418 | name = Products; 419 | sourceTree = ""; 420 | }; 421 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 422 | isa = PBXGroup; 423 | children = ( 424 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 425 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */, 426 | ); 427 | name = Products; 428 | sourceTree = ""; 429 | }; 430 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 431 | isa = PBXGroup; 432 | children = ( 433 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 434 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */, 435 | ); 436 | name = Products; 437 | sourceTree = ""; 438 | }; 439 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 440 | isa = PBXGroup; 441 | children = ( 442 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 443 | ); 444 | name = Products; 445 | sourceTree = ""; 446 | }; 447 | 00E356EF1AD99517003FC87E /* myMapAppTests */ = { 448 | isa = PBXGroup; 449 | children = ( 450 | 00E356F21AD99517003FC87E /* myMapAppTests.m */, 451 | 00E356F01AD99517003FC87E /* Supporting Files */, 452 | ); 453 | path = myMapAppTests; 454 | sourceTree = ""; 455 | }; 456 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 457 | isa = PBXGroup; 458 | children = ( 459 | 00E356F11AD99517003FC87E /* Info.plist */, 460 | ); 461 | name = "Supporting Files"; 462 | sourceTree = ""; 463 | }; 464 | 139105B71AF99BAD00B5F7CC /* Products */ = { 465 | isa = PBXGroup; 466 | children = ( 467 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 468 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */, 469 | ); 470 | name = Products; 471 | sourceTree = ""; 472 | }; 473 | 139FDEE71B06529A00C62182 /* Products */ = { 474 | isa = PBXGroup; 475 | children = ( 476 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 477 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */, 478 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */, 479 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */, 480 | ); 481 | name = Products; 482 | sourceTree = ""; 483 | }; 484 | 13B07FAE1A68108700A75B9A /* myMapApp */ = { 485 | isa = PBXGroup; 486 | children = ( 487 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 488 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 489 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 490 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 491 | 13B07FB61A68108700A75B9A /* Info.plist */, 492 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 493 | 13B07FB71A68108700A75B9A /* main.m */, 494 | ); 495 | name = myMapApp; 496 | sourceTree = ""; 497 | }; 498 | 146834001AC3E56700842450 /* Products */ = { 499 | isa = PBXGroup; 500 | children = ( 501 | 146834041AC3E56700842450 /* libReact.a */, 502 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */, 503 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */, 504 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, 505 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, 506 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, 507 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */, 508 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */, 509 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */, 510 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */, 511 | 2DF0FFE32056DD460020B375 /* libthird-party.a */, 512 | 2DF0FFE52056DD460020B375 /* libthird-party.a */, 513 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */, 514 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */, 515 | 2DF0FFEB2056DD460020B375 /* libprivatedata.a */, 516 | 2DF0FFED2056DD460020B375 /* libprivatedata-tvOS.a */, 517 | ); 518 | name = Products; 519 | sourceTree = ""; 520 | }; 521 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { 522 | isa = PBXGroup; 523 | children = ( 524 | 2D16E6891FA4F8E400B85C8A /* libReact.a */, 525 | ); 526 | name = Frameworks; 527 | sourceTree = ""; 528 | }; 529 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = { 530 | isa = PBXGroup; 531 | children = ( 532 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, 533 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */, 534 | ); 535 | name = Products; 536 | sourceTree = ""; 537 | }; 538 | 78C398B11ACF4ADC00677621 /* Products */ = { 539 | isa = PBXGroup; 540 | children = ( 541 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 542 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */, 543 | ); 544 | name = Products; 545 | sourceTree = ""; 546 | }; 547 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 548 | isa = PBXGroup; 549 | children = ( 550 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 551 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 552 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 553 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */, 554 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 555 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 556 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 557 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 558 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 559 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 560 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 561 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 562 | 5FFE4CAAD6CB43BDB3BF24A0 /* AirMaps.xcodeproj */, 563 | ); 564 | name = Libraries; 565 | sourceTree = ""; 566 | }; 567 | 832341B11AAA6A8300B99B32 /* Products */ = { 568 | isa = PBXGroup; 569 | children = ( 570 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 571 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */, 572 | ); 573 | name = Products; 574 | sourceTree = ""; 575 | }; 576 | 83CBB9F61A601CBA00E9B192 = { 577 | isa = PBXGroup; 578 | children = ( 579 | 13B07FAE1A68108700A75B9A /* myMapApp */, 580 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 581 | 00E356EF1AD99517003FC87E /* myMapAppTests */, 582 | 83CBBA001A601CBA00E9B192 /* Products */, 583 | 2D16E6871FA4F8E400B85C8A /* Frameworks */, 584 | ); 585 | indentWidth = 2; 586 | sourceTree = ""; 587 | tabWidth = 2; 588 | usesTabs = 0; 589 | }; 590 | 83CBBA001A601CBA00E9B192 /* Products */ = { 591 | isa = PBXGroup; 592 | children = ( 593 | 13B07F961A680F5B00A75B9A /* myMapApp.app */, 594 | 00E356EE1AD99517003FC87E /* myMapAppTests.xctest */, 595 | 2D02E47B1E0B4A5D006451C7 /* myMapApp-tvOS.app */, 596 | 2D02E4901E0B4A5D006451C7 /* myMapApp-tvOSTests.xctest */, 597 | ); 598 | name = Products; 599 | sourceTree = ""; 600 | }; 601 | ADBDB9201DFEBF0600ED6528 /* Products */ = { 602 | isa = PBXGroup; 603 | children = ( 604 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */, 605 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */, 606 | ); 607 | name = Products; 608 | sourceTree = ""; 609 | }; 610 | /* End PBXGroup section */ 611 | 612 | /* Begin PBXNativeTarget section */ 613 | 00E356ED1AD99517003FC87E /* myMapAppTests */ = { 614 | isa = PBXNativeTarget; 615 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "myMapAppTests" */; 616 | buildPhases = ( 617 | 00E356EA1AD99517003FC87E /* Sources */, 618 | 00E356EB1AD99517003FC87E /* Frameworks */, 619 | 00E356EC1AD99517003FC87E /* Resources */, 620 | ); 621 | buildRules = ( 622 | ); 623 | dependencies = ( 624 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 625 | ); 626 | name = myMapAppTests; 627 | productName = myMapAppTests; 628 | productReference = 00E356EE1AD99517003FC87E /* myMapAppTests.xctest */; 629 | productType = "com.apple.product-type.bundle.unit-test"; 630 | }; 631 | 13B07F861A680F5B00A75B9A /* myMapApp */ = { 632 | isa = PBXNativeTarget; 633 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "myMapApp" */; 634 | buildPhases = ( 635 | 13B07F871A680F5B00A75B9A /* Sources */, 636 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 637 | 13B07F8E1A680F5B00A75B9A /* Resources */, 638 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 639 | ); 640 | buildRules = ( 641 | ); 642 | dependencies = ( 643 | ); 644 | name = myMapApp; 645 | productName = "Hello World"; 646 | productReference = 13B07F961A680F5B00A75B9A /* myMapApp.app */; 647 | productType = "com.apple.product-type.application"; 648 | }; 649 | 2D02E47A1E0B4A5D006451C7 /* myMapApp-tvOS */ = { 650 | isa = PBXNativeTarget; 651 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "myMapApp-tvOS" */; 652 | buildPhases = ( 653 | 2D02E4771E0B4A5D006451C7 /* Sources */, 654 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 655 | 2D02E4791E0B4A5D006451C7 /* Resources */, 656 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 657 | ); 658 | buildRules = ( 659 | ); 660 | dependencies = ( 661 | ); 662 | name = "myMapApp-tvOS"; 663 | productName = "myMapApp-tvOS"; 664 | productReference = 2D02E47B1E0B4A5D006451C7 /* myMapApp-tvOS.app */; 665 | productType = "com.apple.product-type.application"; 666 | }; 667 | 2D02E48F1E0B4A5D006451C7 /* myMapApp-tvOSTests */ = { 668 | isa = PBXNativeTarget; 669 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "myMapApp-tvOSTests" */; 670 | buildPhases = ( 671 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 672 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 673 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 674 | ); 675 | buildRules = ( 676 | ); 677 | dependencies = ( 678 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 679 | ); 680 | name = "myMapApp-tvOSTests"; 681 | productName = "myMapApp-tvOSTests"; 682 | productReference = 2D02E4901E0B4A5D006451C7 /* myMapApp-tvOSTests.xctest */; 683 | productType = "com.apple.product-type.bundle.unit-test"; 684 | }; 685 | /* End PBXNativeTarget section */ 686 | 687 | /* Begin PBXProject section */ 688 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 689 | isa = PBXProject; 690 | attributes = { 691 | LastUpgradeCheck = 940; 692 | ORGANIZATIONNAME = Facebook; 693 | TargetAttributes = { 694 | 00E356ED1AD99517003FC87E = { 695 | CreatedOnToolsVersion = 6.2; 696 | TestTargetID = 13B07F861A680F5B00A75B9A; 697 | }; 698 | 2D02E47A1E0B4A5D006451C7 = { 699 | CreatedOnToolsVersion = 8.2.1; 700 | ProvisioningStyle = Automatic; 701 | }; 702 | 2D02E48F1E0B4A5D006451C7 = { 703 | CreatedOnToolsVersion = 8.2.1; 704 | ProvisioningStyle = Automatic; 705 | TestTargetID = 2D02E47A1E0B4A5D006451C7; 706 | }; 707 | }; 708 | }; 709 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "myMapApp" */; 710 | compatibilityVersion = "Xcode 3.2"; 711 | developmentRegion = English; 712 | hasScannedForEncodings = 0; 713 | knownRegions = ( 714 | en, 715 | Base, 716 | ); 717 | mainGroup = 83CBB9F61A601CBA00E9B192; 718 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 719 | projectDirPath = ""; 720 | projectReferences = ( 721 | { 722 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 723 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 724 | }, 725 | { 726 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */; 727 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 728 | }, 729 | { 730 | ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */; 731 | ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 732 | }, 733 | { 734 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 735 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 736 | }, 737 | { 738 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 739 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 740 | }, 741 | { 742 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 743 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 744 | }, 745 | { 746 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 747 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 748 | }, 749 | { 750 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 751 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 752 | }, 753 | { 754 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 755 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 756 | }, 757 | { 758 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 759 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 760 | }, 761 | { 762 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 763 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 764 | }, 765 | { 766 | ProductGroup = 146834001AC3E56700842450 /* Products */; 767 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 768 | }, 769 | ); 770 | projectRoot = ""; 771 | targets = ( 772 | 13B07F861A680F5B00A75B9A /* myMapApp */, 773 | 00E356ED1AD99517003FC87E /* myMapAppTests */, 774 | 2D02E47A1E0B4A5D006451C7 /* myMapApp-tvOS */, 775 | 2D02E48F1E0B4A5D006451C7 /* myMapApp-tvOSTests */, 776 | ); 777 | }; 778 | /* End PBXProject section */ 779 | 780 | /* Begin PBXReferenceProxy section */ 781 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 782 | isa = PBXReferenceProxy; 783 | fileType = archive.ar; 784 | path = libRCTActionSheet.a; 785 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 786 | sourceTree = BUILT_PRODUCTS_DIR; 787 | }; 788 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 789 | isa = PBXReferenceProxy; 790 | fileType = archive.ar; 791 | path = libRCTGeolocation.a; 792 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 793 | sourceTree = BUILT_PRODUCTS_DIR; 794 | }; 795 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 796 | isa = PBXReferenceProxy; 797 | fileType = archive.ar; 798 | path = libRCTImage.a; 799 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 800 | sourceTree = BUILT_PRODUCTS_DIR; 801 | }; 802 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 803 | isa = PBXReferenceProxy; 804 | fileType = archive.ar; 805 | path = libRCTNetwork.a; 806 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 807 | sourceTree = BUILT_PRODUCTS_DIR; 808 | }; 809 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 810 | isa = PBXReferenceProxy; 811 | fileType = archive.ar; 812 | path = libRCTVibration.a; 813 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 814 | sourceTree = BUILT_PRODUCTS_DIR; 815 | }; 816 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 817 | isa = PBXReferenceProxy; 818 | fileType = archive.ar; 819 | path = libRCTSettings.a; 820 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 821 | sourceTree = BUILT_PRODUCTS_DIR; 822 | }; 823 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 824 | isa = PBXReferenceProxy; 825 | fileType = archive.ar; 826 | path = libRCTWebSocket.a; 827 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 828 | sourceTree = BUILT_PRODUCTS_DIR; 829 | }; 830 | 146834041AC3E56700842450 /* libReact.a */ = { 831 | isa = PBXReferenceProxy; 832 | fileType = archive.ar; 833 | path = libReact.a; 834 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 835 | sourceTree = BUILT_PRODUCTS_DIR; 836 | }; 837 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */ = { 838 | isa = PBXReferenceProxy; 839 | fileType = archive.ar; 840 | path = "libRCTBlob-tvOS.a"; 841 | remoteRef = 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */; 842 | sourceTree = BUILT_PRODUCTS_DIR; 843 | }; 844 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */ = { 845 | isa = PBXReferenceProxy; 846 | fileType = archive.ar; 847 | path = libfishhook.a; 848 | remoteRef = 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */; 849 | sourceTree = BUILT_PRODUCTS_DIR; 850 | }; 851 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */ = { 852 | isa = PBXReferenceProxy; 853 | fileType = archive.ar; 854 | path = "libfishhook-tvOS.a"; 855 | remoteRef = 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */; 856 | sourceTree = BUILT_PRODUCTS_DIR; 857 | }; 858 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */ = { 859 | isa = PBXReferenceProxy; 860 | fileType = archive.ar; 861 | path = libjsinspector.a; 862 | remoteRef = 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */; 863 | sourceTree = BUILT_PRODUCTS_DIR; 864 | }; 865 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */ = { 866 | isa = PBXReferenceProxy; 867 | fileType = archive.ar; 868 | path = "libjsinspector-tvOS.a"; 869 | remoteRef = 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */; 870 | sourceTree = BUILT_PRODUCTS_DIR; 871 | }; 872 | 2DF0FFE32056DD460020B375 /* libthird-party.a */ = { 873 | isa = PBXReferenceProxy; 874 | fileType = archive.ar; 875 | path = "libthird-party.a"; 876 | remoteRef = 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */; 877 | sourceTree = BUILT_PRODUCTS_DIR; 878 | }; 879 | 2DF0FFE52056DD460020B375 /* libthird-party.a */ = { 880 | isa = PBXReferenceProxy; 881 | fileType = archive.ar; 882 | path = "libthird-party.a"; 883 | remoteRef = 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */; 884 | sourceTree = BUILT_PRODUCTS_DIR; 885 | }; 886 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */ = { 887 | isa = PBXReferenceProxy; 888 | fileType = archive.ar; 889 | path = "libdouble-conversion.a"; 890 | remoteRef = 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */; 891 | sourceTree = BUILT_PRODUCTS_DIR; 892 | }; 893 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */ = { 894 | isa = PBXReferenceProxy; 895 | fileType = archive.ar; 896 | path = "libdouble-conversion.a"; 897 | remoteRef = 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */; 898 | sourceTree = BUILT_PRODUCTS_DIR; 899 | }; 900 | 2DF0FFEB2056DD460020B375 /* libprivatedata.a */ = { 901 | isa = PBXReferenceProxy; 902 | fileType = archive.ar; 903 | path = libprivatedata.a; 904 | remoteRef = 2DF0FFEA2056DD460020B375 /* PBXContainerItemProxy */; 905 | sourceTree = BUILT_PRODUCTS_DIR; 906 | }; 907 | 2DF0FFED2056DD460020B375 /* libprivatedata-tvOS.a */ = { 908 | isa = PBXReferenceProxy; 909 | fileType = archive.ar; 910 | path = "libprivatedata-tvOS.a"; 911 | remoteRef = 2DF0FFEC2056DD460020B375 /* PBXContainerItemProxy */; 912 | sourceTree = BUILT_PRODUCTS_DIR; 913 | }; 914 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { 915 | isa = PBXReferenceProxy; 916 | fileType = archive.ar; 917 | path = "libRCTImage-tvOS.a"; 918 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */; 919 | sourceTree = BUILT_PRODUCTS_DIR; 920 | }; 921 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = { 922 | isa = PBXReferenceProxy; 923 | fileType = archive.ar; 924 | path = "libRCTLinking-tvOS.a"; 925 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */; 926 | sourceTree = BUILT_PRODUCTS_DIR; 927 | }; 928 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = { 929 | isa = PBXReferenceProxy; 930 | fileType = archive.ar; 931 | path = "libRCTNetwork-tvOS.a"; 932 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */; 933 | sourceTree = BUILT_PRODUCTS_DIR; 934 | }; 935 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = { 936 | isa = PBXReferenceProxy; 937 | fileType = archive.ar; 938 | path = "libRCTSettings-tvOS.a"; 939 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */; 940 | sourceTree = BUILT_PRODUCTS_DIR; 941 | }; 942 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = { 943 | isa = PBXReferenceProxy; 944 | fileType = archive.ar; 945 | path = "libRCTText-tvOS.a"; 946 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */; 947 | sourceTree = BUILT_PRODUCTS_DIR; 948 | }; 949 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = { 950 | isa = PBXReferenceProxy; 951 | fileType = archive.ar; 952 | path = "libRCTWebSocket-tvOS.a"; 953 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; 954 | sourceTree = BUILT_PRODUCTS_DIR; 955 | }; 956 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = { 957 | isa = PBXReferenceProxy; 958 | fileType = archive.ar; 959 | path = libReact.a; 960 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; 961 | sourceTree = BUILT_PRODUCTS_DIR; 962 | }; 963 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = { 964 | isa = PBXReferenceProxy; 965 | fileType = archive.ar; 966 | path = libyoga.a; 967 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */; 968 | sourceTree = BUILT_PRODUCTS_DIR; 969 | }; 970 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = { 971 | isa = PBXReferenceProxy; 972 | fileType = archive.ar; 973 | path = libyoga.a; 974 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */; 975 | sourceTree = BUILT_PRODUCTS_DIR; 976 | }; 977 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = { 978 | isa = PBXReferenceProxy; 979 | fileType = archive.ar; 980 | path = libcxxreact.a; 981 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */; 982 | sourceTree = BUILT_PRODUCTS_DIR; 983 | }; 984 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = { 985 | isa = PBXReferenceProxy; 986 | fileType = archive.ar; 987 | path = libcxxreact.a; 988 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; 989 | sourceTree = BUILT_PRODUCTS_DIR; 990 | }; 991 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = { 992 | isa = PBXReferenceProxy; 993 | fileType = archive.ar; 994 | path = libjschelpers.a; 995 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */; 996 | sourceTree = BUILT_PRODUCTS_DIR; 997 | }; 998 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = { 999 | isa = PBXReferenceProxy; 1000 | fileType = archive.ar; 1001 | path = libjschelpers.a; 1002 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */; 1003 | sourceTree = BUILT_PRODUCTS_DIR; 1004 | }; 1005 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 1006 | isa = PBXReferenceProxy; 1007 | fileType = archive.ar; 1008 | path = libRCTAnimation.a; 1009 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 1010 | sourceTree = BUILT_PRODUCTS_DIR; 1011 | }; 1012 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 1013 | isa = PBXReferenceProxy; 1014 | fileType = archive.ar; 1015 | path = libRCTAnimation.a; 1016 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 1017 | sourceTree = BUILT_PRODUCTS_DIR; 1018 | }; 1019 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 1020 | isa = PBXReferenceProxy; 1021 | fileType = archive.ar; 1022 | path = libRCTLinking.a; 1023 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 1024 | sourceTree = BUILT_PRODUCTS_DIR; 1025 | }; 1026 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 1027 | isa = PBXReferenceProxy; 1028 | fileType = archive.ar; 1029 | path = libRCTText.a; 1030 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 1031 | sourceTree = BUILT_PRODUCTS_DIR; 1032 | }; 1033 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = { 1034 | isa = PBXReferenceProxy; 1035 | fileType = archive.ar; 1036 | path = libRCTBlob.a; 1037 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */; 1038 | sourceTree = BUILT_PRODUCTS_DIR; 1039 | }; 1040 | /* End PBXReferenceProxy section */ 1041 | 1042 | /* Begin PBXResourcesBuildPhase section */ 1043 | 00E356EC1AD99517003FC87E /* Resources */ = { 1044 | isa = PBXResourcesBuildPhase; 1045 | buildActionMask = 2147483647; 1046 | files = ( 1047 | ); 1048 | runOnlyForDeploymentPostprocessing = 0; 1049 | }; 1050 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 1051 | isa = PBXResourcesBuildPhase; 1052 | buildActionMask = 2147483647; 1053 | files = ( 1054 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 1055 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 1056 | ); 1057 | runOnlyForDeploymentPostprocessing = 0; 1058 | }; 1059 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 1060 | isa = PBXResourcesBuildPhase; 1061 | buildActionMask = 2147483647; 1062 | files = ( 1063 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, 1064 | ); 1065 | runOnlyForDeploymentPostprocessing = 0; 1066 | }; 1067 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 1068 | isa = PBXResourcesBuildPhase; 1069 | buildActionMask = 2147483647; 1070 | files = ( 1071 | ); 1072 | runOnlyForDeploymentPostprocessing = 0; 1073 | }; 1074 | /* End PBXResourcesBuildPhase section */ 1075 | 1076 | /* Begin PBXShellScriptBuildPhase section */ 1077 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 1078 | isa = PBXShellScriptBuildPhase; 1079 | buildActionMask = 2147483647; 1080 | files = ( 1081 | ); 1082 | inputPaths = ( 1083 | ); 1084 | name = "Bundle React Native code and images"; 1085 | outputPaths = ( 1086 | ); 1087 | runOnlyForDeploymentPostprocessing = 0; 1088 | shellPath = /bin/sh; 1089 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1090 | }; 1091 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 1092 | isa = PBXShellScriptBuildPhase; 1093 | buildActionMask = 2147483647; 1094 | files = ( 1095 | ); 1096 | inputPaths = ( 1097 | ); 1098 | name = "Bundle React Native Code And Images"; 1099 | outputPaths = ( 1100 | ); 1101 | runOnlyForDeploymentPostprocessing = 0; 1102 | shellPath = /bin/sh; 1103 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 1104 | }; 1105 | /* End PBXShellScriptBuildPhase section */ 1106 | 1107 | /* Begin PBXSourcesBuildPhase section */ 1108 | 00E356EA1AD99517003FC87E /* Sources */ = { 1109 | isa = PBXSourcesBuildPhase; 1110 | buildActionMask = 2147483647; 1111 | files = ( 1112 | 00E356F31AD99517003FC87E /* myMapAppTests.m in Sources */, 1113 | ); 1114 | runOnlyForDeploymentPostprocessing = 0; 1115 | }; 1116 | 13B07F871A680F5B00A75B9A /* Sources */ = { 1117 | isa = PBXSourcesBuildPhase; 1118 | buildActionMask = 2147483647; 1119 | files = ( 1120 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 1121 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 1122 | ); 1123 | runOnlyForDeploymentPostprocessing = 0; 1124 | }; 1125 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 1126 | isa = PBXSourcesBuildPhase; 1127 | buildActionMask = 2147483647; 1128 | files = ( 1129 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 1130 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 1131 | ); 1132 | runOnlyForDeploymentPostprocessing = 0; 1133 | }; 1134 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 1135 | isa = PBXSourcesBuildPhase; 1136 | buildActionMask = 2147483647; 1137 | files = ( 1138 | 2DCD954D1E0B4F2C00145EB5 /* myMapAppTests.m in Sources */, 1139 | ); 1140 | runOnlyForDeploymentPostprocessing = 0; 1141 | }; 1142 | /* End PBXSourcesBuildPhase section */ 1143 | 1144 | /* Begin PBXTargetDependency section */ 1145 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 1146 | isa = PBXTargetDependency; 1147 | target = 13B07F861A680F5B00A75B9A /* myMapApp */; 1148 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 1149 | }; 1150 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 1151 | isa = PBXTargetDependency; 1152 | target = 2D02E47A1E0B4A5D006451C7 /* myMapApp-tvOS */; 1153 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 1154 | }; 1155 | /* End PBXTargetDependency section */ 1156 | 1157 | /* Begin PBXVariantGroup section */ 1158 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 1159 | isa = PBXVariantGroup; 1160 | children = ( 1161 | 13B07FB21A68108700A75B9A /* Base */, 1162 | ); 1163 | name = LaunchScreen.xib; 1164 | path = myMapApp; 1165 | sourceTree = ""; 1166 | }; 1167 | /* End PBXVariantGroup section */ 1168 | 1169 | /* Begin XCBuildConfiguration section */ 1170 | 00E356F61AD99517003FC87E /* Debug */ = { 1171 | isa = XCBuildConfiguration; 1172 | buildSettings = { 1173 | BUNDLE_LOADER = "$(TEST_HOST)"; 1174 | GCC_PREPROCESSOR_DEFINITIONS = ( 1175 | "DEBUG=1", 1176 | "$(inherited)", 1177 | ); 1178 | INFOPLIST_FILE = myMapAppTests/Info.plist; 1179 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1180 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1181 | OTHER_LDFLAGS = ( 1182 | "-ObjC", 1183 | "-lc++", 1184 | ); 1185 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1186 | PRODUCT_NAME = "$(TARGET_NAME)"; 1187 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/myMapApp.app/myMapApp"; 1188 | LIBRARY_SEARCH_PATHS = ( 1189 | "$(inherited)", 1190 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1191 | ); 1192 | HEADER_SEARCH_PATHS = ( 1193 | "$(inherited)", 1194 | "$(SRCROOT)/../node_modules/react-native-maps/lib/ios/**", 1195 | ); 1196 | }; 1197 | name = Debug; 1198 | }; 1199 | 00E356F71AD99517003FC87E /* Release */ = { 1200 | isa = XCBuildConfiguration; 1201 | buildSettings = { 1202 | BUNDLE_LOADER = "$(TEST_HOST)"; 1203 | COPY_PHASE_STRIP = NO; 1204 | INFOPLIST_FILE = myMapAppTests/Info.plist; 1205 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1206 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1207 | OTHER_LDFLAGS = ( 1208 | "-ObjC", 1209 | "-lc++", 1210 | ); 1211 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1212 | PRODUCT_NAME = "$(TARGET_NAME)"; 1213 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/myMapApp.app/myMapApp"; 1214 | LIBRARY_SEARCH_PATHS = ( 1215 | "$(inherited)", 1216 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1217 | ); 1218 | HEADER_SEARCH_PATHS = ( 1219 | "$(inherited)", 1220 | "$(SRCROOT)/../node_modules/react-native-maps/lib/ios/**", 1221 | ); 1222 | }; 1223 | name = Release; 1224 | }; 1225 | 13B07F941A680F5B00A75B9A /* Debug */ = { 1226 | isa = XCBuildConfiguration; 1227 | buildSettings = { 1228 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1229 | CURRENT_PROJECT_VERSION = 1; 1230 | DEAD_CODE_STRIPPING = NO; 1231 | INFOPLIST_FILE = myMapApp/Info.plist; 1232 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1233 | OTHER_LDFLAGS = ( 1234 | "$(inherited)", 1235 | "-ObjC", 1236 | "-lc++", 1237 | ); 1238 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1239 | PRODUCT_NAME = myMapApp; 1240 | VERSIONING_SYSTEM = "apple-generic"; 1241 | HEADER_SEARCH_PATHS = ( 1242 | "$(inherited)", 1243 | "$(SRCROOT)/../node_modules/react-native-maps/lib/ios/**", 1244 | ); 1245 | }; 1246 | name = Debug; 1247 | }; 1248 | 13B07F951A680F5B00A75B9A /* Release */ = { 1249 | isa = XCBuildConfiguration; 1250 | buildSettings = { 1251 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1252 | CURRENT_PROJECT_VERSION = 1; 1253 | INFOPLIST_FILE = myMapApp/Info.plist; 1254 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1255 | OTHER_LDFLAGS = ( 1256 | "$(inherited)", 1257 | "-ObjC", 1258 | "-lc++", 1259 | ); 1260 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 1261 | PRODUCT_NAME = myMapApp; 1262 | VERSIONING_SYSTEM = "apple-generic"; 1263 | HEADER_SEARCH_PATHS = ( 1264 | "$(inherited)", 1265 | "$(SRCROOT)/../node_modules/react-native-maps/lib/ios/**", 1266 | ); 1267 | }; 1268 | name = Release; 1269 | }; 1270 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 1271 | isa = XCBuildConfiguration; 1272 | buildSettings = { 1273 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1274 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1275 | CLANG_ANALYZER_NONNULL = YES; 1276 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1277 | CLANG_WARN_INFINITE_RECURSION = YES; 1278 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1279 | DEBUG_INFORMATION_FORMAT = dwarf; 1280 | ENABLE_TESTABILITY = YES; 1281 | GCC_NO_COMMON_BLOCKS = YES; 1282 | INFOPLIST_FILE = "myMapApp-tvOS/Info.plist"; 1283 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1284 | OTHER_LDFLAGS = ( 1285 | "-ObjC", 1286 | "-lc++", 1287 | ); 1288 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.myMapApp-tvOS"; 1289 | PRODUCT_NAME = "$(TARGET_NAME)"; 1290 | SDKROOT = appletvos; 1291 | TARGETED_DEVICE_FAMILY = 3; 1292 | TVOS_DEPLOYMENT_TARGET = 9.2; 1293 | LIBRARY_SEARCH_PATHS = ( 1294 | "$(inherited)", 1295 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1296 | ); 1297 | HEADER_SEARCH_PATHS = ( 1298 | "$(inherited)", 1299 | "$(SRCROOT)/../node_modules/react-native-maps/lib/ios/**", 1300 | ); 1301 | }; 1302 | name = Debug; 1303 | }; 1304 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 1305 | isa = XCBuildConfiguration; 1306 | buildSettings = { 1307 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1308 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1309 | CLANG_ANALYZER_NONNULL = YES; 1310 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1311 | CLANG_WARN_INFINITE_RECURSION = YES; 1312 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1313 | COPY_PHASE_STRIP = NO; 1314 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1315 | GCC_NO_COMMON_BLOCKS = YES; 1316 | INFOPLIST_FILE = "myMapApp-tvOS/Info.plist"; 1317 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1318 | OTHER_LDFLAGS = ( 1319 | "-ObjC", 1320 | "-lc++", 1321 | ); 1322 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.myMapApp-tvOS"; 1323 | PRODUCT_NAME = "$(TARGET_NAME)"; 1324 | SDKROOT = appletvos; 1325 | TARGETED_DEVICE_FAMILY = 3; 1326 | TVOS_DEPLOYMENT_TARGET = 9.2; 1327 | LIBRARY_SEARCH_PATHS = ( 1328 | "$(inherited)", 1329 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1330 | ); 1331 | HEADER_SEARCH_PATHS = ( 1332 | "$(inherited)", 1333 | "$(SRCROOT)/../node_modules/react-native-maps/lib/ios/**", 1334 | ); 1335 | }; 1336 | name = Release; 1337 | }; 1338 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 1339 | isa = XCBuildConfiguration; 1340 | buildSettings = { 1341 | BUNDLE_LOADER = "$(TEST_HOST)"; 1342 | CLANG_ANALYZER_NONNULL = YES; 1343 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1344 | CLANG_WARN_INFINITE_RECURSION = YES; 1345 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1346 | DEBUG_INFORMATION_FORMAT = dwarf; 1347 | ENABLE_TESTABILITY = YES; 1348 | GCC_NO_COMMON_BLOCKS = YES; 1349 | INFOPLIST_FILE = "myMapApp-tvOSTests/Info.plist"; 1350 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1351 | OTHER_LDFLAGS = ( 1352 | "-ObjC", 1353 | "-lc++", 1354 | ); 1355 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.myMapApp-tvOSTests"; 1356 | PRODUCT_NAME = "$(TARGET_NAME)"; 1357 | SDKROOT = appletvos; 1358 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/myMapApp-tvOS.app/myMapApp-tvOS"; 1359 | TVOS_DEPLOYMENT_TARGET = 10.1; 1360 | LIBRARY_SEARCH_PATHS = ( 1361 | "$(inherited)", 1362 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1363 | ); 1364 | HEADER_SEARCH_PATHS = ( 1365 | "$(inherited)", 1366 | "$(SRCROOT)/../node_modules/react-native-maps/lib/ios/**", 1367 | ); 1368 | }; 1369 | name = Debug; 1370 | }; 1371 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 1372 | isa = XCBuildConfiguration; 1373 | buildSettings = { 1374 | BUNDLE_LOADER = "$(TEST_HOST)"; 1375 | CLANG_ANALYZER_NONNULL = YES; 1376 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1377 | CLANG_WARN_INFINITE_RECURSION = YES; 1378 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1379 | COPY_PHASE_STRIP = NO; 1380 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1381 | GCC_NO_COMMON_BLOCKS = YES; 1382 | INFOPLIST_FILE = "myMapApp-tvOSTests/Info.plist"; 1383 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1384 | OTHER_LDFLAGS = ( 1385 | "-ObjC", 1386 | "-lc++", 1387 | ); 1388 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.myMapApp-tvOSTests"; 1389 | PRODUCT_NAME = "$(TARGET_NAME)"; 1390 | SDKROOT = appletvos; 1391 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/myMapApp-tvOS.app/myMapApp-tvOS"; 1392 | TVOS_DEPLOYMENT_TARGET = 10.1; 1393 | LIBRARY_SEARCH_PATHS = ( 1394 | "$(inherited)", 1395 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1396 | ); 1397 | HEADER_SEARCH_PATHS = ( 1398 | "$(inherited)", 1399 | "$(SRCROOT)/../node_modules/react-native-maps/lib/ios/**", 1400 | ); 1401 | }; 1402 | name = Release; 1403 | }; 1404 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 1405 | isa = XCBuildConfiguration; 1406 | buildSettings = { 1407 | ALWAYS_SEARCH_USER_PATHS = NO; 1408 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1409 | CLANG_CXX_LIBRARY = "libc++"; 1410 | CLANG_ENABLE_MODULES = YES; 1411 | CLANG_ENABLE_OBJC_ARC = YES; 1412 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 1413 | CLANG_WARN_BOOL_CONVERSION = YES; 1414 | CLANG_WARN_COMMA = YES; 1415 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1416 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 1417 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1418 | CLANG_WARN_EMPTY_BODY = YES; 1419 | CLANG_WARN_ENUM_CONVERSION = YES; 1420 | CLANG_WARN_INFINITE_RECURSION = YES; 1421 | CLANG_WARN_INT_CONVERSION = YES; 1422 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 1423 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 1424 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 1425 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1426 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 1427 | CLANG_WARN_STRICT_PROTOTYPES = YES; 1428 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1429 | CLANG_WARN_UNREACHABLE_CODE = YES; 1430 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1431 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1432 | COPY_PHASE_STRIP = NO; 1433 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1434 | ENABLE_TESTABILITY = YES; 1435 | GCC_C_LANGUAGE_STANDARD = gnu99; 1436 | GCC_DYNAMIC_NO_PIC = NO; 1437 | GCC_NO_COMMON_BLOCKS = YES; 1438 | GCC_OPTIMIZATION_LEVEL = 0; 1439 | GCC_PREPROCESSOR_DEFINITIONS = ( 1440 | "DEBUG=1", 1441 | "$(inherited)", 1442 | ); 1443 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1444 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1445 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1446 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1447 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1448 | GCC_WARN_UNUSED_FUNCTION = YES; 1449 | GCC_WARN_UNUSED_VARIABLE = YES; 1450 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1451 | MTL_ENABLE_DEBUG_INFO = YES; 1452 | ONLY_ACTIVE_ARCH = YES; 1453 | SDKROOT = iphoneos; 1454 | }; 1455 | name = Debug; 1456 | }; 1457 | 83CBBA211A601CBA00E9B192 /* Release */ = { 1458 | isa = XCBuildConfiguration; 1459 | buildSettings = { 1460 | ALWAYS_SEARCH_USER_PATHS = NO; 1461 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1462 | CLANG_CXX_LIBRARY = "libc++"; 1463 | CLANG_ENABLE_MODULES = YES; 1464 | CLANG_ENABLE_OBJC_ARC = YES; 1465 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 1466 | CLANG_WARN_BOOL_CONVERSION = YES; 1467 | CLANG_WARN_COMMA = YES; 1468 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1469 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 1470 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1471 | CLANG_WARN_EMPTY_BODY = YES; 1472 | CLANG_WARN_ENUM_CONVERSION = YES; 1473 | CLANG_WARN_INFINITE_RECURSION = YES; 1474 | CLANG_WARN_INT_CONVERSION = YES; 1475 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 1476 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 1477 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 1478 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1479 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 1480 | CLANG_WARN_STRICT_PROTOTYPES = YES; 1481 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1482 | CLANG_WARN_UNREACHABLE_CODE = YES; 1483 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1484 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1485 | COPY_PHASE_STRIP = YES; 1486 | ENABLE_NS_ASSERTIONS = NO; 1487 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1488 | GCC_C_LANGUAGE_STANDARD = gnu99; 1489 | GCC_NO_COMMON_BLOCKS = YES; 1490 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1491 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1492 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1493 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1494 | GCC_WARN_UNUSED_FUNCTION = YES; 1495 | GCC_WARN_UNUSED_VARIABLE = YES; 1496 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1497 | MTL_ENABLE_DEBUG_INFO = NO; 1498 | SDKROOT = iphoneos; 1499 | VALIDATE_PRODUCT = YES; 1500 | }; 1501 | name = Release; 1502 | }; 1503 | /* End XCBuildConfiguration section */ 1504 | 1505 | /* Begin XCConfigurationList section */ 1506 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "myMapAppTests" */ = { 1507 | isa = XCConfigurationList; 1508 | buildConfigurations = ( 1509 | 00E356F61AD99517003FC87E /* Debug */, 1510 | 00E356F71AD99517003FC87E /* Release */, 1511 | ); 1512 | defaultConfigurationIsVisible = 0; 1513 | defaultConfigurationName = Release; 1514 | }; 1515 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "myMapApp" */ = { 1516 | isa = XCConfigurationList; 1517 | buildConfigurations = ( 1518 | 13B07F941A680F5B00A75B9A /* Debug */, 1519 | 13B07F951A680F5B00A75B9A /* Release */, 1520 | ); 1521 | defaultConfigurationIsVisible = 0; 1522 | defaultConfigurationName = Release; 1523 | }; 1524 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "myMapApp-tvOS" */ = { 1525 | isa = XCConfigurationList; 1526 | buildConfigurations = ( 1527 | 2D02E4971E0B4A5E006451C7 /* Debug */, 1528 | 2D02E4981E0B4A5E006451C7 /* Release */, 1529 | ); 1530 | defaultConfigurationIsVisible = 0; 1531 | defaultConfigurationName = Release; 1532 | }; 1533 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "myMapApp-tvOSTests" */ = { 1534 | isa = XCConfigurationList; 1535 | buildConfigurations = ( 1536 | 2D02E4991E0B4A5E006451C7 /* Debug */, 1537 | 2D02E49A1E0B4A5E006451C7 /* Release */, 1538 | ); 1539 | defaultConfigurationIsVisible = 0; 1540 | defaultConfigurationName = Release; 1541 | }; 1542 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "myMapApp" */ = { 1543 | isa = XCConfigurationList; 1544 | buildConfigurations = ( 1545 | 83CBBA201A601CBA00E9B192 /* Debug */, 1546 | 83CBBA211A601CBA00E9B192 /* Release */, 1547 | ); 1548 | defaultConfigurationIsVisible = 0; 1549 | defaultConfigurationName = Release; 1550 | }; 1551 | /* End XCConfigurationList section */ 1552 | }; 1553 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1554 | } 1555 | -------------------------------------------------------------------------------- /ios/myMapApp.xcodeproj/xcshareddata/xcschemes/myMapApp-tvOS.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 43 | 49 | 50 | 51 | 52 | 53 | 58 | 59 | 61 | 67 | 68 | 69 | 70 | 71 | 77 | 78 | 79 | 80 | 81 | 82 | 92 | 94 | 100 | 101 | 102 | 103 | 104 | 105 | 111 | 113 | 119 | 120 | 121 | 122 | 124 | 125 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /ios/myMapApp.xcodeproj/xcshareddata/xcschemes/myMapApp.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 43 | 49 | 50 | 51 | 52 | 53 | 58 | 59 | 61 | 67 | 68 | 69 | 70 | 71 | 77 | 78 | 79 | 80 | 81 | 82 | 92 | 94 | 100 | 101 | 102 | 103 | 104 | 105 | 111 | 113 | 119 | 120 | 121 | 122 | 124 | 125 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /ios/myMapApp/AppDelegate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | 10 | @interface AppDelegate : UIResponder 11 | 12 | @property (nonatomic, strong) UIWindow *window; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /ios/myMapApp/AppDelegate.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import "AppDelegate.h" 9 | 10 | #import 11 | #import 12 | 13 | @implementation AppDelegate 14 | 15 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 16 | { 17 | NSURL *jsCodeLocation; 18 | 19 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; 20 | 21 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation 22 | moduleName:@"myMapApp" 23 | initialProperties:nil 24 | launchOptions:launchOptions]; 25 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; 26 | 27 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 28 | UIViewController *rootViewController = [UIViewController new]; 29 | rootViewController.view = rootView; 30 | self.window.rootViewController = rootViewController; 31 | [self.window makeKeyAndVisible]; 32 | return YES; 33 | } 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /ios/myMapApp/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 21 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /ios/myMapApp/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /ios/myMapApp/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ios/myMapApp/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | myMapApp 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | LSRequiresIPhoneOS 26 | 27 | NSLocationWhenInUseUsageDescription 28 | 29 | UILaunchStoryboardName 30 | LaunchScreen 31 | UIRequiredDeviceCapabilities 32 | 33 | armv7 34 | 35 | UISupportedInterfaceOrientations 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationLandscapeLeft 39 | UIInterfaceOrientationLandscapeRight 40 | 41 | UIViewControllerBasedStatusBarAppearance 42 | 43 | NSLocationWhenInUseUsageDescription 44 | 45 | NSAppTransportSecurity 46 | 47 | 48 | NSAllowsArbitraryLoads 49 | 50 | NSExceptionDomains 51 | 52 | localhost 53 | 54 | NSExceptionAllowsInsecureHTTPLoads 55 | 56 | 57 | 58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /ios/myMapApp/main.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /ios/myMapAppTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /ios/myMapAppTests/myMapAppTests.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | #import 10 | 11 | #import 12 | #import 13 | 14 | #define TIMEOUT_SECONDS 600 15 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!" 16 | 17 | @interface myMapAppTests : XCTestCase 18 | 19 | @end 20 | 21 | @implementation myMapAppTests 22 | 23 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test 24 | { 25 | if (test(view)) { 26 | return YES; 27 | } 28 | for (UIView *subview in [view subviews]) { 29 | if ([self findSubviewInView:subview matching:test]) { 30 | return YES; 31 | } 32 | } 33 | return NO; 34 | } 35 | 36 | - (void)testRendersWelcomeScreen 37 | { 38 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController]; 39 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; 40 | BOOL foundElement = NO; 41 | 42 | __block NSString *redboxError = nil; 43 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { 44 | if (level >= RCTLogLevelError) { 45 | redboxError = message; 46 | } 47 | }); 48 | 49 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { 50 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 51 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 52 | 53 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) { 54 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { 55 | return YES; 56 | } 57 | return NO; 58 | }]; 59 | } 60 | 61 | RCTSetLogFunction(RCTDefaultLogFunction); 62 | 63 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); 64 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); 65 | } 66 | 67 | 68 | @end 69 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "myMapApp", 3 | "version": "0.0.1", 4 | "private": true, 5 | "scripts": { 6 | "start": "node node_modules/react-native/local-cli/cli.js start", 7 | "test": "jest" 8 | }, 9 | "dependencies": { 10 | "@babel/runtime": "^7.1.2", 11 | "geolib": "^2.0.24", 12 | "react": "16.5.0", 13 | "react-native": "0.57.1", 14 | "react-native-linear-gradient": "^2.4.2", 15 | "react-native-maps": "^0.21.0", 16 | "react-native-maps-directions": "^1.6.0" 17 | }, 18 | "devDependencies": { 19 | "babel-jest": "23.6.0", 20 | "jest": "23.6.0", 21 | "metro-react-native-babel-preset": "0.47.0", 22 | "react-test-renderer": "16.5.0" 23 | }, 24 | "jest": { 25 | "preset": "react-native" 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /screenshot/preview.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mindinventory/Map-interaction-prototype/285a96ff3e4351ec93491af13aad9e6377d58c55/screenshot/preview.gif --------------------------------------------------------------------------------