├── .eslintrc
├── .gitignore
├── .npmignore
├── LICENSE.md
├── README.md
├── RNStoreLocatorExample
├── .babelrc
├── .buckconfig
├── .flowconfig
├── .gitattributes
├── .gitignore
├── .watchmanconfig
├── __tests__
│ └── App.js
├── android
│ ├── app
│ │ ├── BUCK
│ │ ├── build.gradle
│ │ ├── proguard-rules.pro
│ │ └── src
│ │ │ └── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── assets
│ │ │ └── fonts
│ │ │ │ ├── Entypo.ttf
│ │ │ │ ├── EvilIcons.ttf
│ │ │ │ ├── Feather.ttf
│ │ │ │ ├── FontAwesome.ttf
│ │ │ │ ├── Foundation.ttf
│ │ │ │ ├── Ionicons.ttf
│ │ │ │ ├── MaterialCommunityIcons.ttf
│ │ │ │ ├── MaterialIcons.ttf
│ │ │ │ ├── Octicons.ttf
│ │ │ │ ├── SimpleLineIcons.ttf
│ │ │ │ └── Zocial.ttf
│ │ │ ├── java
│ │ │ └── com
│ │ │ │ └── rnstorelocatorexample
│ │ │ │ ├── MainActivity.java
│ │ │ │ └── MainApplication.java
│ │ │ └── res
│ │ │ ├── mipmap-hdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-mdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ └── ic_launcher.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
├── assets
│ ├── bicycle_icon.png
│ ├── blue_button_image.png
│ ├── blue_selected_burger.png
│ ├── blue_selected_house.png
│ ├── blue_selected_ice_cream.png
│ ├── blue_selected_money.png
│ ├── blue_unselected_burger.png
│ ├── blue_unselected_house.png
│ ├── blue_unselected_ice_cream.png
│ ├── blue_unselected_money.png
│ ├── cheese_burger_icon.png
│ ├── gray_button_image.png
│ ├── gray_selected_bike.png
│ ├── gray_selected_house.png
│ ├── green_button_image.png
│ ├── green_selected_money.png
│ ├── green_unselected_money.png
│ ├── house_icon.png
│ ├── ice_cream_icon.png
│ ├── money_bag_icon.png
│ ├── neutral_button_image.png
│ ├── places.json
│ ├── purple_button_image.png
│ ├── purple_selected_burger.png
│ ├── purple_selected_house.png
│ ├── purple_selected_ice_cream.png
│ ├── purple_selected_money.png
│ ├── purple_unselected_burger.png
│ ├── purple_unselected_house.png
│ ├── purple_unselected_ice_cream.png
│ ├── purple_unselected_money.png
│ ├── white_unselected_bike.png
│ └── white_unselected_house.png
├── index.js
├── ios
│ ├── RNStoreLocatorExample-tvOS
│ │ └── Info.plist
│ ├── RNStoreLocatorExample-tvOSTests
│ │ └── Info.plist
│ ├── RNStoreLocatorExample.xcodeproj
│ │ ├── project.pbxproj
│ │ └── xcshareddata
│ │ │ └── xcschemes
│ │ │ ├── RNStoreLocatorExample-tvOS.xcscheme
│ │ │ └── RNStoreLocatorExample.xcscheme
│ ├── RNStoreLocatorExample
│ │ ├── AppDelegate.h
│ │ ├── AppDelegate.m
│ │ ├── Base.lproj
│ │ │ └── LaunchScreen.xib
│ │ ├── Images.xcassets
│ │ │ ├── AppIcon.appiconset
│ │ │ │ └── Contents.json
│ │ │ └── Contents.json
│ │ ├── Info.plist
│ │ └── main.m
│ └── RNStoreLocatorExampleTests
│ │ ├── Info.plist
│ │ └── RNStoreLocatorExampleTests.m
├── package.json
├── scripts
│ └── npm_pack.sh
├── src
│ ├── App.js
│ └── themes.js
└── srcipts
│ └── npm_pack.sh
├── Store Finder Sketch file.sketch
├── package.json
└── src
├── components
├── Cards.js
├── CurrentLocation.js
├── Directions.js
├── MapView.js
├── Places.js
└── Theme.js
├── enums
└── DirectionType.js
└── index.js
/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "parser": "babel-eslint",
3 | "env": {
4 | "es6": true,
5 | "browser": true,
6 | "jest": true
7 | },
8 | "parserOptions": {
9 | "sourceType": "module",
10 | "ecmaFeatures": {
11 | "jsx": true
12 | }
13 | },
14 | "extends": ["eslint:recommended"],
15 | "plugins": ["react", "import"],
16 | "rules": {
17 | "comma-dangle": ["error", "always-multiline"],
18 | "no-console": ["error", { allow: ["warn", "error"] }],
19 | "semi": ["error", "always"],
20 | "space-before-function-paren": ["error", "always"],
21 |
22 | "react/jsx-no-duplicate-props": ["error"],
23 | "react/jsx-no-undef": ["error"],
24 | "react/jsx-uses-react": ["error"],
25 | "react/jsx-uses-vars": ["error"],
26 | "react/no-danger": ["error"],
27 | "react/no-deprecated": ["error"],
28 | "react/no-direct-mutation-state": ["error"],
29 | "react/no-unknown-property": ["error"],
30 | "react/prefer-es6-class": ["error", "always"],
31 | "react/prop-types": ["error", { ignore: ["children"] }],
32 | "react/react-in-jsx-scope": ["error"],
33 | "react/require-render-return": ["error"],
34 |
35 | "import/default": ["error"],
36 | "import/export": ["error"],
37 | "import/named": ["error"],
38 | "import/newline-after-import": ["error"],
39 | "import/no-duplicates": ["error"],
40 | "import/no-dynamic-require": ["error"],
41 | "import/no-webpack-loader-syntax": ["error"],
42 | "import/prefer-default-export": ["error"]
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/.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 | # project
45 | *.tgz
46 | package-lock.json
47 |
--------------------------------------------------------------------------------
/.npmignore:
--------------------------------------------------------------------------------
1 | *.sketch
2 | *.tgz
3 | RNStoreLocatorExample
4 |
--------------------------------------------------------------------------------
/LICENSE.md:
--------------------------------------------------------------------------------
1 | Copyright © 2017 Mapbox, Inc. You may use this code with your Mapbox account and under the Mapbox Terms of Service (available at: https://www.mapbox.com/tos/). All other rights reserved.
2 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Mapbox React Native Store Locator Kit
2 |
3 | The React Native Locator Kit is a downloadable project for you to add beautiful plug-and-play Store Locators to your React Native applications. Use the Kit to allow your users to find and browse store locations, view additional info for each store, and preview the distance and route to the store. Not building for a store owner or a business? You can use this project to locate anything from bike share hubs to ATMs to your neighborhood parks.
4 |
5 | #### Included in the Kit:
6 | + Source files for the app
7 | + Five UI themes
8 | + A sample dataset in the form of a GeoJSON file
9 | + Code for retrieving directions to store locations with the [Mapbox Directions API](https://www.mapbox.com/help/define-directions-api/)
10 |
11 |
12 | 
13 |
14 |
15 | # What can I customize?
16 |
17 | We built this Kit to cut down on the set-up and development time needed to add a Store Locator into your app. Use our starter themes and features as a plug-and-play solution, or further customize your Store Locator with our flexible build.
18 |
19 | ### Add custom markers
20 |
21 | Use our pre-built markers, or add in your own by creating your own icon, using your company’s logo, or another open source image.
22 |
23 | ### Card icons
24 |
25 | Customize the style of the interactive scrolling cards (i.e. pop-ups) included in your Store Locator.
26 |
27 | ### Bringing your own data
28 |
29 | Add as many store locations as you wish as a GeoJSON file. Remember that you could use this Kit to locate not just stores, but anything else like bike share hubs, ATMs, parks, or even your friends!
30 |
31 | ### Map
32 |
33 | The Kit comes with five UI starter themes, but you can further customize these themes as you see fit. Or create your own custom map styles by using Mapbox Studio to build a style that fits your brand.
34 |
35 | ### Routing profile
36 |
37 | The Kit includes the use of the Mapbox Directions API to display estimated travel distances and display driving routes to store locations. It’s also possible to modify the routing profile to use our cycling or walking directions.
38 |
39 |
40 | # Installation
41 |
42 | Dependencies
43 |
44 | - [node](https://nodejs.org/en/)
45 | - [npm](https://www.npmjs.com/)
46 | - [React Native](https://facebook.github.io/react-native/) >= 0.47.1
47 | - [React Native Mapbox GL](https://github.com/mapbox/react-native-mapbox-gl) >= 6.0.2 or master
48 | - [Prop Types](https://github.com/facebook/prop-types)
49 |
50 | Git
51 |
52 | ```
53 | git clone git@github.com:mapbox/store-locator-react-native-gl.git
54 | cd store-locator-react-native
55 | ```
56 |
57 | Yarn
58 |
59 | ```
60 | yarn add @mapbox/store-locator-react-native
61 | ```
62 |
63 | Npm
64 |
65 | ```
66 | npm install @mapbox/store-locator-react-native --save
67 | ```
68 |
69 | Getting Started
70 |
71 | There are a few steps needed to get up and running.
72 |
73 |
74 | 1. We’ll want to create a JSON dataset to use with the StoreLocatorKit [here is a link to the one in our example application](https://github.com/mapbox/store-locator-react-native/blob/master/RNStoreLocatorExample/assets/places.json). There are some required feature properties needed. The `id`, `name`, `phoneFormatted`, `addressFormatted`, and `hoursFormatted` are all required fields that we use to render the cards on the bottom of the screen.
75 | ```
76 | {
77 | "id": "1",
78 | "type": "Feature",
79 | "geometry": {
80 | "type": "Point",
81 | "coordinates": [
82 | -77.034084142948,
83 | 38.909671288923
84 | ]
85 | },
86 | "properties": {
87 | "name": "Place 1",
88 | "phoneFormatted": "(202) 234-7336",
89 | "addressFormatted": "33 Birchwood Drive, North Arlington",
90 | "hoursFormatted": "10 AM - 9 PM"
91 | }
92 | }
93 | ```
94 |
95 | 2. Next we’ll want to create a theme to use in our application
96 | ```
97 | import MapboxGL from '@mapbox/react-native-mapbox-gl';
98 | import StoreLocatorKit from '@mapbox/store-locator-react-native';
99 |
100 | import reallyCoolIcon from '...';
101 | import evenCoolerIcon from '...';
102 | import ultraCoolIcon from '...';
103 |
104 | export const theme = new StoreLocatorKit.Theme({
105 | icon: reallyCoolIcon,
106 | activeIcon: evenCoolerIcon,
107 | styleURL: MapboxGL.StyleURL.Light,
108 | primaryColor: `#A35BCD`,
109 | primaryDarkColor: '#5D39BA',
110 | directionsLineColor: '#987DDF',
111 | cardIcon: ultraCoolIcon,
112 | cardTextColor: '#6A159B',
113 | accentColor: '#C7A8D9',
114 | });
115 | ```
116 |
117 | 3. Now all we need to do is add the map to our application. We need to do our basic setup with MapboxGL by setting the access token, here is a snippet. You can head over to our [Maps SDK for React Native](https://github.com/mapbox/react-native-mapbox-gl) if you want any more information
118 | ```
119 | async componentWillMount () {
120 | if (!IS_IOS) {
121 | const isGranted = await MapboxGL.requestAndroidLocationPermissions();
122 | this.setState({ isGranted: isGranted });
123 | }
124 | MapboxGL.setAccessToken(MAPBOX_ACCESS_TOKEN);
125 | }
126 | ```
127 |
128 | 4. The last and final step is adding the store locator map to our application.
129 | ```
130 | import places from '...'; // this is the dataset from step one
131 | import { theme } from '...'; // theme from step 2
132 | ...
133 |
134 |
142 | ```
143 |
144 | Example Application
145 |
146 | There is an example application bundle with this repo, to show you a working example of a store locator. Here are the steps needed to get it up and running
147 |
148 | ```
149 | cd RNStoreLocatorExample
150 | npm i
151 | npm start
152 | ```
153 |
154 | Open up [App.js](https://github.com/mapbox/store-locator-react-native/blob/master/RNStoreLocatorExample/src/App.js) in the example application and you should see a message to enter your access token. Just replace this with your access token from Mapbox Studio.
155 |
156 | ```
157 | const MAPBOX_ACCESS_TOKEN = '';
158 | ```
159 |
160 | There are a few ways you can run the project. You can open up Xcode or Android Studio and run them for there (highly recommend to open up the example project in each once) or you can use the React Native CLI
161 |
162 | Android
163 |
164 | ```
165 | react-native run-android
166 | ```
167 |
168 | iOS
169 |
170 | ```
171 | react-native run-ios
172 | ```
173 |
174 | ## What is Mapbox?
175 |
176 | Mapbox is the location data platform for mobile and web applications. We provide [building blocks](https://www.mapbox.com/products/) to add location features like maps, search, and navigation into any experience you create. Use our simple and powerful APIs & SDKs and our open source libraries for interactivity and control.
177 |
178 | ## Sign up for Mapbox
179 |
180 | Not a Mapbox user yet? [Sign up for an account here](https://www.mapbox.com/studio/). Once you’re signed in, all you need to start building is a Mapbox access token. Use this same short code with all of our interactive mapping libraries, Python and JavaScript SDKs, and directly against our REST APIs. You can [create and manage your access tokens in Mapbox Studio](https://www.mapbox.com/studio/account/tokens/).
181 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["react-native"]
3 | }
4 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/.buckconfig:
--------------------------------------------------------------------------------
1 |
2 | [android]
3 | target = Google Inc.:Google APIs:23
4 |
5 | [maven_repositories]
6 | central = https://repo1.maven.org/maven2
7 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/.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 | [include]
20 |
21 | [libs]
22 | node_modules/react-native/Libraries/react-native/react-native-interface.js
23 | node_modules/react-native/flow/
24 |
25 | [options]
26 | emoji=true
27 |
28 | module.system=haste
29 |
30 | munge_underscores=true
31 |
32 | 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'
33 |
34 | suppress_type=$FlowIssue
35 | suppress_type=$FlowFixMe
36 | suppress_type=$FlowFixMeProps
37 | suppress_type=$FlowFixMeState
38 | suppress_type=$FixMe
39 |
40 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(5[0-6]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
41 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(5[0-6]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
42 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
43 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
44 |
45 | unsafe.enable_getters_and_setters=true
46 |
47 | [version]
48 | ^0.56.0
49 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/.gitattributes:
--------------------------------------------------------------------------------
1 | *.pbxproj -text
2 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/.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 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/.watchmanconfig:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/RNStoreLocatorExample/__tests__/App.js:
--------------------------------------------------------------------------------
1 | import 'react-native';
2 | import React from 'react';
3 | import App from '../App';
4 |
5 | // Note: test renderer must be required after react-native.
6 | import renderer from 'react-test-renderer';
7 |
8 | it('renders correctly', () => {
9 | const tree = renderer.create(
10 |
11 | );
12 | });
13 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/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.rnstorelocatorexample",
49 | )
50 |
51 | android_resource(
52 | name = "res",
53 | package = "com.rnstorelocatorexample",
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 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/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 26
98 | buildToolsVersion "26.0.1"
99 |
100 | defaultConfig {
101 | applicationId "com.rnstorelocatorexample"
102 | minSdkVersion 16
103 | targetSdkVersion 26
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 | compile project(':react-native-vector-icons')
141 | compile project(':react-native-linear-gradient')
142 | compile project(':mapbox-react-native-mapbox-gl')
143 | compile fileTree(dir: "libs", include: ["*.jar"])
144 | compile "com.android.support:appcompat-v7:23.0.1"
145 | compile "com.facebook.react:react-native:+" // From node_modules
146 | compile project(':mapbox-react-native-mapbox-gl')
147 | }
148 |
149 | // Run this once to be able to run the application with BUCK
150 | // puts all compile dependencies into folder libs for BUCK to use
151 | task copyDownloadableDepsToLibs(type: Copy) {
152 | from configurations.compile
153 | into 'libs'
154 | }
155 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/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 |
19 | # Disabling obfuscation is useful if you collect stack traces from production crashes
20 | # (unless you are using a system that supports de-obfuscate the stack traces).
21 | -dontobfuscate
22 |
23 | # React Native
24 |
25 | # Keep our interfaces so they can be used by other ProGuard rules.
26 | # See http://sourceforge.net/p/proguard/bugs/466/
27 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip
28 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.KeepGettersAndSetters
29 | -keep,allowobfuscation @interface com.facebook.common.internal.DoNotStrip
30 |
31 | # Do not strip any method/class that is annotated with @DoNotStrip
32 | -keep @com.facebook.proguard.annotations.DoNotStrip class *
33 | -keep @com.facebook.common.internal.DoNotStrip class *
34 | -keepclassmembers class * {
35 | @com.facebook.proguard.annotations.DoNotStrip *;
36 | @com.facebook.common.internal.DoNotStrip *;
37 | }
38 |
39 | -keepclassmembers @com.facebook.proguard.annotations.KeepGettersAndSetters class * {
40 | void set*(***);
41 | *** get*();
42 | }
43 |
44 | -keep class * extends com.facebook.react.bridge.JavaScriptModule { *; }
45 | -keep class * extends com.facebook.react.bridge.NativeModule { *; }
46 | -keepclassmembers,includedescriptorclasses class * { native ; }
47 | -keepclassmembers class * { @com.facebook.react.uimanager.UIProp ; }
48 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactProp ; }
49 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactPropGroup ; }
50 |
51 | -dontwarn com.facebook.react.**
52 |
53 | # TextLayoutBuilder uses a non-public Android constructor within StaticLayout.
54 | # See libs/proxy/src/main/java/com/facebook/fbui/textlayoutbuilder/proxy for details.
55 | -dontwarn android.text.StaticLayout
56 |
57 | # okhttp
58 |
59 | -keepattributes Signature
60 | -keepattributes *Annotation*
61 | -keep class okhttp3.** { *; }
62 | -keep interface okhttp3.** { *; }
63 | -dontwarn okhttp3.**
64 |
65 | # okio
66 |
67 | -keep class sun.misc.Unsafe { *; }
68 | -dontwarn java.nio.file.*
69 | -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
70 | -dontwarn okio.**
71 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
14 |
15 |
21 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/android/app/src/main/assets/fonts/Entypo.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/android/app/src/main/assets/fonts/Entypo.ttf
--------------------------------------------------------------------------------
/RNStoreLocatorExample/android/app/src/main/assets/fonts/EvilIcons.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/android/app/src/main/assets/fonts/EvilIcons.ttf
--------------------------------------------------------------------------------
/RNStoreLocatorExample/android/app/src/main/assets/fonts/Feather.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/android/app/src/main/assets/fonts/Feather.ttf
--------------------------------------------------------------------------------
/RNStoreLocatorExample/android/app/src/main/assets/fonts/FontAwesome.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/android/app/src/main/assets/fonts/FontAwesome.ttf
--------------------------------------------------------------------------------
/RNStoreLocatorExample/android/app/src/main/assets/fonts/Foundation.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/android/app/src/main/assets/fonts/Foundation.ttf
--------------------------------------------------------------------------------
/RNStoreLocatorExample/android/app/src/main/assets/fonts/Ionicons.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/android/app/src/main/assets/fonts/Ionicons.ttf
--------------------------------------------------------------------------------
/RNStoreLocatorExample/android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf
--------------------------------------------------------------------------------
/RNStoreLocatorExample/android/app/src/main/assets/fonts/MaterialIcons.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/android/app/src/main/assets/fonts/MaterialIcons.ttf
--------------------------------------------------------------------------------
/RNStoreLocatorExample/android/app/src/main/assets/fonts/Octicons.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/android/app/src/main/assets/fonts/Octicons.ttf
--------------------------------------------------------------------------------
/RNStoreLocatorExample/android/app/src/main/assets/fonts/SimpleLineIcons.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/android/app/src/main/assets/fonts/SimpleLineIcons.ttf
--------------------------------------------------------------------------------
/RNStoreLocatorExample/android/app/src/main/assets/fonts/Zocial.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/android/app/src/main/assets/fonts/Zocial.ttf
--------------------------------------------------------------------------------
/RNStoreLocatorExample/android/app/src/main/java/com/rnstorelocatorexample/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.rnstorelocatorexample;
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 "RNStoreLocatorExample";
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/android/app/src/main/java/com/rnstorelocatorexample/MainApplication.java:
--------------------------------------------------------------------------------
1 | package com.rnstorelocatorexample;
2 |
3 | import android.app.Application;
4 |
5 | import com.facebook.react.ReactApplication;
6 | import com.oblador.vectoricons.VectorIconsPackage;
7 | import com.BV.LinearGradient.LinearGradientPackage;
8 | import com.mapbox.rctmgl.RCTMGLPackage;
9 | import com.facebook.react.ReactNativeHost;
10 | import com.facebook.react.ReactPackage;
11 | import com.facebook.react.shell.MainReactPackage;
12 | import com.facebook.soloader.SoLoader;
13 | import com.mapbox.rctmgl.RCTMGLPackage;
14 |
15 | import java.util.Arrays;
16 | import java.util.List;
17 |
18 | public class MainApplication extends Application implements ReactApplication {
19 |
20 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
21 | @Override
22 | public boolean getUseDeveloperSupport() {
23 | return BuildConfig.DEBUG;
24 | }
25 |
26 | @Override
27 | protected List getPackages() {
28 | return Arrays.asList(
29 | new MainReactPackage(),
30 | new VectorIconsPackage(),
31 | new LinearGradientPackage(),
32 | new RCTMGLPackage());
33 | }
34 |
35 | @Override
36 | protected String getJSMainModuleName() {
37 | return "index";
38 | }
39 | };
40 |
41 | @Override
42 | public ReactNativeHost getReactNativeHost() {
43 | return mReactNativeHost;
44 | }
45 |
46 | @Override
47 | public void onCreate() {
48 | super.onCreate();
49 | SoLoader.init(this, /* native exopackage */ false);
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/android/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | RNStoreLocatorExample
3 |
4 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/android/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:2.2.3'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | mavenLocal()
18 | jcenter()
19 | maven {
20 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
21 | url "$rootDir/../node_modules/react-native/android"
22 | }
23 | maven { url "https://jitpack.io" }
24 | maven { url "https://maven.google.com" }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/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 |
20 | android.useDeprecatedNdk=true
21 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/RNStoreLocatorExample/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | zipStoreBase=GRADLE_USER_HOME
4 | zipStorePath=wrapper/dists
5 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
6 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/android/gradlew:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ##############################################################################
4 | ##
5 | ## Gradle start up script for UN*X
6 | ##
7 | ##############################################################################
8 |
9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
10 | DEFAULT_JVM_OPTS=""
11 |
12 | APP_NAME="Gradle"
13 | APP_BASE_NAME=`basename "$0"`
14 |
15 | # Use the maximum available, or set MAX_FD != -1 to use that value.
16 | MAX_FD="maximum"
17 |
18 | warn ( ) {
19 | echo "$*"
20 | }
21 |
22 | die ( ) {
23 | echo
24 | echo "$*"
25 | echo
26 | exit 1
27 | }
28 |
29 | # OS specific support (must be 'true' or 'false').
30 | cygwin=false
31 | msys=false
32 | darwin=false
33 | case "`uname`" in
34 | CYGWIN* )
35 | cygwin=true
36 | ;;
37 | Darwin* )
38 | darwin=true
39 | ;;
40 | MINGW* )
41 | msys=true
42 | ;;
43 | esac
44 |
45 | # For Cygwin, ensure paths are in UNIX format before anything is touched.
46 | if $cygwin ; then
47 | [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
48 | fi
49 |
50 | # Attempt to set APP_HOME
51 | # Resolve links: $0 may be a link
52 | PRG="$0"
53 | # Need this for relative symlinks.
54 | while [ -h "$PRG" ] ; do
55 | ls=`ls -ld "$PRG"`
56 | link=`expr "$ls" : '.*-> \(.*\)$'`
57 | if expr "$link" : '/.*' > /dev/null; then
58 | PRG="$link"
59 | else
60 | PRG=`dirname "$PRG"`"/$link"
61 | fi
62 | done
63 | SAVED="`pwd`"
64 | cd "`dirname \"$PRG\"`/" >&-
65 | APP_HOME="`pwd -P`"
66 | cd "$SAVED" >&-
67 |
68 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
69 |
70 | # Determine the Java command to use to start the JVM.
71 | if [ -n "$JAVA_HOME" ] ; then
72 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
73 | # IBM's JDK on AIX uses strange locations for the executables
74 | JAVACMD="$JAVA_HOME/jre/sh/java"
75 | else
76 | JAVACMD="$JAVA_HOME/bin/java"
77 | fi
78 | if [ ! -x "$JAVACMD" ] ; then
79 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
80 |
81 | Please set the JAVA_HOME variable in your environment to match the
82 | location of your Java installation."
83 | fi
84 | else
85 | JAVACMD="java"
86 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
87 |
88 | Please set the JAVA_HOME variable in your environment to match the
89 | location of your Java installation."
90 | fi
91 |
92 | # Increase the maximum file descriptors if we can.
93 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
94 | MAX_FD_LIMIT=`ulimit -H -n`
95 | if [ $? -eq 0 ] ; then
96 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
97 | MAX_FD="$MAX_FD_LIMIT"
98 | fi
99 | ulimit -n $MAX_FD
100 | if [ $? -ne 0 ] ; then
101 | warn "Could not set maximum file descriptor limit: $MAX_FD"
102 | fi
103 | else
104 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
105 | fi
106 | fi
107 |
108 | # For Darwin, add options to specify how the application appears in the dock
109 | if $darwin; then
110 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
111 | fi
112 |
113 | # For Cygwin, switch paths to Windows format before running java
114 | if $cygwin ; then
115 | APP_HOME=`cygpath --path --mixed "$APP_HOME"`
116 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
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 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
158 | function splitJvmOpts() {
159 | JVM_OPTS=("$@")
160 | }
161 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
162 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
163 |
164 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
165 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/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 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
12 | set DEFAULT_JVM_OPTS=
13 |
14 | set DIRNAME=%~dp0
15 | if "%DIRNAME%" == "" set DIRNAME=.
16 | set APP_BASE_NAME=%~n0
17 | set APP_HOME=%DIRNAME%
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 Windowz variants
50 |
51 | if not "%OS%" == "Windows_NT" goto win9xME_args
52 | if "%@eval[2+2]" == "4" goto 4NT_args
53 |
54 | :win9xME_args
55 | @rem Slurp the command line arguments.
56 | set CMD_LINE_ARGS=
57 | set _SKIP=2
58 |
59 | :win9xME_args_slurp
60 | if "x%~1" == "x" goto execute
61 |
62 | set CMD_LINE_ARGS=%*
63 | goto execute
64 |
65 | :4NT_args
66 | @rem Get arguments from the 4NT Shell from JP Software
67 | set CMD_LINE_ARGS=%$
68 |
69 | :execute
70 | @rem Setup the command line
71 |
72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
73 |
74 | @rem Execute Gradle
75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
76 |
77 | :end
78 | @rem End local scope for the variables with windows NT shell
79 | if "%ERRORLEVEL%"=="0" goto mainEnd
80 |
81 | :fail
82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
83 | rem the _cmd.exe /c_ return code!
84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
85 | exit /b 1
86 |
87 | :mainEnd
88 | if "%OS%"=="Windows_NT" endlocal
89 |
90 | :omega
91 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/android/keystores/BUCK:
--------------------------------------------------------------------------------
1 | keystore(
2 | name = "debug",
3 | properties = "debug.keystore.properties",
4 | store = "debug.keystore",
5 | visibility = [
6 | "PUBLIC",
7 | ],
8 | )
9 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/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 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/android/settings.gradle:
--------------------------------------------------------------------------------
1 | rootProject.name = 'RNStoreLocatorExample'
2 | include ':react-native-vector-icons'
3 | project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android')
4 | include ':react-native-linear-gradient'
5 | project(':react-native-linear-gradient').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-linear-gradient/android')
6 |
7 | include ':app'
8 |
9 | include ':mapbox-react-native-mapbox-gl'
10 | project(':mapbox-react-native-mapbox-gl').projectDir = new File(rootProject.projectDir, '../node_modules/@mapbox/react-native-mapbox-gl/android/rctmgl')
--------------------------------------------------------------------------------
/RNStoreLocatorExample/app.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "RNStoreLocatorExample",
3 | "displayName": "RNStoreLocatorExample"
4 | }
--------------------------------------------------------------------------------
/RNStoreLocatorExample/assets/bicycle_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/assets/bicycle_icon.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/assets/blue_button_image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/assets/blue_button_image.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/assets/blue_selected_burger.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/assets/blue_selected_burger.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/assets/blue_selected_house.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/assets/blue_selected_house.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/assets/blue_selected_ice_cream.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/assets/blue_selected_ice_cream.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/assets/blue_selected_money.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/assets/blue_selected_money.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/assets/blue_unselected_burger.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/assets/blue_unselected_burger.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/assets/blue_unselected_house.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/assets/blue_unselected_house.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/assets/blue_unselected_ice_cream.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/assets/blue_unselected_ice_cream.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/assets/blue_unselected_money.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/assets/blue_unselected_money.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/assets/cheese_burger_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/assets/cheese_burger_icon.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/assets/gray_button_image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/assets/gray_button_image.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/assets/gray_selected_bike.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/assets/gray_selected_bike.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/assets/gray_selected_house.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/assets/gray_selected_house.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/assets/green_button_image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/assets/green_button_image.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/assets/green_selected_money.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/assets/green_selected_money.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/assets/green_unselected_money.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/assets/green_unselected_money.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/assets/house_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/assets/house_icon.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/assets/ice_cream_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/assets/ice_cream_icon.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/assets/money_bag_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/assets/money_bag_icon.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/assets/neutral_button_image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/assets/neutral_button_image.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/assets/places.json:
--------------------------------------------------------------------------------
1 | {
2 | "type": "FeatureCollection",
3 | "features": [
4 | {
5 | "id": "1",
6 | "type": "Feature",
7 | "geometry": {
8 | "type": "Point",
9 | "coordinates": [
10 | -77.034084142948,
11 | 38.909671288923
12 | ]
13 | },
14 | "properties": {
15 | "name": "Place 1",
16 | "phoneFormatted": "(202) 234-7336",
17 | "addressFormatted": "33 Birchwood Drive",
18 | "hoursFormatted": "10 AM - 9 PM"
19 | }
20 | },
21 | {
22 | "id": "2",
23 | "type": "Feature",
24 | "geometry": {
25 | "type": "Point",
26 | "coordinates": [
27 | -77.049766,
28 | 38.900772
29 | ]
30 | },
31 | "properties": {
32 | "name": "Place 2",
33 | "phoneFormatted": "(202) 234-7336",
34 | "addressFormatted": "33 Birchwood Drive",
35 | "hoursFormatted": "11 AM - 9 PM"
36 | }
37 | },
38 | {
39 | "id": "3",
40 | "type": "Feature",
41 | "geometry": {
42 | "type": "Point",
43 | "coordinates": [
44 | -77.043929,
45 | 38.910525
46 | ]
47 | },
48 | "properties": {
49 | "name": "Place 3",
50 | "phoneFormatted": "(202) 234-7336",
51 | "addressFormatted": "33 Birchwood Drive",
52 | "hoursFormatted": "9 AM - 9 PM"
53 | }
54 | },
55 | {
56 | "id": "4",
57 | "type": "Feature",
58 | "geometry": {
59 | "type": "Point",
60 | "coordinates": [
61 | -77.0672,
62 | 38.90516896
63 | ]
64 | },
65 | "properties": {
66 | "name": "Place 4",
67 | "phoneFormatted": "(202) 234-7336",
68 | "addressFormatted": "33 Birchwood Drive",
69 | "hoursFormatted": "12 AM - 6 PM"
70 | }
71 | },
72 | {
73 | "id": "5",
74 | "type": "Feature",
75 | "geometry": {
76 | "type": "Point",
77 | "coordinates": [
78 | -77.002583742142,
79 | 38.887041080933
80 | ]
81 | },
82 | "properties": {
83 | "name": "Place 4",
84 | "phoneFormatted": "(202) 234-7336",
85 | "addressFormatted": "33 Birchwood Drive",
86 | "hoursFormatted": "11 AM - 9 PM"
87 | }
88 | },
89 | {
90 | "id": "6",
91 | "type": "Feature",
92 | "geometry": {
93 | "type": "Point",
94 | "coordinates": [
95 | -76.933492720127,
96 | 38.99225245786
97 | ]
98 | },
99 | "properties": {
100 | "name": "Place 5",
101 | "phoneFormatted": "(202) 234-7336",
102 | "addressFormatted": "33 Birchwood Drive",
103 | "hoursFormatted": "10 AM - 9 PM"
104 | }
105 | },
106 | {
107 | "id": "7",
108 | "type": "Feature",
109 | "geometry": {
110 | "type": "Point",
111 | "coordinates": [
112 | -77.097083330154,
113 | 38.980979
114 | ]
115 | },
116 | "properties": {
117 | "name": "Place 6",
118 | "phoneFormatted": "(202) 234-7336",
119 | "addressFormatted": "33 Birchwood Drive",
120 | "hoursFormatted": "11 AM - 9 PM"
121 | }
122 | },
123 | {
124 | "id": "8",
125 | "type": "Feature",
126 | "geometry": {
127 | "type": "Point",
128 | "coordinates": [
129 | -77.359425054188,
130 | 38.958058116661
131 | ]
132 | },
133 | "properties": {
134 | "name": "Place 6",
135 | "phoneFormatted": "(202) 234-7336",
136 | "addressFormatted": "33 Birchwood Drive",
137 | "hoursFormatted": "6 AM - 9 PM"
138 | }
139 | },
140 | {
141 | "id": "9",
142 | "type": "Feature",
143 | "geometry": {
144 | "type": "Point",
145 | "coordinates": [
146 | -77.10853099823,
147 | 38.880100922392
148 | ]
149 | },
150 | "properties": {
151 | "name": "Place 7",
152 | "phoneFormatted": "(202) 234-7336",
153 | "addressFormatted": "33 Birchwood Drive",
154 | "hoursFormatted": "7 AM - 8 PM"
155 | }
156 | },
157 | {
158 | "id": "10",
159 | "type": "Feature",
160 | "geometry": {
161 | "type": "Point",
162 | "coordinates": [
163 | -75.28784,
164 | 40.008008
165 | ]
166 | },
167 | "properties": {
168 | "name": "Place 8",
169 | "phoneFormatted": "(202) 234-7336",
170 | "addressFormatted": "33 Birchwood Drive",
171 | "hoursFormatted": "8 AM - 9 PM"
172 | }
173 | },
174 | {
175 | "id": "11",
176 | "type": "Feature",
177 | "geometry": {
178 | "type": "Point",
179 | "coordinates": [
180 | -75.20121216774,
181 | 39.954030175164
182 | ]
183 | },
184 | "properties": {
185 | "name": "Place 9",
186 | "phoneFormatted": "(202) 234-7336",
187 | "addressFormatted": "33 Birchwood Drive",
188 | "hoursFormatted": "11 AM - 9 PM"
189 | }
190 | },
191 | {
192 | "id": "12",
193 | "type": "Feature",
194 | "geometry": {
195 | "type": "Point",
196 | "coordinates": [
197 | -77.043959498405,
198 | 38.903883387232
199 | ]
200 | },
201 | "properties": {
202 | "name": "Place 10",
203 | "phoneFormatted": "(202) 234-7336",
204 | "addressFormatted": "33 Birchwood Drive",
205 | "hoursFormatted": "8 AM - 10 PM"
206 | }
207 | }
208 | ]
209 | }
210 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/assets/purple_button_image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/assets/purple_button_image.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/assets/purple_selected_burger.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/assets/purple_selected_burger.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/assets/purple_selected_house.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/assets/purple_selected_house.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/assets/purple_selected_ice_cream.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/assets/purple_selected_ice_cream.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/assets/purple_selected_money.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/assets/purple_selected_money.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/assets/purple_unselected_burger.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/assets/purple_unselected_burger.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/assets/purple_unselected_house.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/assets/purple_unselected_house.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/assets/purple_unselected_ice_cream.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/assets/purple_unselected_ice_cream.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/assets/purple_unselected_money.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/assets/purple_unselected_money.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/assets/white_unselected_bike.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/assets/white_unselected_bike.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/assets/white_unselected_house.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/RNStoreLocatorExample/assets/white_unselected_house.png
--------------------------------------------------------------------------------
/RNStoreLocatorExample/index.js:
--------------------------------------------------------------------------------
1 | import { AppRegistry } from 'react-native';
2 | import App from './src/App';
3 |
4 | AppRegistry.registerComponent('RNStoreLocatorExample', () => App);
5 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/ios/RNStoreLocatorExample-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 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/ios/RNStoreLocatorExample-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 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/ios/RNStoreLocatorExample.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; };
11 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; };
12 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; };
13 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; };
14 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; };
15 | 00E356F31AD99517003FC87E /* RNStoreLocatorExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* RNStoreLocatorExampleTests.m */; };
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 | 276748D1AE21436788731E18 /* SimpleLineIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 9FE8DCB9C56649BF8F04294A /* SimpleLineIcons.ttf */; };
26 | 2BC151C0DFF44CD1929107AD /* EvilIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 33EF371047304AAC81B51936 /* EvilIcons.ttf */; };
27 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
28 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
29 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
30 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */; };
31 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; };
32 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; };
33 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; };
34 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; };
35 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; };
36 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; };
37 | 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; };
38 | 2DCD954D1E0B4F2C00145EB5 /* RNStoreLocatorExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* RNStoreLocatorExampleTests.m */; };
39 | 2E9510F5820B49BBA050712F /* Ionicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 5FBB94739F4F4B6D83A8A277 /* Ionicons.ttf */; };
40 | 31ACFFC20B04452DAED1BD45 /* FontAwesome.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 57895A953855402587FB541A /* FontAwesome.ttf */; };
41 | 32AF839E6AC34016843B26CF /* Entypo.ttf in Resources */ = {isa = PBXBuildFile; fileRef = E06E855052AA453DAF59F2F9 /* Entypo.ttf */; };
42 | 48A93F8FD6CE42FF9F96FC37 /* MaterialIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 08AAB4162FFF4DD6B77FF6BB /* MaterialIcons.ttf */; };
43 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; };
44 | 67B3ECEC529B4408BFF203E5 /* MaterialCommunityIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = B5BF09D06DEE4B428DF9801C /* MaterialCommunityIcons.ttf */; };
45 | 70BB300A269E4EAB8FCF14A1 /* Zocial.ttf in Resources */ = {isa = PBXBuildFile; fileRef = C0D05B5B8FC64B4991041C46 /* Zocial.ttf */; };
46 | 75AC49E9A26240B3ADD2B0AA /* Feather.ttf in Resources */ = {isa = PBXBuildFile; fileRef = C04B3D6C52C444F6A5C69E29 /* Feather.ttf */; };
47 | 7C08E6FC890B43E9B0B98288 /* Octicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = EFEC337195414930A37F1B7A /* Octicons.ttf */; };
48 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; };
49 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; };
50 | C41DCCCC1FBE512B00895BB4 /* Mapbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C41DCCCB1FBE512B00895BB4 /* Mapbox.framework */; };
51 | C41DCCCD1FBE512B00895BB4 /* Mapbox.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = C41DCCCB1FBE512B00895BB4 /* Mapbox.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
52 | C41DCCD01FBE513500895BB4 /* libRCTMGL.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C41DCCBB1FBE511100895BB4 /* libRCTMGL.a */; };
53 | E749E43D8B2D41A2BDFE2972 /* libRNVectorIcons.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 29E6703923AA4EF4A8A58C03 /* libRNVectorIcons.a */; };
54 | E869012BBF4544BCA1F85294 /* libBVLinearGradient.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7C04FB739186487E83452E67 /* libBVLinearGradient.a */; };
55 | E9514ACB1E234D6489631CE8 /* Foundation.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 585B660DE79F4BBEB1FEED73 /* Foundation.ttf */; };
56 | /* End PBXBuildFile section */
57 |
58 | /* Begin PBXContainerItemProxy section */
59 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = {
60 | isa = PBXContainerItemProxy;
61 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
62 | proxyType = 2;
63 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
64 | remoteInfo = RCTActionSheet;
65 | };
66 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = {
67 | isa = PBXContainerItemProxy;
68 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
69 | proxyType = 2;
70 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
71 | remoteInfo = RCTGeolocation;
72 | };
73 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = {
74 | isa = PBXContainerItemProxy;
75 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
76 | proxyType = 2;
77 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676;
78 | remoteInfo = RCTImage;
79 | };
80 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = {
81 | isa = PBXContainerItemProxy;
82 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
83 | proxyType = 2;
84 | remoteGlobalIDString = 58B511DB1A9E6C8500147676;
85 | remoteInfo = RCTNetwork;
86 | };
87 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = {
88 | isa = PBXContainerItemProxy;
89 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;
90 | proxyType = 2;
91 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7;
92 | remoteInfo = RCTVibration;
93 | };
94 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = {
95 | isa = PBXContainerItemProxy;
96 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
97 | proxyType = 1;
98 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A;
99 | remoteInfo = RNStoreLocatorExample;
100 | };
101 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = {
102 | isa = PBXContainerItemProxy;
103 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
104 | proxyType = 2;
105 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
106 | remoteInfo = RCTSettings;
107 | };
108 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = {
109 | isa = PBXContainerItemProxy;
110 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
111 | proxyType = 2;
112 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A;
113 | remoteInfo = RCTWebSocket;
114 | };
115 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = {
116 | isa = PBXContainerItemProxy;
117 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
118 | proxyType = 2;
119 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192;
120 | remoteInfo = React;
121 | };
122 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = {
123 | isa = PBXContainerItemProxy;
124 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
125 | proxyType = 1;
126 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7;
127 | remoteInfo = "RNStoreLocatorExample-tvOS";
128 | };
129 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = {
130 | isa = PBXContainerItemProxy;
131 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
132 | proxyType = 2;
133 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D;
134 | remoteInfo = "RCTImage-tvOS";
135 | };
136 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = {
137 | isa = PBXContainerItemProxy;
138 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
139 | proxyType = 2;
140 | remoteGlobalIDString = 2D2A28471D9B043800D4039D;
141 | remoteInfo = "RCTLinking-tvOS";
142 | };
143 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
144 | isa = PBXContainerItemProxy;
145 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
146 | proxyType = 2;
147 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D;
148 | remoteInfo = "RCTNetwork-tvOS";
149 | };
150 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
151 | isa = PBXContainerItemProxy;
152 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
153 | proxyType = 2;
154 | remoteGlobalIDString = 2D2A28611D9B046600D4039D;
155 | remoteInfo = "RCTSettings-tvOS";
156 | };
157 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = {
158 | isa = PBXContainerItemProxy;
159 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
160 | proxyType = 2;
161 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D;
162 | remoteInfo = "RCTText-tvOS";
163 | };
164 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = {
165 | isa = PBXContainerItemProxy;
166 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
167 | proxyType = 2;
168 | remoteGlobalIDString = 2D2A28881D9B049200D4039D;
169 | remoteInfo = "RCTWebSocket-tvOS";
170 | };
171 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = {
172 | isa = PBXContainerItemProxy;
173 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
174 | proxyType = 2;
175 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D;
176 | remoteInfo = "React-tvOS";
177 | };
178 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = {
179 | isa = PBXContainerItemProxy;
180 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
181 | proxyType = 2;
182 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA;
183 | remoteInfo = yoga;
184 | };
185 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = {
186 | isa = PBXContainerItemProxy;
187 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
188 | proxyType = 2;
189 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA;
190 | remoteInfo = "yoga-tvOS";
191 | };
192 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = {
193 | isa = PBXContainerItemProxy;
194 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
195 | proxyType = 2;
196 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4;
197 | remoteInfo = cxxreact;
198 | };
199 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
200 | isa = PBXContainerItemProxy;
201 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
202 | proxyType = 2;
203 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4;
204 | remoteInfo = "cxxreact-tvOS";
205 | };
206 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
207 | isa = PBXContainerItemProxy;
208 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
209 | proxyType = 2;
210 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4;
211 | remoteInfo = jschelpers;
212 | };
213 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
214 | isa = PBXContainerItemProxy;
215 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
216 | proxyType = 2;
217 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4;
218 | remoteInfo = "jschelpers-tvOS";
219 | };
220 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = {
221 | isa = PBXContainerItemProxy;
222 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
223 | proxyType = 2;
224 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
225 | remoteInfo = RCTAnimation;
226 | };
227 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = {
228 | isa = PBXContainerItemProxy;
229 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
230 | proxyType = 2;
231 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D;
232 | remoteInfo = "RCTAnimation-tvOS";
233 | };
234 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = {
235 | isa = PBXContainerItemProxy;
236 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
237 | proxyType = 2;
238 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
239 | remoteInfo = RCTLinking;
240 | };
241 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = {
242 | isa = PBXContainerItemProxy;
243 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
244 | proxyType = 2;
245 | remoteGlobalIDString = 58B5119B1A9E6C1200147676;
246 | remoteInfo = RCTText;
247 | };
248 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = {
249 | isa = PBXContainerItemProxy;
250 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
251 | proxyType = 2;
252 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814;
253 | remoteInfo = RCTBlob;
254 | };
255 | C41DCCB21FBE511100895BB4 /* PBXContainerItemProxy */ = {
256 | isa = PBXContainerItemProxy;
257 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
258 | proxyType = 2;
259 | remoteGlobalIDString = ADD01A681E09402E00F6D226;
260 | remoteInfo = "RCTBlob-tvOS";
261 | };
262 | C41DCCBA1FBE511100895BB4 /* PBXContainerItemProxy */ = {
263 | isa = PBXContainerItemProxy;
264 | containerPortal = C41DCCAA1FBE511100895BB4 /* RCTMGL.xcodeproj */;
265 | proxyType = 2;
266 | remoteGlobalIDString = C4D1443D1F4E16F600396F26;
267 | remoteInfo = RCTMGL;
268 | };
269 | C41DCCC71FBE511100895BB4 /* PBXContainerItemProxy */ = {
270 | isa = PBXContainerItemProxy;
271 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
272 | proxyType = 2;
273 | remoteGlobalIDString = 3DBE0D001F3B181A0099AA32;
274 | remoteInfo = fishhook;
275 | };
276 | C41DCCC91FBE511100895BB4 /* PBXContainerItemProxy */ = {
277 | isa = PBXContainerItemProxy;
278 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
279 | proxyType = 2;
280 | remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32;
281 | remoteInfo = "fishhook-tvOS";
282 | };
283 | C41DCD021FBE66EB00895BB4 /* PBXContainerItemProxy */ = {
284 | isa = PBXContainerItemProxy;
285 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
286 | proxyType = 2;
287 | remoteGlobalIDString = 139D7ECE1E25DB7D00323FB7;
288 | remoteInfo = "third-party";
289 | };
290 | C41DCD041FBE66EB00895BB4 /* PBXContainerItemProxy */ = {
291 | isa = PBXContainerItemProxy;
292 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
293 | proxyType = 2;
294 | remoteGlobalIDString = 3D383D3C1EBD27B6005632C8;
295 | remoteInfo = "third-party-tvOS";
296 | };
297 | C41DCD061FBE66EB00895BB4 /* PBXContainerItemProxy */ = {
298 | isa = PBXContainerItemProxy;
299 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
300 | proxyType = 2;
301 | remoteGlobalIDString = 139D7E881E25C6D100323FB7;
302 | remoteInfo = "double-conversion";
303 | };
304 | C41DCD081FBE66EB00895BB4 /* PBXContainerItemProxy */ = {
305 | isa = PBXContainerItemProxy;
306 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
307 | proxyType = 2;
308 | remoteGlobalIDString = 3D383D621EBD27B9005632C8;
309 | remoteInfo = "double-conversion-tvOS";
310 | };
311 | C41DCD0A1FBE66EB00895BB4 /* PBXContainerItemProxy */ = {
312 | isa = PBXContainerItemProxy;
313 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
314 | proxyType = 2;
315 | remoteGlobalIDString = 9936F3131F5F2E4B0010BF04;
316 | remoteInfo = privatedata;
317 | };
318 | C41DCD0C1FBE66EB00895BB4 /* PBXContainerItemProxy */ = {
319 | isa = PBXContainerItemProxy;
320 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
321 | proxyType = 2;
322 | remoteGlobalIDString = 9936F32F1F5F2E5B0010BF04;
323 | remoteInfo = "privatedata-tvOS";
324 | };
325 | C4FD1D411FCCC0B300213AF2 /* PBXContainerItemProxy */ = {
326 | isa = PBXContainerItemProxy;
327 | containerPortal = D69FB7361E704EB3BBDDF4FB /* BVLinearGradient.xcodeproj */;
328 | proxyType = 2;
329 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
330 | remoteInfo = BVLinearGradient;
331 | };
332 | C4FD1D431FCCC0B300213AF2 /* PBXContainerItemProxy */ = {
333 | isa = PBXContainerItemProxy;
334 | containerPortal = D69FB7361E704EB3BBDDF4FB /* BVLinearGradient.xcodeproj */;
335 | proxyType = 2;
336 | remoteGlobalIDString = 64AA15081EF7F30100718508;
337 | remoteInfo = "BVLinearGradient-tvOS";
338 | };
339 | C4FD1D7C1FCCC1E700213AF2 /* PBXContainerItemProxy */ = {
340 | isa = PBXContainerItemProxy;
341 | containerPortal = C153AC9EE0FE400096B988CE /* RNVectorIcons.xcodeproj */;
342 | proxyType = 2;
343 | remoteGlobalIDString = 5DBEB1501B18CEA900B34395;
344 | remoteInfo = RNVectorIcons;
345 | };
346 | /* End PBXContainerItemProxy section */
347 |
348 | /* Begin PBXCopyFilesBuildPhase section */
349 | C41DCCCE1FBE512B00895BB4 /* Embed Frameworks */ = {
350 | isa = PBXCopyFilesBuildPhase;
351 | buildActionMask = 2147483647;
352 | dstPath = "";
353 | dstSubfolderSpec = 10;
354 | files = (
355 | C41DCCCD1FBE512B00895BB4 /* Mapbox.framework in Embed Frameworks */,
356 | );
357 | name = "Embed Frameworks";
358 | runOnlyForDeploymentPostprocessing = 0;
359 | };
360 | /* End PBXCopyFilesBuildPhase section */
361 |
362 | /* Begin PBXFileReference section */
363 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; };
364 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; };
365 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; };
366 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; };
367 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; };
368 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; };
369 | 00E356EE1AD99517003FC87E /* RNStoreLocatorExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RNStoreLocatorExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
370 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
371 | 00E356F21AD99517003FC87E /* RNStoreLocatorExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RNStoreLocatorExampleTests.m; sourceTree = ""; };
372 | 08AAB4162FFF4DD6B77FF6BB /* MaterialIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = MaterialIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf"; sourceTree = ""; };
373 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; };
374 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; };
375 | 13B07F961A680F5B00A75B9A /* RNStoreLocatorExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RNStoreLocatorExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
376 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = RNStoreLocatorExample/AppDelegate.h; sourceTree = ""; };
377 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = RNStoreLocatorExample/AppDelegate.m; sourceTree = ""; };
378 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
379 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = RNStoreLocatorExample/Images.xcassets; sourceTree = ""; };
380 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = RNStoreLocatorExample/Info.plist; sourceTree = ""; };
381 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = RNStoreLocatorExample/main.m; sourceTree = ""; };
382 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; };
383 | 29E6703923AA4EF4A8A58C03 /* libRNVectorIcons.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNVectorIcons.a; sourceTree = ""; };
384 | 2D02E47B1E0B4A5D006451C7 /* RNStoreLocatorExample-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "RNStoreLocatorExample-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };
385 | 2D02E4901E0B4A5D006451C7 /* RNStoreLocatorExample-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "RNStoreLocatorExample-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
386 | 33EF371047304AAC81B51936 /* EvilIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = EvilIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf"; sourceTree = ""; };
387 | 57895A953855402587FB541A /* FontAwesome.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = FontAwesome.ttf; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf"; sourceTree = ""; };
388 | 585B660DE79F4BBEB1FEED73 /* Foundation.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Foundation.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Foundation.ttf"; sourceTree = ""; };
389 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; };
390 | 5FBB94739F4F4B6D83A8A277 /* Ionicons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Ionicons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Ionicons.ttf"; sourceTree = ""; };
391 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; };
392 | 7C04FB739186487E83452E67 /* libBVLinearGradient.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libBVLinearGradient.a; sourceTree = ""; };
393 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; };
394 | 9FE8DCB9C56649BF8F04294A /* SimpleLineIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = SimpleLineIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf"; sourceTree = ""; };
395 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; };
396 | B5BF09D06DEE4B428DF9801C /* MaterialCommunityIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = MaterialCommunityIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf"; sourceTree = ""; };
397 | C04B3D6C52C444F6A5C69E29 /* Feather.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Feather.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Feather.ttf"; sourceTree = ""; };
398 | C0D05B5B8FC64B4991041C46 /* Zocial.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Zocial.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Zocial.ttf"; sourceTree = ""; };
399 | C153AC9EE0FE400096B988CE /* RNVectorIcons.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNVectorIcons.xcodeproj; path = "../node_modules/react-native-vector-icons/RNVectorIcons.xcodeproj"; sourceTree = ""; };
400 | C41DCCAA1FBE511100895BB4 /* RCTMGL.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTMGL.xcodeproj; path = "../node_modules/@mapbox/react-native-mapbox-gl/ios/RCTMGL.xcodeproj"; sourceTree = ""; };
401 | C41DCCCB1FBE512B00895BB4 /* Mapbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Mapbox.framework; path = "../node_modules/@mapbox/react-native-mapbox-gl/ios/Mapbox.framework"; sourceTree = ""; };
402 | D69FB7361E704EB3BBDDF4FB /* BVLinearGradient.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = BVLinearGradient.xcodeproj; path = "../node_modules/react-native-linear-gradient/BVLinearGradient.xcodeproj"; sourceTree = ""; };
403 | E06E855052AA453DAF59F2F9 /* Entypo.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Entypo.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Entypo.ttf"; sourceTree = ""; };
404 | EFEC337195414930A37F1B7A /* Octicons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Octicons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Octicons.ttf"; sourceTree = ""; };
405 | /* End PBXFileReference section */
406 |
407 | /* Begin PBXFrameworksBuildPhase section */
408 | 00E356EB1AD99517003FC87E /* Frameworks */ = {
409 | isa = PBXFrameworksBuildPhase;
410 | buildActionMask = 2147483647;
411 | files = (
412 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */,
413 | );
414 | runOnlyForDeploymentPostprocessing = 0;
415 | };
416 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
417 | isa = PBXFrameworksBuildPhase;
418 | buildActionMask = 2147483647;
419 | files = (
420 | C41DCCD01FBE513500895BB4 /* libRCTMGL.a in Frameworks */,
421 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */,
422 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */,
423 | 146834051AC3E58100842450 /* libReact.a in Frameworks */,
424 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */,
425 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */,
426 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */,
427 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */,
428 | C41DCCCC1FBE512B00895BB4 /* Mapbox.framework in Frameworks */,
429 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */,
430 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */,
431 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */,
432 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */,
433 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */,
434 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */,
435 | E869012BBF4544BCA1F85294 /* libBVLinearGradient.a in Frameworks */,
436 | E749E43D8B2D41A2BDFE2972 /* libRNVectorIcons.a in Frameworks */,
437 | );
438 | runOnlyForDeploymentPostprocessing = 0;
439 | };
440 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = {
441 | isa = PBXFrameworksBuildPhase;
442 | buildActionMask = 2147483647;
443 | files = (
444 | 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */,
445 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */,
446 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */,
447 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */,
448 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */,
449 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */,
450 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */,
451 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */,
452 | );
453 | runOnlyForDeploymentPostprocessing = 0;
454 | };
455 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = {
456 | isa = PBXFrameworksBuildPhase;
457 | buildActionMask = 2147483647;
458 | files = (
459 | );
460 | runOnlyForDeploymentPostprocessing = 0;
461 | };
462 | /* End PBXFrameworksBuildPhase section */
463 |
464 | /* Begin PBXGroup section */
465 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = {
466 | isa = PBXGroup;
467 | children = (
468 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */,
469 | );
470 | name = Products;
471 | sourceTree = "";
472 | };
473 | 00C302B61ABCB90400DB3ED1 /* Products */ = {
474 | isa = PBXGroup;
475 | children = (
476 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */,
477 | );
478 | name = Products;
479 | sourceTree = "";
480 | };
481 | 00C302BC1ABCB91800DB3ED1 /* Products */ = {
482 | isa = PBXGroup;
483 | children = (
484 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */,
485 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */,
486 | );
487 | name = Products;
488 | sourceTree = "";
489 | };
490 | 00C302D41ABCB9D200DB3ED1 /* Products */ = {
491 | isa = PBXGroup;
492 | children = (
493 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */,
494 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */,
495 | );
496 | name = Products;
497 | sourceTree = "";
498 | };
499 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = {
500 | isa = PBXGroup;
501 | children = (
502 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */,
503 | );
504 | name = Products;
505 | sourceTree = "";
506 | };
507 | 00E356EF1AD99517003FC87E /* RNStoreLocatorExampleTests */ = {
508 | isa = PBXGroup;
509 | children = (
510 | 00E356F21AD99517003FC87E /* RNStoreLocatorExampleTests.m */,
511 | 00E356F01AD99517003FC87E /* Supporting Files */,
512 | );
513 | path = RNStoreLocatorExampleTests;
514 | sourceTree = "";
515 | };
516 | 00E356F01AD99517003FC87E /* Supporting Files */ = {
517 | isa = PBXGroup;
518 | children = (
519 | 00E356F11AD99517003FC87E /* Info.plist */,
520 | );
521 | name = "Supporting Files";
522 | sourceTree = "";
523 | };
524 | 139105B71AF99BAD00B5F7CC /* Products */ = {
525 | isa = PBXGroup;
526 | children = (
527 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */,
528 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */,
529 | );
530 | name = Products;
531 | sourceTree = "";
532 | };
533 | 139FDEE71B06529A00C62182 /* Products */ = {
534 | isa = PBXGroup;
535 | children = (
536 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */,
537 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */,
538 | C41DCCC81FBE511100895BB4 /* libfishhook.a */,
539 | C41DCCCA1FBE511100895BB4 /* libfishhook-tvOS.a */,
540 | );
541 | name = Products;
542 | sourceTree = "";
543 | };
544 | 13B07FAE1A68108700A75B9A /* RNStoreLocatorExample */ = {
545 | isa = PBXGroup;
546 | children = (
547 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */,
548 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */,
549 | 13B07FB01A68108700A75B9A /* AppDelegate.m */,
550 | 13B07FB51A68108700A75B9A /* Images.xcassets */,
551 | 13B07FB61A68108700A75B9A /* Info.plist */,
552 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */,
553 | 13B07FB71A68108700A75B9A /* main.m */,
554 | );
555 | name = RNStoreLocatorExample;
556 | sourceTree = "";
557 | };
558 | 146834001AC3E56700842450 /* Products */ = {
559 | isa = PBXGroup;
560 | children = (
561 | 146834041AC3E56700842450 /* libReact.a */,
562 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */,
563 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */,
564 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */,
565 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */,
566 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */,
567 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */,
568 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */,
569 | C41DCD031FBE66EB00895BB4 /* libthird-party.a */,
570 | C41DCD051FBE66EB00895BB4 /* libthird-party.a */,
571 | C41DCD071FBE66EB00895BB4 /* libdouble-conversion.a */,
572 | C41DCD091FBE66EB00895BB4 /* libdouble-conversion.a */,
573 | C41DCD0B1FBE66EB00895BB4 /* libprivatedata.a */,
574 | C41DCD0D1FBE66EB00895BB4 /* libprivatedata-tvOS.a */,
575 | );
576 | name = Products;
577 | sourceTree = "";
578 | };
579 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = {
580 | isa = PBXGroup;
581 | children = (
582 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */,
583 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */,
584 | );
585 | name = Products;
586 | sourceTree = "";
587 | };
588 | 68C4871E87DB4350BE993BC7 /* Resources */ = {
589 | isa = PBXGroup;
590 | children = (
591 | E06E855052AA453DAF59F2F9 /* Entypo.ttf */,
592 | 33EF371047304AAC81B51936 /* EvilIcons.ttf */,
593 | C04B3D6C52C444F6A5C69E29 /* Feather.ttf */,
594 | 57895A953855402587FB541A /* FontAwesome.ttf */,
595 | 585B660DE79F4BBEB1FEED73 /* Foundation.ttf */,
596 | 5FBB94739F4F4B6D83A8A277 /* Ionicons.ttf */,
597 | B5BF09D06DEE4B428DF9801C /* MaterialCommunityIcons.ttf */,
598 | 08AAB4162FFF4DD6B77FF6BB /* MaterialIcons.ttf */,
599 | EFEC337195414930A37F1B7A /* Octicons.ttf */,
600 | 9FE8DCB9C56649BF8F04294A /* SimpleLineIcons.ttf */,
601 | C0D05B5B8FC64B4991041C46 /* Zocial.ttf */,
602 | );
603 | name = Resources;
604 | sourceTree = "";
605 | };
606 | 78C398B11ACF4ADC00677621 /* Products */ = {
607 | isa = PBXGroup;
608 | children = (
609 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */,
610 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */,
611 | );
612 | name = Products;
613 | sourceTree = "";
614 | };
615 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = {
616 | isa = PBXGroup;
617 | children = (
618 | C41DCCAA1FBE511100895BB4 /* RCTMGL.xcodeproj */,
619 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */,
620 | 146833FF1AC3E56700842450 /* React.xcodeproj */,
621 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */,
622 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */,
623 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */,
624 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */,
625 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */,
626 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */,
627 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */,
628 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */,
629 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */,
630 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */,
631 | D69FB7361E704EB3BBDDF4FB /* BVLinearGradient.xcodeproj */,
632 | C153AC9EE0FE400096B988CE /* RNVectorIcons.xcodeproj */,
633 | );
634 | name = Libraries;
635 | sourceTree = "";
636 | };
637 | 832341B11AAA6A8300B99B32 /* Products */ = {
638 | isa = PBXGroup;
639 | children = (
640 | 832341B51AAA6A8300B99B32 /* libRCTText.a */,
641 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */,
642 | );
643 | name = Products;
644 | sourceTree = "";
645 | };
646 | 83CBB9F61A601CBA00E9B192 = {
647 | isa = PBXGroup;
648 | children = (
649 | C41DCCCB1FBE512B00895BB4 /* Mapbox.framework */,
650 | 13B07FAE1A68108700A75B9A /* RNStoreLocatorExample */,
651 | 832341AE1AAA6A7D00B99B32 /* Libraries */,
652 | 00E356EF1AD99517003FC87E /* RNStoreLocatorExampleTests */,
653 | 83CBBA001A601CBA00E9B192 /* Products */,
654 | C41DCCCF1FBE513500895BB4 /* Frameworks */,
655 | 68C4871E87DB4350BE993BC7 /* Resources */,
656 | C4FD1D181FCCC0B100213AF2 /* Recovered References */,
657 | );
658 | indentWidth = 2;
659 | sourceTree = "";
660 | tabWidth = 2;
661 | usesTabs = 0;
662 | };
663 | 83CBBA001A601CBA00E9B192 /* Products */ = {
664 | isa = PBXGroup;
665 | children = (
666 | 13B07F961A680F5B00A75B9A /* RNStoreLocatorExample.app */,
667 | 00E356EE1AD99517003FC87E /* RNStoreLocatorExampleTests.xctest */,
668 | 2D02E47B1E0B4A5D006451C7 /* RNStoreLocatorExample-tvOS.app */,
669 | 2D02E4901E0B4A5D006451C7 /* RNStoreLocatorExample-tvOSTests.xctest */,
670 | );
671 | name = Products;
672 | sourceTree = "";
673 | };
674 | ADBDB9201DFEBF0600ED6528 /* Products */ = {
675 | isa = PBXGroup;
676 | children = (
677 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */,
678 | C41DCCB31FBE511100895BB4 /* libRCTBlob-tvOS.a */,
679 | );
680 | name = Products;
681 | sourceTree = "";
682 | };
683 | C41DCCAB1FBE511100895BB4 /* Products */ = {
684 | isa = PBXGroup;
685 | children = (
686 | C41DCCBB1FBE511100895BB4 /* libRCTMGL.a */,
687 | );
688 | name = Products;
689 | sourceTree = "";
690 | };
691 | C41DCCCF1FBE513500895BB4 /* Frameworks */ = {
692 | isa = PBXGroup;
693 | children = (
694 | );
695 | name = Frameworks;
696 | sourceTree = "";
697 | };
698 | C4FD1D181FCCC0B100213AF2 /* Recovered References */ = {
699 | isa = PBXGroup;
700 | children = (
701 | 7C04FB739186487E83452E67 /* libBVLinearGradient.a */,
702 | 29E6703923AA4EF4A8A58C03 /* libRNVectorIcons.a */,
703 | );
704 | name = "Recovered References";
705 | sourceTree = "";
706 | };
707 | C4FD1D3D1FCCC0B300213AF2 /* Products */ = {
708 | isa = PBXGroup;
709 | children = (
710 | C4FD1D421FCCC0B300213AF2 /* libBVLinearGradient.a */,
711 | C4FD1D441FCCC0B300213AF2 /* libBVLinearGradient.a */,
712 | );
713 | name = Products;
714 | sourceTree = "";
715 | };
716 | C4FD1D791FCCC1E700213AF2 /* Products */ = {
717 | isa = PBXGroup;
718 | children = (
719 | C4FD1D7D1FCCC1E700213AF2 /* libRNVectorIcons.a */,
720 | );
721 | name = Products;
722 | sourceTree = "";
723 | };
724 | /* End PBXGroup section */
725 |
726 | /* Begin PBXNativeTarget section */
727 | 00E356ED1AD99517003FC87E /* RNStoreLocatorExampleTests */ = {
728 | isa = PBXNativeTarget;
729 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "RNStoreLocatorExampleTests" */;
730 | buildPhases = (
731 | 00E356EA1AD99517003FC87E /* Sources */,
732 | 00E356EB1AD99517003FC87E /* Frameworks */,
733 | 00E356EC1AD99517003FC87E /* Resources */,
734 | );
735 | buildRules = (
736 | );
737 | dependencies = (
738 | 00E356F51AD99517003FC87E /* PBXTargetDependency */,
739 | );
740 | name = RNStoreLocatorExampleTests;
741 | productName = RNStoreLocatorExampleTests;
742 | productReference = 00E356EE1AD99517003FC87E /* RNStoreLocatorExampleTests.xctest */;
743 | productType = "com.apple.product-type.bundle.unit-test";
744 | };
745 | 13B07F861A680F5B00A75B9A /* RNStoreLocatorExample */ = {
746 | isa = PBXNativeTarget;
747 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "RNStoreLocatorExample" */;
748 | buildPhases = (
749 | 13B07F871A680F5B00A75B9A /* Sources */,
750 | 13B07F8C1A680F5B00A75B9A /* Frameworks */,
751 | 13B07F8E1A680F5B00A75B9A /* Resources */,
752 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
753 | C41DCCCE1FBE512B00895BB4 /* Embed Frameworks */,
754 | );
755 | buildRules = (
756 | );
757 | dependencies = (
758 | );
759 | name = RNStoreLocatorExample;
760 | productName = "Hello World";
761 | productReference = 13B07F961A680F5B00A75B9A /* RNStoreLocatorExample.app */;
762 | productType = "com.apple.product-type.application";
763 | };
764 | 2D02E47A1E0B4A5D006451C7 /* RNStoreLocatorExample-tvOS */ = {
765 | isa = PBXNativeTarget;
766 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "RNStoreLocatorExample-tvOS" */;
767 | buildPhases = (
768 | 2D02E4771E0B4A5D006451C7 /* Sources */,
769 | 2D02E4781E0B4A5D006451C7 /* Frameworks */,
770 | 2D02E4791E0B4A5D006451C7 /* Resources */,
771 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */,
772 | );
773 | buildRules = (
774 | );
775 | dependencies = (
776 | );
777 | name = "RNStoreLocatorExample-tvOS";
778 | productName = "RNStoreLocatorExample-tvOS";
779 | productReference = 2D02E47B1E0B4A5D006451C7 /* RNStoreLocatorExample-tvOS.app */;
780 | productType = "com.apple.product-type.application";
781 | };
782 | 2D02E48F1E0B4A5D006451C7 /* RNStoreLocatorExample-tvOSTests */ = {
783 | isa = PBXNativeTarget;
784 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "RNStoreLocatorExample-tvOSTests" */;
785 | buildPhases = (
786 | 2D02E48C1E0B4A5D006451C7 /* Sources */,
787 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */,
788 | 2D02E48E1E0B4A5D006451C7 /* Resources */,
789 | );
790 | buildRules = (
791 | );
792 | dependencies = (
793 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */,
794 | );
795 | name = "RNStoreLocatorExample-tvOSTests";
796 | productName = "RNStoreLocatorExample-tvOSTests";
797 | productReference = 2D02E4901E0B4A5D006451C7 /* RNStoreLocatorExample-tvOSTests.xctest */;
798 | productType = "com.apple.product-type.bundle.unit-test";
799 | };
800 | /* End PBXNativeTarget section */
801 |
802 | /* Begin PBXProject section */
803 | 83CBB9F71A601CBA00E9B192 /* Project object */ = {
804 | isa = PBXProject;
805 | attributes = {
806 | LastUpgradeCheck = 610;
807 | ORGANIZATIONNAME = Facebook;
808 | TargetAttributes = {
809 | 00E356ED1AD99517003FC87E = {
810 | CreatedOnToolsVersion = 6.2;
811 | DevelopmentTeam = LJX4A8J76B;
812 | TestTargetID = 13B07F861A680F5B00A75B9A;
813 | };
814 | 2D02E47A1E0B4A5D006451C7 = {
815 | CreatedOnToolsVersion = 8.2.1;
816 | ProvisioningStyle = Automatic;
817 | };
818 | 2D02E48F1E0B4A5D006451C7 = {
819 | CreatedOnToolsVersion = 8.2.1;
820 | ProvisioningStyle = Automatic;
821 | TestTargetID = 2D02E47A1E0B4A5D006451C7;
822 | };
823 | };
824 | };
825 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "RNStoreLocatorExample" */;
826 | compatibilityVersion = "Xcode 3.2";
827 | developmentRegion = English;
828 | hasScannedForEncodings = 0;
829 | knownRegions = (
830 | en,
831 | Base,
832 | );
833 | mainGroup = 83CBB9F61A601CBA00E9B192;
834 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */;
835 | projectDirPath = "";
836 | projectReferences = (
837 | {
838 | ProductGroup = C4FD1D3D1FCCC0B300213AF2 /* Products */;
839 | ProjectRef = D69FB7361E704EB3BBDDF4FB /* BVLinearGradient.xcodeproj */;
840 | },
841 | {
842 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */;
843 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
844 | },
845 | {
846 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */;
847 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
848 | },
849 | {
850 | ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */;
851 | ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
852 | },
853 | {
854 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */;
855 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
856 | },
857 | {
858 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */;
859 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
860 | },
861 | {
862 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */;
863 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
864 | },
865 | {
866 | ProductGroup = C41DCCAB1FBE511100895BB4 /* Products */;
867 | ProjectRef = C41DCCAA1FBE511100895BB4 /* RCTMGL.xcodeproj */;
868 | },
869 | {
870 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */;
871 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
872 | },
873 | {
874 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */;
875 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
876 | },
877 | {
878 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */;
879 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
880 | },
881 | {
882 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */;
883 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;
884 | },
885 | {
886 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */;
887 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
888 | },
889 | {
890 | ProductGroup = 146834001AC3E56700842450 /* Products */;
891 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */;
892 | },
893 | {
894 | ProductGroup = C4FD1D791FCCC1E700213AF2 /* Products */;
895 | ProjectRef = C153AC9EE0FE400096B988CE /* RNVectorIcons.xcodeproj */;
896 | },
897 | );
898 | projectRoot = "";
899 | targets = (
900 | 13B07F861A680F5B00A75B9A /* RNStoreLocatorExample */,
901 | 00E356ED1AD99517003FC87E /* RNStoreLocatorExampleTests */,
902 | 2D02E47A1E0B4A5D006451C7 /* RNStoreLocatorExample-tvOS */,
903 | 2D02E48F1E0B4A5D006451C7 /* RNStoreLocatorExample-tvOSTests */,
904 | );
905 | };
906 | /* End PBXProject section */
907 |
908 | /* Begin PBXReferenceProxy section */
909 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = {
910 | isa = PBXReferenceProxy;
911 | fileType = archive.ar;
912 | path = libRCTActionSheet.a;
913 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */;
914 | sourceTree = BUILT_PRODUCTS_DIR;
915 | };
916 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = {
917 | isa = PBXReferenceProxy;
918 | fileType = archive.ar;
919 | path = libRCTGeolocation.a;
920 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */;
921 | sourceTree = BUILT_PRODUCTS_DIR;
922 | };
923 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = {
924 | isa = PBXReferenceProxy;
925 | fileType = archive.ar;
926 | path = libRCTImage.a;
927 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */;
928 | sourceTree = BUILT_PRODUCTS_DIR;
929 | };
930 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = {
931 | isa = PBXReferenceProxy;
932 | fileType = archive.ar;
933 | path = libRCTNetwork.a;
934 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */;
935 | sourceTree = BUILT_PRODUCTS_DIR;
936 | };
937 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = {
938 | isa = PBXReferenceProxy;
939 | fileType = archive.ar;
940 | path = libRCTVibration.a;
941 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */;
942 | sourceTree = BUILT_PRODUCTS_DIR;
943 | };
944 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = {
945 | isa = PBXReferenceProxy;
946 | fileType = archive.ar;
947 | path = libRCTSettings.a;
948 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */;
949 | sourceTree = BUILT_PRODUCTS_DIR;
950 | };
951 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = {
952 | isa = PBXReferenceProxy;
953 | fileType = archive.ar;
954 | path = libRCTWebSocket.a;
955 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */;
956 | sourceTree = BUILT_PRODUCTS_DIR;
957 | };
958 | 146834041AC3E56700842450 /* libReact.a */ = {
959 | isa = PBXReferenceProxy;
960 | fileType = archive.ar;
961 | path = libReact.a;
962 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */;
963 | sourceTree = BUILT_PRODUCTS_DIR;
964 | };
965 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = {
966 | isa = PBXReferenceProxy;
967 | fileType = archive.ar;
968 | path = "libRCTImage-tvOS.a";
969 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */;
970 | sourceTree = BUILT_PRODUCTS_DIR;
971 | };
972 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = {
973 | isa = PBXReferenceProxy;
974 | fileType = archive.ar;
975 | path = "libRCTLinking-tvOS.a";
976 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */;
977 | sourceTree = BUILT_PRODUCTS_DIR;
978 | };
979 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = {
980 | isa = PBXReferenceProxy;
981 | fileType = archive.ar;
982 | path = "libRCTNetwork-tvOS.a";
983 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */;
984 | sourceTree = BUILT_PRODUCTS_DIR;
985 | };
986 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = {
987 | isa = PBXReferenceProxy;
988 | fileType = archive.ar;
989 | path = "libRCTSettings-tvOS.a";
990 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */;
991 | sourceTree = BUILT_PRODUCTS_DIR;
992 | };
993 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = {
994 | isa = PBXReferenceProxy;
995 | fileType = archive.ar;
996 | path = "libRCTText-tvOS.a";
997 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */;
998 | sourceTree = BUILT_PRODUCTS_DIR;
999 | };
1000 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = {
1001 | isa = PBXReferenceProxy;
1002 | fileType = archive.ar;
1003 | path = "libRCTWebSocket-tvOS.a";
1004 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */;
1005 | sourceTree = BUILT_PRODUCTS_DIR;
1006 | };
1007 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = {
1008 | isa = PBXReferenceProxy;
1009 | fileType = archive.ar;
1010 | path = libReact.a;
1011 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */;
1012 | sourceTree = BUILT_PRODUCTS_DIR;
1013 | };
1014 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = {
1015 | isa = PBXReferenceProxy;
1016 | fileType = archive.ar;
1017 | path = libyoga.a;
1018 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */;
1019 | sourceTree = BUILT_PRODUCTS_DIR;
1020 | };
1021 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = {
1022 | isa = PBXReferenceProxy;
1023 | fileType = archive.ar;
1024 | path = libyoga.a;
1025 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */;
1026 | sourceTree = BUILT_PRODUCTS_DIR;
1027 | };
1028 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = {
1029 | isa = PBXReferenceProxy;
1030 | fileType = archive.ar;
1031 | path = libcxxreact.a;
1032 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */;
1033 | sourceTree = BUILT_PRODUCTS_DIR;
1034 | };
1035 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = {
1036 | isa = PBXReferenceProxy;
1037 | fileType = archive.ar;
1038 | path = libcxxreact.a;
1039 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */;
1040 | sourceTree = BUILT_PRODUCTS_DIR;
1041 | };
1042 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = {
1043 | isa = PBXReferenceProxy;
1044 | fileType = archive.ar;
1045 | path = libjschelpers.a;
1046 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */;
1047 | sourceTree = BUILT_PRODUCTS_DIR;
1048 | };
1049 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = {
1050 | isa = PBXReferenceProxy;
1051 | fileType = archive.ar;
1052 | path = libjschelpers.a;
1053 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */;
1054 | sourceTree = BUILT_PRODUCTS_DIR;
1055 | };
1056 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = {
1057 | isa = PBXReferenceProxy;
1058 | fileType = archive.ar;
1059 | path = libRCTAnimation.a;
1060 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
1061 | sourceTree = BUILT_PRODUCTS_DIR;
1062 | };
1063 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = {
1064 | isa = PBXReferenceProxy;
1065 | fileType = archive.ar;
1066 | path = libRCTAnimation.a;
1067 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
1068 | sourceTree = BUILT_PRODUCTS_DIR;
1069 | };
1070 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = {
1071 | isa = PBXReferenceProxy;
1072 | fileType = archive.ar;
1073 | path = libRCTLinking.a;
1074 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */;
1075 | sourceTree = BUILT_PRODUCTS_DIR;
1076 | };
1077 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = {
1078 | isa = PBXReferenceProxy;
1079 | fileType = archive.ar;
1080 | path = libRCTText.a;
1081 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */;
1082 | sourceTree = BUILT_PRODUCTS_DIR;
1083 | };
1084 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = {
1085 | isa = PBXReferenceProxy;
1086 | fileType = archive.ar;
1087 | path = libRCTBlob.a;
1088 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */;
1089 | sourceTree = BUILT_PRODUCTS_DIR;
1090 | };
1091 | C41DCCB31FBE511100895BB4 /* libRCTBlob-tvOS.a */ = {
1092 | isa = PBXReferenceProxy;
1093 | fileType = archive.ar;
1094 | path = "libRCTBlob-tvOS.a";
1095 | remoteRef = C41DCCB21FBE511100895BB4 /* PBXContainerItemProxy */;
1096 | sourceTree = BUILT_PRODUCTS_DIR;
1097 | };
1098 | C41DCCBB1FBE511100895BB4 /* libRCTMGL.a */ = {
1099 | isa = PBXReferenceProxy;
1100 | fileType = archive.ar;
1101 | path = libRCTMGL.a;
1102 | remoteRef = C41DCCBA1FBE511100895BB4 /* PBXContainerItemProxy */;
1103 | sourceTree = BUILT_PRODUCTS_DIR;
1104 | };
1105 | C41DCCC81FBE511100895BB4 /* libfishhook.a */ = {
1106 | isa = PBXReferenceProxy;
1107 | fileType = archive.ar;
1108 | path = libfishhook.a;
1109 | remoteRef = C41DCCC71FBE511100895BB4 /* PBXContainerItemProxy */;
1110 | sourceTree = BUILT_PRODUCTS_DIR;
1111 | };
1112 | C41DCCCA1FBE511100895BB4 /* libfishhook-tvOS.a */ = {
1113 | isa = PBXReferenceProxy;
1114 | fileType = archive.ar;
1115 | path = "libfishhook-tvOS.a";
1116 | remoteRef = C41DCCC91FBE511100895BB4 /* PBXContainerItemProxy */;
1117 | sourceTree = BUILT_PRODUCTS_DIR;
1118 | };
1119 | C41DCD031FBE66EB00895BB4 /* libthird-party.a */ = {
1120 | isa = PBXReferenceProxy;
1121 | fileType = archive.ar;
1122 | path = "libthird-party.a";
1123 | remoteRef = C41DCD021FBE66EB00895BB4 /* PBXContainerItemProxy */;
1124 | sourceTree = BUILT_PRODUCTS_DIR;
1125 | };
1126 | C41DCD051FBE66EB00895BB4 /* libthird-party.a */ = {
1127 | isa = PBXReferenceProxy;
1128 | fileType = archive.ar;
1129 | path = "libthird-party.a";
1130 | remoteRef = C41DCD041FBE66EB00895BB4 /* PBXContainerItemProxy */;
1131 | sourceTree = BUILT_PRODUCTS_DIR;
1132 | };
1133 | C41DCD071FBE66EB00895BB4 /* libdouble-conversion.a */ = {
1134 | isa = PBXReferenceProxy;
1135 | fileType = archive.ar;
1136 | path = "libdouble-conversion.a";
1137 | remoteRef = C41DCD061FBE66EB00895BB4 /* PBXContainerItemProxy */;
1138 | sourceTree = BUILT_PRODUCTS_DIR;
1139 | };
1140 | C41DCD091FBE66EB00895BB4 /* libdouble-conversion.a */ = {
1141 | isa = PBXReferenceProxy;
1142 | fileType = archive.ar;
1143 | path = "libdouble-conversion.a";
1144 | remoteRef = C41DCD081FBE66EB00895BB4 /* PBXContainerItemProxy */;
1145 | sourceTree = BUILT_PRODUCTS_DIR;
1146 | };
1147 | C41DCD0B1FBE66EB00895BB4 /* libprivatedata.a */ = {
1148 | isa = PBXReferenceProxy;
1149 | fileType = archive.ar;
1150 | path = libprivatedata.a;
1151 | remoteRef = C41DCD0A1FBE66EB00895BB4 /* PBXContainerItemProxy */;
1152 | sourceTree = BUILT_PRODUCTS_DIR;
1153 | };
1154 | C41DCD0D1FBE66EB00895BB4 /* libprivatedata-tvOS.a */ = {
1155 | isa = PBXReferenceProxy;
1156 | fileType = archive.ar;
1157 | path = "libprivatedata-tvOS.a";
1158 | remoteRef = C41DCD0C1FBE66EB00895BB4 /* PBXContainerItemProxy */;
1159 | sourceTree = BUILT_PRODUCTS_DIR;
1160 | };
1161 | C4FD1D421FCCC0B300213AF2 /* libBVLinearGradient.a */ = {
1162 | isa = PBXReferenceProxy;
1163 | fileType = archive.ar;
1164 | path = libBVLinearGradient.a;
1165 | remoteRef = C4FD1D411FCCC0B300213AF2 /* PBXContainerItemProxy */;
1166 | sourceTree = BUILT_PRODUCTS_DIR;
1167 | };
1168 | C4FD1D441FCCC0B300213AF2 /* libBVLinearGradient.a */ = {
1169 | isa = PBXReferenceProxy;
1170 | fileType = archive.ar;
1171 | path = libBVLinearGradient.a;
1172 | remoteRef = C4FD1D431FCCC0B300213AF2 /* PBXContainerItemProxy */;
1173 | sourceTree = BUILT_PRODUCTS_DIR;
1174 | };
1175 | C4FD1D7D1FCCC1E700213AF2 /* libRNVectorIcons.a */ = {
1176 | isa = PBXReferenceProxy;
1177 | fileType = archive.ar;
1178 | path = libRNVectorIcons.a;
1179 | remoteRef = C4FD1D7C1FCCC1E700213AF2 /* PBXContainerItemProxy */;
1180 | sourceTree = BUILT_PRODUCTS_DIR;
1181 | };
1182 | /* End PBXReferenceProxy section */
1183 |
1184 | /* Begin PBXResourcesBuildPhase section */
1185 | 00E356EC1AD99517003FC87E /* Resources */ = {
1186 | isa = PBXResourcesBuildPhase;
1187 | buildActionMask = 2147483647;
1188 | files = (
1189 | );
1190 | runOnlyForDeploymentPostprocessing = 0;
1191 | };
1192 | 13B07F8E1A680F5B00A75B9A /* Resources */ = {
1193 | isa = PBXResourcesBuildPhase;
1194 | buildActionMask = 2147483647;
1195 | files = (
1196 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
1197 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */,
1198 | 32AF839E6AC34016843B26CF /* Entypo.ttf in Resources */,
1199 | 2BC151C0DFF44CD1929107AD /* EvilIcons.ttf in Resources */,
1200 | 75AC49E9A26240B3ADD2B0AA /* Feather.ttf in Resources */,
1201 | 31ACFFC20B04452DAED1BD45 /* FontAwesome.ttf in Resources */,
1202 | E9514ACB1E234D6489631CE8 /* Foundation.ttf in Resources */,
1203 | 2E9510F5820B49BBA050712F /* Ionicons.ttf in Resources */,
1204 | 67B3ECEC529B4408BFF203E5 /* MaterialCommunityIcons.ttf in Resources */,
1205 | 48A93F8FD6CE42FF9F96FC37 /* MaterialIcons.ttf in Resources */,
1206 | 7C08E6FC890B43E9B0B98288 /* Octicons.ttf in Resources */,
1207 | 276748D1AE21436788731E18 /* SimpleLineIcons.ttf in Resources */,
1208 | 70BB300A269E4EAB8FCF14A1 /* Zocial.ttf in Resources */,
1209 | );
1210 | runOnlyForDeploymentPostprocessing = 0;
1211 | };
1212 | 2D02E4791E0B4A5D006451C7 /* Resources */ = {
1213 | isa = PBXResourcesBuildPhase;
1214 | buildActionMask = 2147483647;
1215 | files = (
1216 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */,
1217 | );
1218 | runOnlyForDeploymentPostprocessing = 0;
1219 | };
1220 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = {
1221 | isa = PBXResourcesBuildPhase;
1222 | buildActionMask = 2147483647;
1223 | files = (
1224 | );
1225 | runOnlyForDeploymentPostprocessing = 0;
1226 | };
1227 | /* End PBXResourcesBuildPhase section */
1228 |
1229 | /* Begin PBXShellScriptBuildPhase section */
1230 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = {
1231 | isa = PBXShellScriptBuildPhase;
1232 | buildActionMask = 2147483647;
1233 | files = (
1234 | );
1235 | inputPaths = (
1236 | );
1237 | name = "Bundle React Native code and images";
1238 | outputPaths = (
1239 | );
1240 | runOnlyForDeploymentPostprocessing = 0;
1241 | shellPath = /bin/sh;
1242 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
1243 | };
1244 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = {
1245 | isa = PBXShellScriptBuildPhase;
1246 | buildActionMask = 2147483647;
1247 | files = (
1248 | );
1249 | inputPaths = (
1250 | );
1251 | name = "Bundle React Native Code And Images";
1252 | outputPaths = (
1253 | );
1254 | runOnlyForDeploymentPostprocessing = 0;
1255 | shellPath = /bin/sh;
1256 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
1257 | };
1258 | /* End PBXShellScriptBuildPhase section */
1259 |
1260 | /* Begin PBXSourcesBuildPhase section */
1261 | 00E356EA1AD99517003FC87E /* Sources */ = {
1262 | isa = PBXSourcesBuildPhase;
1263 | buildActionMask = 2147483647;
1264 | files = (
1265 | 00E356F31AD99517003FC87E /* RNStoreLocatorExampleTests.m in Sources */,
1266 | );
1267 | runOnlyForDeploymentPostprocessing = 0;
1268 | };
1269 | 13B07F871A680F5B00A75B9A /* Sources */ = {
1270 | isa = PBXSourcesBuildPhase;
1271 | buildActionMask = 2147483647;
1272 | files = (
1273 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */,
1274 | 13B07FC11A68108700A75B9A /* main.m in Sources */,
1275 | );
1276 | runOnlyForDeploymentPostprocessing = 0;
1277 | };
1278 | 2D02E4771E0B4A5D006451C7 /* Sources */ = {
1279 | isa = PBXSourcesBuildPhase;
1280 | buildActionMask = 2147483647;
1281 | files = (
1282 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */,
1283 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */,
1284 | );
1285 | runOnlyForDeploymentPostprocessing = 0;
1286 | };
1287 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = {
1288 | isa = PBXSourcesBuildPhase;
1289 | buildActionMask = 2147483647;
1290 | files = (
1291 | 2DCD954D1E0B4F2C00145EB5 /* RNStoreLocatorExampleTests.m in Sources */,
1292 | );
1293 | runOnlyForDeploymentPostprocessing = 0;
1294 | };
1295 | /* End PBXSourcesBuildPhase section */
1296 |
1297 | /* Begin PBXTargetDependency section */
1298 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = {
1299 | isa = PBXTargetDependency;
1300 | target = 13B07F861A680F5B00A75B9A /* RNStoreLocatorExample */;
1301 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */;
1302 | };
1303 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = {
1304 | isa = PBXTargetDependency;
1305 | target = 2D02E47A1E0B4A5D006451C7 /* RNStoreLocatorExample-tvOS */;
1306 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */;
1307 | };
1308 | /* End PBXTargetDependency section */
1309 |
1310 | /* Begin PBXVariantGroup section */
1311 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = {
1312 | isa = PBXVariantGroup;
1313 | children = (
1314 | 13B07FB21A68108700A75B9A /* Base */,
1315 | );
1316 | name = LaunchScreen.xib;
1317 | path = RNStoreLocatorExample;
1318 | sourceTree = "";
1319 | };
1320 | /* End PBXVariantGroup section */
1321 |
1322 | /* Begin XCBuildConfiguration section */
1323 | 00E356F61AD99517003FC87E /* Debug */ = {
1324 | isa = XCBuildConfiguration;
1325 | buildSettings = {
1326 | BUNDLE_LOADER = "$(TEST_HOST)";
1327 | DEVELOPMENT_TEAM = LJX4A8J76B;
1328 | GCC_PREPROCESSOR_DEFINITIONS = (
1329 | "DEBUG=1",
1330 | "$(inherited)",
1331 | );
1332 | HEADER_SEARCH_PATHS = (
1333 | "$(inherited)",
1334 | "$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient",
1335 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager",
1336 | );
1337 | INFOPLIST_FILE = RNStoreLocatorExampleTests/Info.plist;
1338 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1339 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1340 | LIBRARY_SEARCH_PATHS = (
1341 | "$(inherited)",
1342 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1343 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1344 | );
1345 | OTHER_LDFLAGS = (
1346 | "-ObjC",
1347 | "-lc++",
1348 | );
1349 | PRODUCT_NAME = "$(TARGET_NAME)";
1350 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/RNStoreLocatorExample.app/RNStoreLocatorExample";
1351 | };
1352 | name = Debug;
1353 | };
1354 | 00E356F71AD99517003FC87E /* Release */ = {
1355 | isa = XCBuildConfiguration;
1356 | buildSettings = {
1357 | BUNDLE_LOADER = "$(TEST_HOST)";
1358 | COPY_PHASE_STRIP = NO;
1359 | DEVELOPMENT_TEAM = LJX4A8J76B;
1360 | HEADER_SEARCH_PATHS = (
1361 | "$(inherited)",
1362 | "$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient",
1363 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager",
1364 | );
1365 | INFOPLIST_FILE = RNStoreLocatorExampleTests/Info.plist;
1366 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1367 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1368 | LIBRARY_SEARCH_PATHS = (
1369 | "$(inherited)",
1370 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1371 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1372 | );
1373 | OTHER_LDFLAGS = (
1374 | "-ObjC",
1375 | "-lc++",
1376 | );
1377 | PRODUCT_NAME = "$(TARGET_NAME)";
1378 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/RNStoreLocatorExample.app/RNStoreLocatorExample";
1379 | };
1380 | name = Release;
1381 | };
1382 | 13B07F941A680F5B00A75B9A /* Debug */ = {
1383 | isa = XCBuildConfiguration;
1384 | buildSettings = {
1385 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1386 | CURRENT_PROJECT_VERSION = 1;
1387 | DEAD_CODE_STRIPPING = NO;
1388 | DEVELOPMENT_TEAM = "";
1389 | FRAMEWORK_SEARCH_PATHS = "$(PROJECT_DIR)/../node_modules/@mapbox/react-native-mapbox-gl/ios";
1390 | HEADER_SEARCH_PATHS = (
1391 | "$(inherited)",
1392 | "$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient",
1393 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager",
1394 | );
1395 | INFOPLIST_FILE = RNStoreLocatorExample/Info.plist;
1396 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1397 | OTHER_LDFLAGS = (
1398 | "$(inherited)",
1399 | "-ObjC",
1400 | "-lc++",
1401 | );
1402 | PRODUCT_NAME = RNStoreLocatorExample;
1403 | TARGETED_DEVICE_FAMILY = "1,2";
1404 | VERSIONING_SYSTEM = "apple-generic";
1405 | };
1406 | name = Debug;
1407 | };
1408 | 13B07F951A680F5B00A75B9A /* Release */ = {
1409 | isa = XCBuildConfiguration;
1410 | buildSettings = {
1411 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1412 | CURRENT_PROJECT_VERSION = 1;
1413 | DEVELOPMENT_TEAM = "";
1414 | FRAMEWORK_SEARCH_PATHS = "$(PROJECT_DIR)/../node_modules/@mapbox/react-native-mapbox-gl/ios";
1415 | HEADER_SEARCH_PATHS = (
1416 | "$(inherited)",
1417 | "$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient",
1418 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager",
1419 | );
1420 | INFOPLIST_FILE = RNStoreLocatorExample/Info.plist;
1421 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1422 | OTHER_LDFLAGS = (
1423 | "$(inherited)",
1424 | "-ObjC",
1425 | "-lc++",
1426 | );
1427 | PRODUCT_NAME = RNStoreLocatorExample;
1428 | TARGETED_DEVICE_FAMILY = "1,2";
1429 | VERSIONING_SYSTEM = "apple-generic";
1430 | };
1431 | name = Release;
1432 | };
1433 | 2D02E4971E0B4A5E006451C7 /* Debug */ = {
1434 | isa = XCBuildConfiguration;
1435 | buildSettings = {
1436 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
1437 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
1438 | CLANG_ANALYZER_NONNULL = YES;
1439 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1440 | CLANG_WARN_INFINITE_RECURSION = YES;
1441 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1442 | DEBUG_INFORMATION_FORMAT = dwarf;
1443 | ENABLE_TESTABILITY = YES;
1444 | GCC_NO_COMMON_BLOCKS = YES;
1445 | HEADER_SEARCH_PATHS = (
1446 | "$(inherited)",
1447 | "$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient",
1448 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager",
1449 | );
1450 | INFOPLIST_FILE = "RNStoreLocatorExample-tvOS/Info.plist";
1451 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1452 | LIBRARY_SEARCH_PATHS = (
1453 | "$(inherited)",
1454 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1455 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1456 | );
1457 | OTHER_LDFLAGS = (
1458 | "-ObjC",
1459 | "-lc++",
1460 | );
1461 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.RNStoreLocatorExample-tvOS";
1462 | PRODUCT_NAME = "$(TARGET_NAME)";
1463 | SDKROOT = appletvos;
1464 | TARGETED_DEVICE_FAMILY = 3;
1465 | TVOS_DEPLOYMENT_TARGET = 9.2;
1466 | };
1467 | name = Debug;
1468 | };
1469 | 2D02E4981E0B4A5E006451C7 /* Release */ = {
1470 | isa = XCBuildConfiguration;
1471 | buildSettings = {
1472 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
1473 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
1474 | CLANG_ANALYZER_NONNULL = YES;
1475 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1476 | CLANG_WARN_INFINITE_RECURSION = YES;
1477 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1478 | COPY_PHASE_STRIP = NO;
1479 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1480 | GCC_NO_COMMON_BLOCKS = YES;
1481 | HEADER_SEARCH_PATHS = (
1482 | "$(inherited)",
1483 | "$(SRCROOT)/../node_modules/react-native-linear-gradient/BVLinearGradient",
1484 | "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager",
1485 | );
1486 | INFOPLIST_FILE = "RNStoreLocatorExample-tvOS/Info.plist";
1487 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1488 | LIBRARY_SEARCH_PATHS = (
1489 | "$(inherited)",
1490 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1491 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1492 | );
1493 | OTHER_LDFLAGS = (
1494 | "-ObjC",
1495 | "-lc++",
1496 | );
1497 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.RNStoreLocatorExample-tvOS";
1498 | PRODUCT_NAME = "$(TARGET_NAME)";
1499 | SDKROOT = appletvos;
1500 | TARGETED_DEVICE_FAMILY = 3;
1501 | TVOS_DEPLOYMENT_TARGET = 9.2;
1502 | };
1503 | name = Release;
1504 | };
1505 | 2D02E4991E0B4A5E006451C7 /* Debug */ = {
1506 | isa = XCBuildConfiguration;
1507 | buildSettings = {
1508 | BUNDLE_LOADER = "$(TEST_HOST)";
1509 | CLANG_ANALYZER_NONNULL = YES;
1510 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1511 | CLANG_WARN_INFINITE_RECURSION = YES;
1512 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1513 | DEBUG_INFORMATION_FORMAT = dwarf;
1514 | ENABLE_TESTABILITY = YES;
1515 | GCC_NO_COMMON_BLOCKS = YES;
1516 | INFOPLIST_FILE = "RNStoreLocatorExample-tvOSTests/Info.plist";
1517 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1518 | LIBRARY_SEARCH_PATHS = (
1519 | "$(inherited)",
1520 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1521 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1522 | );
1523 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.RNStoreLocatorExample-tvOSTests";
1524 | PRODUCT_NAME = "$(TARGET_NAME)";
1525 | SDKROOT = appletvos;
1526 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/RNStoreLocatorExample-tvOS.app/RNStoreLocatorExample-tvOS";
1527 | TVOS_DEPLOYMENT_TARGET = 10.1;
1528 | };
1529 | name = Debug;
1530 | };
1531 | 2D02E49A1E0B4A5E006451C7 /* Release */ = {
1532 | isa = XCBuildConfiguration;
1533 | buildSettings = {
1534 | BUNDLE_LOADER = "$(TEST_HOST)";
1535 | CLANG_ANALYZER_NONNULL = YES;
1536 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1537 | CLANG_WARN_INFINITE_RECURSION = YES;
1538 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1539 | COPY_PHASE_STRIP = NO;
1540 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1541 | GCC_NO_COMMON_BLOCKS = YES;
1542 | INFOPLIST_FILE = "RNStoreLocatorExample-tvOSTests/Info.plist";
1543 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1544 | LIBRARY_SEARCH_PATHS = (
1545 | "$(inherited)",
1546 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1547 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1548 | );
1549 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.RNStoreLocatorExample-tvOSTests";
1550 | PRODUCT_NAME = "$(TARGET_NAME)";
1551 | SDKROOT = appletvos;
1552 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/RNStoreLocatorExample-tvOS.app/RNStoreLocatorExample-tvOS";
1553 | TVOS_DEPLOYMENT_TARGET = 10.1;
1554 | };
1555 | name = Release;
1556 | };
1557 | 83CBBA201A601CBA00E9B192 /* Debug */ = {
1558 | isa = XCBuildConfiguration;
1559 | buildSettings = {
1560 | ALWAYS_SEARCH_USER_PATHS = NO;
1561 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
1562 | CLANG_CXX_LIBRARY = "libc++";
1563 | CLANG_ENABLE_MODULES = YES;
1564 | CLANG_ENABLE_OBJC_ARC = YES;
1565 | CLANG_WARN_BOOL_CONVERSION = YES;
1566 | CLANG_WARN_CONSTANT_CONVERSION = YES;
1567 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
1568 | CLANG_WARN_EMPTY_BODY = YES;
1569 | CLANG_WARN_ENUM_CONVERSION = YES;
1570 | CLANG_WARN_INT_CONVERSION = YES;
1571 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
1572 | CLANG_WARN_UNREACHABLE_CODE = YES;
1573 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1574 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1575 | COPY_PHASE_STRIP = NO;
1576 | ENABLE_STRICT_OBJC_MSGSEND = YES;
1577 | GCC_C_LANGUAGE_STANDARD = gnu99;
1578 | GCC_DYNAMIC_NO_PIC = NO;
1579 | GCC_OPTIMIZATION_LEVEL = 0;
1580 | GCC_PREPROCESSOR_DEFINITIONS = (
1581 | "DEBUG=1",
1582 | "$(inherited)",
1583 | );
1584 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
1585 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
1586 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
1587 | GCC_WARN_UNDECLARED_SELECTOR = YES;
1588 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
1589 | GCC_WARN_UNUSED_FUNCTION = YES;
1590 | GCC_WARN_UNUSED_VARIABLE = YES;
1591 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1592 | MTL_ENABLE_DEBUG_INFO = YES;
1593 | ONLY_ACTIVE_ARCH = YES;
1594 | SDKROOT = iphoneos;
1595 | };
1596 | name = Debug;
1597 | };
1598 | 83CBBA211A601CBA00E9B192 /* Release */ = {
1599 | isa = XCBuildConfiguration;
1600 | buildSettings = {
1601 | ALWAYS_SEARCH_USER_PATHS = NO;
1602 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
1603 | CLANG_CXX_LIBRARY = "libc++";
1604 | CLANG_ENABLE_MODULES = YES;
1605 | CLANG_ENABLE_OBJC_ARC = YES;
1606 | CLANG_WARN_BOOL_CONVERSION = YES;
1607 | CLANG_WARN_CONSTANT_CONVERSION = YES;
1608 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
1609 | CLANG_WARN_EMPTY_BODY = YES;
1610 | CLANG_WARN_ENUM_CONVERSION = YES;
1611 | CLANG_WARN_INT_CONVERSION = YES;
1612 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
1613 | CLANG_WARN_UNREACHABLE_CODE = YES;
1614 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1615 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1616 | COPY_PHASE_STRIP = YES;
1617 | ENABLE_NS_ASSERTIONS = NO;
1618 | ENABLE_STRICT_OBJC_MSGSEND = YES;
1619 | GCC_C_LANGUAGE_STANDARD = gnu99;
1620 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
1621 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
1622 | GCC_WARN_UNDECLARED_SELECTOR = YES;
1623 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
1624 | GCC_WARN_UNUSED_FUNCTION = YES;
1625 | GCC_WARN_UNUSED_VARIABLE = YES;
1626 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1627 | MTL_ENABLE_DEBUG_INFO = NO;
1628 | SDKROOT = iphoneos;
1629 | VALIDATE_PRODUCT = YES;
1630 | };
1631 | name = Release;
1632 | };
1633 | /* End XCBuildConfiguration section */
1634 |
1635 | /* Begin XCConfigurationList section */
1636 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "RNStoreLocatorExampleTests" */ = {
1637 | isa = XCConfigurationList;
1638 | buildConfigurations = (
1639 | 00E356F61AD99517003FC87E /* Debug */,
1640 | 00E356F71AD99517003FC87E /* Release */,
1641 | );
1642 | defaultConfigurationIsVisible = 0;
1643 | defaultConfigurationName = Release;
1644 | };
1645 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "RNStoreLocatorExample" */ = {
1646 | isa = XCConfigurationList;
1647 | buildConfigurations = (
1648 | 13B07F941A680F5B00A75B9A /* Debug */,
1649 | 13B07F951A680F5B00A75B9A /* Release */,
1650 | );
1651 | defaultConfigurationIsVisible = 0;
1652 | defaultConfigurationName = Release;
1653 | };
1654 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "RNStoreLocatorExample-tvOS" */ = {
1655 | isa = XCConfigurationList;
1656 | buildConfigurations = (
1657 | 2D02E4971E0B4A5E006451C7 /* Debug */,
1658 | 2D02E4981E0B4A5E006451C7 /* Release */,
1659 | );
1660 | defaultConfigurationIsVisible = 0;
1661 | defaultConfigurationName = Release;
1662 | };
1663 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "RNStoreLocatorExample-tvOSTests" */ = {
1664 | isa = XCConfigurationList;
1665 | buildConfigurations = (
1666 | 2D02E4991E0B4A5E006451C7 /* Debug */,
1667 | 2D02E49A1E0B4A5E006451C7 /* Release */,
1668 | );
1669 | defaultConfigurationIsVisible = 0;
1670 | defaultConfigurationName = Release;
1671 | };
1672 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "RNStoreLocatorExample" */ = {
1673 | isa = XCConfigurationList;
1674 | buildConfigurations = (
1675 | 83CBBA201A601CBA00E9B192 /* Debug */,
1676 | 83CBBA211A601CBA00E9B192 /* Release */,
1677 | );
1678 | defaultConfigurationIsVisible = 0;
1679 | defaultConfigurationName = Release;
1680 | };
1681 | /* End XCConfigurationList section */
1682 | };
1683 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */;
1684 | }
1685 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/ios/RNStoreLocatorExample.xcodeproj/xcshareddata/xcschemes/RNStoreLocatorExample-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 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/ios/RNStoreLocatorExample.xcodeproj/xcshareddata/xcschemes/RNStoreLocatorExample.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
29 |
35 |
36 |
37 |
43 |
49 |
50 |
51 |
52 |
53 |
59 |
60 |
62 |
68 |
69 |
70 |
71 |
72 |
78 |
79 |
80 |
81 |
82 |
83 |
94 |
96 |
102 |
103 |
104 |
105 |
106 |
107 |
113 |
115 |
121 |
122 |
123 |
124 |
126 |
127 |
130 |
131 |
132 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/ios/RNStoreLocatorExample/AppDelegate.h:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015-present, Facebook, Inc.
3 | * All rights reserved.
4 | *
5 | * This source code is licensed under the BSD-style license found in the
6 | * LICENSE file in the root directory of this source tree. An additional grant
7 | * of patent rights can be found in the PATENTS file in the same directory.
8 | */
9 |
10 | #import
11 |
12 | @interface AppDelegate : UIResponder
13 |
14 | @property (nonatomic, strong) UIWindow *window;
15 |
16 | @end
17 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/ios/RNStoreLocatorExample/AppDelegate.m:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015-present, Facebook, Inc.
3 | * All rights reserved.
4 | *
5 | * This source code is licensed under the BSD-style license found in the
6 | * LICENSE file in the root directory of this source tree. An additional grant
7 | * of patent rights can be found in the PATENTS file in the same directory.
8 | */
9 |
10 | #import "AppDelegate.h"
11 |
12 | #import
13 | #import
14 |
15 | @implementation AppDelegate
16 |
17 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
18 | {
19 | NSURL *jsCodeLocation;
20 |
21 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];
22 |
23 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
24 | moduleName:@"RNStoreLocatorExample"
25 | initialProperties:nil
26 | launchOptions:launchOptions];
27 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
28 |
29 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
30 | UIViewController *rootViewController = [UIViewController new];
31 | rootViewController.view = rootView;
32 | self.window.rootViewController = rootViewController;
33 | [self.window makeKeyAndVisible];
34 | return YES;
35 | }
36 |
37 | @end
38 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/ios/RNStoreLocatorExample/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 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/ios/RNStoreLocatorExample/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 | }
--------------------------------------------------------------------------------
/RNStoreLocatorExample/ios/RNStoreLocatorExample/Images.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/ios/RNStoreLocatorExample/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | LSApplicationQueriesSchemes
6 |
7 | file
8 |
9 | CFBundleDevelopmentRegion
10 | en
11 | CFBundleDisplayName
12 | RNStoreLocatorExample
13 | CFBundleExecutable
14 | $(EXECUTABLE_NAME)
15 | CFBundleIdentifier
16 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)
17 | CFBundleInfoDictionaryVersion
18 | 6.0
19 | CFBundleName
20 | $(PRODUCT_NAME)
21 | CFBundlePackageType
22 | APPL
23 | CFBundleShortVersionString
24 | 1.0
25 | CFBundleSignature
26 | ????
27 | CFBundleVersion
28 | 1
29 | LSRequiresIPhoneOS
30 |
31 | NSAppTransportSecurity
32 |
33 | NSExceptionDomains
34 |
35 | localhost
36 |
37 | NSExceptionAllowsInsecureHTTPLoads
38 |
39 |
40 |
41 |
42 | NSLocationWhenInUseUsageDescription
43 |
44 | UILaunchStoryboardName
45 | LaunchScreen
46 | UIRequiredDeviceCapabilities
47 |
48 | armv7
49 |
50 | UISupportedInterfaceOrientations
51 |
52 | UIInterfaceOrientationPortrait
53 |
54 | UIViewControllerBasedStatusBarAppearance
55 |
56 | UIAppFonts
57 |
58 | Entypo.ttf
59 | EvilIcons.ttf
60 | Feather.ttf
61 | FontAwesome.ttf
62 | Foundation.ttf
63 | Ionicons.ttf
64 | MaterialCommunityIcons.ttf
65 | MaterialIcons.ttf
66 | Octicons.ttf
67 | SimpleLineIcons.ttf
68 | Zocial.ttf
69 |
70 |
71 |
72 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/ios/RNStoreLocatorExample/main.m:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015-present, Facebook, Inc.
3 | * All rights reserved.
4 | *
5 | * This source code is licensed under the BSD-style license found in the
6 | * LICENSE file in the root directory of this source tree. An additional grant
7 | * of patent rights can be found in the PATENTS file in the same directory.
8 | */
9 |
10 | #import
11 |
12 | #import "AppDelegate.h"
13 |
14 | int main(int argc, char * argv[]) {
15 | @autoreleasepool {
16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/ios/RNStoreLocatorExampleTests/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 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/ios/RNStoreLocatorExampleTests/RNStoreLocatorExampleTests.m:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015-present, Facebook, Inc.
3 | * All rights reserved.
4 | *
5 | * This source code is licensed under the BSD-style license found in the
6 | * LICENSE file in the root directory of this source tree. An additional grant
7 | * of patent rights can be found in the PATENTS file in the same directory.
8 | */
9 |
10 | #import
11 | #import
12 |
13 | #import
14 | #import
15 |
16 | #define TIMEOUT_SECONDS 600
17 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!"
18 |
19 | @interface RNStoreLocatorExampleTests : XCTestCase
20 |
21 | @end
22 |
23 | @implementation RNStoreLocatorExampleTests
24 |
25 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test
26 | {
27 | if (test(view)) {
28 | return YES;
29 | }
30 | for (UIView *subview in [view subviews]) {
31 | if ([self findSubviewInView:subview matching:test]) {
32 | return YES;
33 | }
34 | }
35 | return NO;
36 | }
37 |
38 | - (void)testRendersWelcomeScreen
39 | {
40 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController];
41 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS];
42 | BOOL foundElement = NO;
43 |
44 | __block NSString *redboxError = nil;
45 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) {
46 | if (level >= RCTLogLevelError) {
47 | redboxError = message;
48 | }
49 | });
50 |
51 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) {
52 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
53 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
54 |
55 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) {
56 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) {
57 | return YES;
58 | }
59 | return NO;
60 | }];
61 | }
62 |
63 | RCTSetLogFunction(RCTDefaultLogFunction);
64 |
65 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError);
66 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS);
67 | }
68 |
69 |
70 | @end
71 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "RNStoreLocatorExample",
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 | "preinstall": "./scripts/npm_pack.sh"
9 | },
10 | "dependencies": {
11 | "@mapbox/react-native-mapbox-gl": "6.0.2",
12 | "@mapbox/store-locator-react-native": "file:../mapbox-store-locator-react-native-0.0.1.tgz",
13 | "@turf/bbox": "^5.0.4",
14 | "@turf/distance": "^5.0.4",
15 | "prop-types": "^15.6.0",
16 | "react": "16.0.0",
17 | "react-native": "^0.50.4",
18 | "react-native-linear-gradient": "^2.3.0",
19 | "react-native-vector-icons": "^4.4.2"
20 | },
21 | "devDependencies": {
22 | "babel-jest": "21.2.0",
23 | "babel-preset-react-native": "4.0.0",
24 | "jest": "21.2.1",
25 | "react-test-renderer": "16.0.0"
26 | },
27 | "jest": {
28 | "preset": "react-native"
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/scripts/npm_pack.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | echo "Moving into store-locator-react-native"
4 | cd ../
5 |
6 | echo "Attempting to npm pack store-locator-react-native"
7 | npm pack
8 |
9 | cd RNStoreLocatorExample
10 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/src/App.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 |
3 | import {
4 | View,
5 | Text,
6 | Platform,
7 | Modal,
8 | FlatList,
9 | Image,
10 | TouchableOpacity,
11 | StatusBar,
12 | StyleSheet,
13 | } from 'react-native';
14 |
15 | import MapboxGL from '@mapbox/react-native-mapbox-gl';
16 | import StoreLocatorKit from '@mapbox/store-locator-react-native';
17 | import LinearGradient from 'react-native-linear-gradient';
18 | import Icon from 'react-native-vector-icons/MaterialIcons';
19 |
20 | import places from '../assets/places.json';
21 |
22 | import {
23 | purpleTheme,
24 | blueTheme,
25 | greenTheme,
26 | grayTheme,
27 | neutralTheme,
28 | } from './themes';
29 |
30 | const IS_IOS = Platform.OS === 'ios';
31 | const MAPBOX_ACCESS_TOKEN = 'Enter access token';
32 |
33 | const ThemeList = [
34 | {
35 | name: 'Blue Theme',
36 | theme: blueTheme,
37 | image: require('../assets/blue_button_image.png'),
38 | },
39 | {
40 | name: 'Purple Theme',
41 | theme: purpleTheme,
42 | image: require('../assets/purple_button_image.png'),
43 | },
44 | {
45 | name: 'Green Theme',
46 | theme: greenTheme,
47 | image: require('../assets/green_button_image.png'),
48 | },
49 | {
50 | name: 'Gray Theme',
51 | theme: grayTheme,
52 | image: require('../assets/gray_button_image.png'),
53 | },
54 | {
55 | name: 'Neutral Theme',
56 | theme: neutralTheme,
57 | image: require('../assets/neutral_button_image.png'),
58 | },
59 | ];
60 |
61 | const styles = StyleSheet.create({
62 | matchParent: {
63 | flex: 1,
64 | },
65 | mapHeader: {
66 | position: 'absolute',
67 | top: 0,
68 | left: 0,
69 | right: 0,
70 | height: 120,
71 | backgroundColor: 'transparent',
72 | },
73 | mapGradient: {
74 | flex: 1,
75 | height: 120,
76 | },
77 | mapHeaderText: {
78 | fontSize: 24,
79 | color: 'white',
80 | alignSelf: 'center',
81 | position: 'relative',
82 | top: -60,
83 | },
84 | backArrow: {
85 | position: 'absolute',
86 | top: 32,
87 | left: 24,
88 | },
89 | });
90 |
91 | class App extends React.Component {
92 | constructor (props) {
93 | super(props);
94 |
95 | this.state = {
96 | isGranted: IS_IOS,
97 | activeTheme: null,
98 | initialLocation: [-77.034084, 38.90],
99 | };
100 |
101 | this.onDismiss = this.onDismiss.bind(this);
102 | this.renderThemeItem = this.renderThemeItem.bind(this);
103 | }
104 |
105 | async componentWillMount () {
106 | if (!IS_IOS) {
107 | const isGranted = await MapboxGL.requestAndroidLocationPermissions();
108 | this.setState({ isGranted: isGranted });
109 | }
110 | MapboxGL.setAccessToken(MAPBOX_ACCESS_TOKEN);
111 | }
112 |
113 | onDismiss () {
114 | StatusBar.setBarStyle('dark-content');
115 | this.setState({ activeTheme: null });
116 | }
117 |
118 | renderThemeItem ({ item, index }) {
119 | const marginTop = index === 0 ? 16 : 8;
120 | const marginBottom = 8;
121 |
122 | const style = {
123 | flex: 1,
124 | height: 120,
125 | marginTop: marginTop,
126 | marginBottom: marginBottom,
127 | alignItems: 'center',
128 | justifyContent: 'center',
129 | backgroundColor: item.theme.primaryColor,
130 | };
131 |
132 | return (
133 | this.setState({ activeTheme: item.theme })}>
134 |
135 |
136 |
137 |
138 | );
139 | }
140 |
141 | renderThemeList () {
142 | return (
143 |
144 |
145 | Tap a theme
146 |
147 | item.name}
150 | renderItem={this.renderThemeItem} />
151 |
152 | );
153 | }
154 |
155 | renderMap () {
156 | if (!this.state.activeTheme) {
157 | return null;
158 | }
159 |
160 | StatusBar.setBarStyle('light-content');
161 |
162 | return (
163 |
168 |
169 |
177 |
178 |
179 |
182 |
183 |
189 |
190 | Store Locator
191 |
192 |
193 |
194 | );
195 | }
196 |
197 | render () {
198 | if (!this.state.isGranted) {
199 | return null;
200 | }
201 | return (
202 |
203 | {this.renderThemeList()}
204 | {this.renderMap()}
205 |
206 | );
207 | }
208 | }
209 |
210 | export default App;
211 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/src/themes.js:
--------------------------------------------------------------------------------
1 | import MapboxGL from '@mapbox/react-native-mapbox-gl';
2 | import StoreLocatorKit from '@mapbox/store-locator-react-native';
3 |
4 | import purpleUnselectedBurger from '../assets/purple_unselected_burger.png';
5 | import purpleSelectedBurger from '../assets/purple_selected_burger.png';
6 | import blueUnselectedIceCream from '../assets/blue_unselected_ice_cream.png';
7 | import blueSelectedIceCream from '../assets/blue_selected_ice_cream.png';
8 | import greenUnselectedMoney from '../assets/green_unselected_money.png';
9 | import greenSelectedMoney from '../assets/green_selected_money.png';
10 | import grayUnselectedBike from '../assets/white_unselected_bike.png';
11 | import graySelectedBike from '../assets/gray_selected_bike.png';
12 | import whiteUnselectedHouse from '../assets/white_unselected_house.png';
13 | import whiteSelectedHouse from '../assets/gray_selected_house.png';
14 |
15 | import bicycleIcon from '../assets/bicycle_icon.png';
16 | import cheeseBurgerIcon from '../assets/cheese_burger_icon.png';
17 | import houseIcon from '../assets/house_icon.png';
18 | import moneyIcon from '../assets/money_bag_icon.png';
19 | import iceCreameIcon from '../assets/ice_cream_icon.png';
20 |
21 | export const purpleTheme = new StoreLocatorKit.Theme({
22 | icon: purpleUnselectedBurger,
23 | activeIcon: purpleSelectedBurger,
24 | styleURL: 'mapbox://styles/mapbox/cj7bww7is2f4i2rnwyxkzpwu7',
25 | primaryColor: `#A35BCD`,
26 | primaryDarkColor: '#5D39BA',
27 | directionsLineColor: '#987DDF',
28 | cardIcon: cheeseBurgerIcon,
29 | cardTextColor: '#6A159B',
30 | accentColor: '#C7A8D9',
31 | });
32 |
33 | export const blueTheme = new StoreLocatorKit.Theme({
34 | icon: blueUnselectedIceCream,
35 | activeIcon: blueSelectedIceCream,
36 | styleURL: 'mapbox://styles/mapbox/cj7bwwv3caf7l2spgukxm8bwv',
37 | primaryColor: '#45AAE9',
38 | primaryDarkColor: '#268DBA',
39 | directionsLineColor: '#6ECAF1',
40 | cardIcon: iceCreameIcon,
41 | cardTextColor: '#1082B2',
42 | accentColor: '#9FCCE0',
43 | });
44 |
45 | export const greenTheme = new StoreLocatorKit.Theme({
46 | icon: greenUnselectedMoney,
47 | activeIcon: greenSelectedMoney,
48 | styleURL: 'mapbox://styles/mapbox/cj62n87yx3mvi2rp93sfp2w9z',
49 | primaryColor: '#5AE323',
50 | primaryDarkColor: '#3BC802',
51 | directionsLineColor: '#3BC802',
52 | cardIcon: moneyIcon,
53 | cardTextColor: '#000000',
54 | accentColor: '#78F645',
55 | });
56 |
57 | export const grayTheme = new StoreLocatorKit.Theme({
58 | icon: grayUnselectedBike,
59 | activeIcon: graySelectedBike,
60 | styleURL: MapboxGL.StyleURL.Light,
61 | primaryColor: '#696969',
62 | primaryDarkColor: '#696969',
63 | directionsLineColor: '#696969',
64 | cardIcon: bicycleIcon,
65 | cardTextColor: '#696969',
66 | accentColor: '#9E9E9E',
67 | });
68 |
69 | export const neutralTheme = new StoreLocatorKit.Theme({
70 | icon: whiteUnselectedHouse,
71 | activeIcon: whiteSelectedHouse,
72 | styleURL: MapboxGL.StyleURL.StyleURL,
73 | primaryColor: '#00BAFF',
74 | primaryDarkColor: '#E8E5E0',
75 | directionsLineColor: '#00BAFF',
76 | cardIcon: houseIcon,
77 | cardTextColor: '#000000',
78 | accentColor: '#FFFFFF',
79 | });
80 |
--------------------------------------------------------------------------------
/RNStoreLocatorExample/srcipts/npm_pack.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | echo "Moving into store-locator-react-native"
4 | cd ../
5 |
6 | echo "Attempting to npm pack store-locator-react-native"
7 | npm pack
8 |
9 | cd RNStoreLocatorExample
10 |
--------------------------------------------------------------------------------
/Store Finder Sketch file.sketch:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/store-locator-react-native/3d57b469ffb6e052111be93eee15c0b4c79d0902/Store Finder Sketch file.sketch
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "@mapbox/store-locator-react-native",
3 | "version": "0.0.1",
4 | "description": "A plug-and-play React Native app that cuts down on the set-up and development time needed to add a Store Locator into your app. Use our starter themes and features as a plug-and-play solution, or further customize your Store Locator with our flexible build.",
5 | "main": "src/index.js",
6 | "scripts": {
7 | "lint": "./node_modules/eslint/bin/eslint.js ./src/** ./RNStoreLocatorExample/src/**",
8 | "lint:fix": "npm run lint -- --fix"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "git+https://github.com/mapbox/store-locator-react-native.git"
13 | },
14 | "author": "Nick Italiano",
15 | "license": "SEE LICENSE IN LICENSE.md",
16 | "bugs": {
17 | "url": "https://github.com/mapbox/store-locator-react-native/issues"
18 | },
19 | "homepage": "https://github.com/mapbox/store-locator-react-native#readme",
20 | "dependencies": {
21 | "@turf/bbox": "^5.0.4",
22 | "@turf/distance": "^5.0.4",
23 | "mapbox": "^1.0.0-beta9",
24 | "react-native-snap-carousel": "^3.4.0",
25 | "url": "^0.11.0"
26 | },
27 | "devDependencies": {
28 | "babel-eslint": "^8.0.3",
29 | "eslint": "^4.12.1",
30 | "eslint-plugin-import": "^2.8.0",
31 | "eslint-plugin-react": "^7.5.1"
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/src/components/Cards.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import MapboxGL from '@mapbox/react-native-mapbox-gl';
3 | import PropTypes from 'prop-types';
4 | import { View, Text, StyleSheet, ScrollView, Image } from 'react-native';
5 | import SnapCarousel from 'react-native-snap-carousel';
6 | import findDistance from '@turf/distance';
7 |
8 | const styles = StyleSheet.create({
9 | scrollView: {
10 | position: 'absolute',
11 | left: 0,
12 | right: 0,
13 | bottom: 30,
14 | zIndex: 10,
15 | },
16 | slideStyle: {
17 | flex: 1,
18 | borderRadius: 10,
19 | margin: 2,
20 | elevation: 1,
21 | shadowOpacity: 0.2,
22 | shadowOffset: { width: 0, height: 1 },
23 | shadowRadius: 2,
24 | backgroundColor: 'white',
25 | },
26 | slideTopRow: {
27 | flex: 0.60,
28 | borderTopLeftRadius: 10,
29 | borderTopRightRadius: 10,
30 | flexDirection: 'row',
31 | paddingVertical: 20,
32 | paddingHorizontal: 14,
33 | },
34 | slideIcon: {
35 | height: 43,
36 | width: 43,
37 | padding: 8,
38 | alignItems: 'center',
39 | justifyContent: 'center',
40 | overflow: 'hidden',
41 | backgroundColor: 'white',
42 | borderRadius: 43 / 2,
43 | },
44 | slideMeta: {
45 | paddingLeft: 8,
46 | justifyContent:'center',
47 | flex: 1,
48 | },
49 | slideMetaRow: {
50 | flexDirection: 'row',
51 | justifyContent: 'space-between',
52 | },
53 | slideBottomRow: {
54 | flexDirection: 'row',
55 | paddingVertical: 20,
56 | paddingHorizontal: 22,
57 | flex: 0.40,
58 | backgroundColor: 'white',
59 | borderBottomLeftRadius: 10,
60 | borderBottomRightRadius: 10,
61 | justifyContent: 'space-between',
62 | alignItems: 'center',
63 | },
64 | header: {
65 | fontSize: 19,
66 | color: 'white',
67 | },
68 | subheader: {
69 | fontSize: 14,
70 | color: 'white',
71 | },
72 | });
73 |
74 | class Cards extends React.Component {
75 | static propTypes = {
76 | /**
77 | * Array of GeoJSON features that represent all locations on the map
78 | */
79 | data: PropTypes.array.isRequired,
80 |
81 | /**
82 | * Current location on map
83 | */
84 | origin: PropTypes.arrayOf(PropTypes.number),
85 |
86 | /**
87 | * Theme object that represent current theme displayed on map,
88 | * see Theme.js for more information
89 | */
90 | theme: PropTypes.object.isRequired,
91 |
92 | /**
93 | * Active card index, starts from 0
94 | */
95 | activeIndex: PropTypes.number,
96 |
97 | /**
98 | * Callback for events that change the active index
99 | */
100 | onActiveIndexChange: PropTypes.func,
101 |
102 | /**
103 | * Custom render for cards.
104 | */
105 | renderItem: PropTypes.func,
106 |
107 | /**
108 | * Custom card height
109 | */
110 | itemHeight: PropTypes.number,
111 | };
112 |
113 | static defaultProps = {
114 | itemHeight: 150,
115 | };
116 |
117 | constructor (props) {
118 | super(props);
119 |
120 | this.state = {
121 | sliderWidth: null,
122 | itemWidth: null,
123 | };
124 |
125 | this.renderDefaultItem = this.renderDefaultItem.bind(this);
126 | this.onScrollViewLayout = this.onScrollViewLayout.bind(this);
127 | this.onSnapToItem = this.onSnapToItem.bind(this);
128 | }
129 |
130 | onScrollViewLayout (e) {
131 | const layout = e.nativeEvent.layout;
132 | this.setState({ sliderWidth: layout.width, itemWidth: (layout.width + 4) - 50 });
133 | }
134 |
135 | onSnapToItem (updatedActiveIndex) {
136 | if (this.props.onActiveIndexChange) {
137 | this.props.onActiveIndexChange(updatedActiveIndex);
138 | }
139 | }
140 |
141 | renderDefaultItem ({ item }) {
142 | const feature = item;
143 | const props = feature.properties;
144 |
145 | const style = {
146 | backgroundColor: 'transparent',
147 | width: this.state.itemWidth,
148 | height: this.props.itemHeight,
149 | };
150 |
151 | let distance = findDistance(
152 | MapboxGL.geoUtils.makePoint(this.props.origin),
153 | feature,
154 | { units: 'miles' },
155 | );
156 | distance = Math.round(distance * 10) / 10;
157 |
158 | return (
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 | {props.name}
169 | {distance}
170 |
171 |
172 |
173 | {props.addressFormatted}
177 | mi
178 |
179 |
180 |
181 |
182 |
183 |
184 | Hours
185 | {props.hoursFormatted}
186 |
187 |
188 |
189 | Phone
190 | {props.phoneFormatted}
191 |
192 |
193 |
194 |
195 | );
196 | }
197 |
198 | get renderItem () {
199 | return this.props.renderItem ? this.props.renderItem : this.renderDefaultItem;
200 | }
201 |
202 | renderCarousel () {
203 | if (!this.props.origin || !this.state.sliderWidth || !this.state.itemWidth || !this.props.data) {
204 | return null;
205 | }
206 | return (
207 | this.carousel = c}
210 | data={this.props.data}
211 | firstItem={this.props.activeIndex}
212 | onSnapToItem={this.onSnapToItem}
213 | renderItem={this.renderItem}
214 | sliderWidth={this.state.sliderWidth}
215 | itemWidth={this.state.itemWidth} />
216 | );
217 | }
218 |
219 | render () {
220 | return (
221 |
228 | {this.renderCarousel()}
229 |
230 | );
231 | }
232 | }
233 |
234 | export default Cards;
235 |
--------------------------------------------------------------------------------
/src/components/CurrentLocation.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import PropTypes from 'prop-types';
3 | import MapboxGL from '@mapbox/react-native-mapbox-gl';
4 |
5 | const styles = MapboxGL.StyleSheet.create({
6 | innerCircle: {
7 | circleRadius: 8,
8 | },
9 | outerCircle: {
10 | circleRadius: 13,
11 | circleOpacity: 0.40,
12 | },
13 | });
14 |
15 | class CurrentLocation extends React.Component {
16 | static propTypes = {
17 | /**
18 | * Overrides default user location
19 | */
20 | mockUserLocation: PropTypes.arrayOf(PropTypes.number),
21 |
22 | /**
23 | * Get fired everytime the user location changes
24 | */
25 | onLocationChange: PropTypes.func,
26 |
27 | /**
28 | * Inner circle layer style
29 | */
30 | innerCircleStyle: PropTypes.any,
31 |
32 | /**
33 | * Outer circle layer style
34 | */
35 | outerCircleStyle: PropTypes.any,
36 | };
37 |
38 | constructor (props) {
39 | super(props);
40 |
41 | this.state = {
42 | currentPosition: null,
43 | };
44 |
45 | this._locationWatchID = -1;
46 | this.onLocationChange = this.onLocationChange.bind(this);
47 | this.onLocationError = this.onLocationError.bind(this);
48 | }
49 |
50 | componentDidMount () {
51 | if (!this.props.mockUserLocation) {
52 | this._locationWatchID = navigator.geolocation.watchPosition(
53 | this.onLocationChange,
54 | this.onLocationError,
55 | { enableHighAccuracy: true, useSignificantChanges: true },
56 | );
57 | } else {
58 | this.setState({ currentPosition: MapboxGL.geoUtils.makePoint(this.props.mockUserLocation) });
59 |
60 | if (this.props.onLocationChange) {
61 | this.props.onLocationChange(this.props.mockUserLocation);
62 | }
63 | }
64 | }
65 |
66 | componentWillUnmount () {
67 | if (!this.props.mockUserLocation) {
68 | navigator.geolocation.clearWatch(this._locationWatchID);
69 | }
70 | }
71 |
72 | onLocationChange (position) {
73 | const coord = [position.coords.longitude, position.coords.latitude];
74 |
75 | if (this.props.onLocationChange) {
76 | this.props.onLocationChange(coord);
77 | }
78 |
79 | this.setState({
80 | currentPosition: MapboxGL.geoUtils.makePoint(coord),
81 | });
82 | }
83 |
84 | onLocationError (error) {
85 | console.log('Geolocation error', error); // eslint-disable-line
86 | }
87 |
88 | render () {
89 | if (!this.state.currentPosition) {
90 | return null;
91 | }
92 |
93 | return (
94 |
95 |
98 |
99 |
103 |
104 | );
105 | }
106 | }
107 |
108 | export default CurrentLocation;
109 |
--------------------------------------------------------------------------------
/src/components/Directions.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import PropTypes from 'prop-types';
3 | import MapboxGL from '@mapbox/react-native-mapbox-gl';
4 | import MapboxClient from 'mapbox';
5 |
6 | import Places from './Places';
7 |
8 | const styles = MapboxGL.StyleSheet.create({
9 | directionsLine: {
10 | lineWidth: 3,
11 | lineCap: MapboxGL.LineCap.Round,
12 | lineJoin: MapboxGL.LineJoin.Round,
13 | },
14 | });
15 |
16 | class Directions extends React.Component {
17 | static propTypes = {
18 | /**
19 | * Mapbox access token
20 | */
21 | accessToken: PropTypes.string.isRequired,
22 |
23 | /**
24 | * Origin coordinate in [longitude, latitude] format
25 | */
26 | origin: PropTypes.arrayOf(PropTypes.number),
27 |
28 | /**
29 | * Destination coordinate in [longitude, latitude] format
30 | */
31 | destination: PropTypes.arrayOf(PropTypes.number),
32 |
33 | /**
34 | * Callback that get fired anytime directions are fetched from API.
35 | */
36 | onDirectionsFetched: PropTypes.func,
37 |
38 | /**
39 | * Type of directions that are fetched from API. Possible choices are
40 | * walking, driving, cycling. Defaults to driving
41 | */
42 | type: PropTypes.oneOf([
43 | 'mapbox/driving-traffic',
44 | 'mapbox/walking',
45 | 'mapbox/cycling',
46 | 'mapbox/driving-traffic',
47 | ]),
48 |
49 | style: PropTypes.object,
50 | };
51 |
52 | constructor (props) {
53 | super(props);
54 |
55 | this.state = {
56 | mapboxClient: null,
57 | directions: null,
58 | };
59 |
60 | this._mapboxClient = null;
61 | }
62 |
63 | async componentDidMount () {
64 | this.setState({ mapboxClient: new MapboxClient(this.props.accessToken) }, () => {
65 | this.fetchDirections(this.props.origin, this.props.destination);
66 | });
67 | }
68 |
69 | componentWillReceiveProps (nextProps) {
70 | const origin = this.props.origin;
71 | const dest = this.props.destination;
72 |
73 | if (this.state.directions && (!origin || !dest)) {
74 | this.setState({ directions: null });
75 | return;
76 | }
77 |
78 | const nextOrigin = nextProps.origin;
79 | const nextDest = nextProps.destination;
80 |
81 | if (this.areCoordinatesEqual(origin, nextOrigin) && this.areCoordinatesEqual(dest, nextDest)) {
82 | return;
83 | }
84 |
85 | if (nextOrigin && nextDest) {
86 | this.fetchDirections(nextOrigin, nextDest);
87 | }
88 | }
89 |
90 | areCoordinatesEqual (c1, c2) {
91 | if (!c1 || !c2) {
92 | return false;
93 | }
94 | const dLng = Math.abs(c1[0] - c2[0]);
95 | const dLat = Math.abs(c1[1] - c2[1]);
96 | return dLng <= 6e-6 && dLat <= 6e-6;
97 | }
98 |
99 | async fetchDirections (origin, dest) {
100 | if (!origin || !dest || !this.state.mapboxClient) {
101 | return;
102 | }
103 |
104 | const originLatLng = {
105 | latitude: origin[1],
106 | longitude: origin[0],
107 | };
108 |
109 | const destLatLng = {
110 | latitude: dest[1],
111 | longitude: dest[0],
112 | };
113 |
114 | const requestOptions = {
115 | profile: this.props.type,
116 | geometry: 'polyline',
117 | };
118 |
119 | let res = null;
120 | try {
121 | res = await this.state.mapboxClient.getDirections([
122 | originLatLng,
123 | destLatLng,
124 | ], requestOptions);
125 | } catch (e) {
126 | console.log(e); // eslint-disable-line
127 | }
128 |
129 | if (res == null) {
130 | return;
131 | }
132 |
133 | const directions = res.entity.routes[0];
134 | if (!directions) {
135 | return;
136 | }
137 |
138 | if (this.props.onDirectionsFetched) {
139 | this.props.onDirectionsFetched(directions);
140 | }
141 |
142 | this.setState({ directions: directions });
143 | }
144 |
145 | render () {
146 | if (!this.state.directions) {
147 | return null;
148 | }
149 | return (
150 |
151 |
155 |
156 | );
157 | }
158 | }
159 |
160 | export default Directions;
161 |
--------------------------------------------------------------------------------
/src/components/MapView.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import PropTypes from 'prop-types';
3 | import MapboxGL from '@mapbox/react-native-mapbox-gl';
4 |
5 | import { View, PixelRatio, Platform } from 'react-native';
6 |
7 | import Directions from './Directions';
8 | import CurrentLocation from './CurrentLocation';
9 | import Places from './Places';
10 | import Cards from './Cards';
11 | import Theme from './Theme';
12 | import DirectionType from '../enums/DirectionType';
13 |
14 | import bbox from '@turf/bbox';
15 |
16 | const IS_ANDROID = Platform.OS === 'android';
17 | const BOUNDS_PADDING_SIDE = IS_ANDROID ? PixelRatio.getPixelSizeForLayoutSize(60) : 60;
18 | const BOUNDS_PADDING_BOTTOM = IS_ANDROID ? PixelRatio.getPixelSizeForLayoutSize(206) : 206;
19 |
20 | class MapView extends React.Component {
21 | static propTypes = {
22 | ...MapboxGL.MapView.propTypes,
23 |
24 | /**
25 | * Mapbox access token
26 | */
27 | accessToken: PropTypes.string.isRequired,
28 |
29 | /**
30 | * Theme applied to map, see Theme.js for more information
31 | */
32 | theme: PropTypes.instanceOf(Theme).isRequired,
33 |
34 | /**
35 | * Type of directions that get requested from API, possible direction types are
36 | * possible for driving, walking, and cycling.
37 | */
38 | directionType: PropTypes.oneOf([
39 | 'mapbox/driving-traffic',
40 | 'mapbox/walking',
41 | 'mapbox/cycling',
42 | 'mapbox/driving-traffic',
43 | ]),
44 |
45 | /**
46 | * FeatureCollection of points that we want to appear on the map.
47 | */
48 | featureCollection: PropTypes.object.isRequired,
49 |
50 | /**
51 | * Mocks user location to be the center coordinate on the map
52 | */
53 | simulateUserLocation: PropTypes.bool,
54 | };
55 |
56 | static defaultProps = {
57 | directionType: DirectionType.Default,
58 | }
59 |
60 | constructor (props) {
61 | super(props);
62 |
63 | let destination = null, activeID = -1;
64 | if (this.props.featureCollection && this.props.featureCollection.features.length > 0) {
65 | const feature = this.props.featureCollection.features[0];
66 |
67 | if (feature) {
68 | destination = feature.geometry.coordinates;
69 | activeID = feature.id;
70 | }
71 | }
72 |
73 | this.state = {
74 | activeIndex: 0,
75 | activeID: activeID,
76 | origin: null,
77 | region: null,
78 | layout: null,
79 | destination: destination,
80 | centerCoordinate: props.centerCoordinate,
81 | };
82 |
83 | this.onPress = this.onPress.bind(this);
84 | this.onLocationChange = this.onLocationChange.bind(this);
85 | this.onDirectionsFetched = this.onDirectionsFetched.bind(this);
86 | this.onActiveIndexChange = this.onActiveIndexChange.bind(this);
87 | this.onLayout = this.onLayout.bind(this);
88 | this.onRegionWillChange = this.onRegionWillChange.bind(this);
89 | }
90 |
91 | onLayout (e) {
92 | const layout = e.nativeEvent.layout;
93 | this.setState({ layout: layout });
94 | }
95 |
96 | async onPress (pressFeature) {
97 | const { screenPointX, screenPointY } = pressFeature.properties;
98 |
99 | const hitFeatureCollection = await this.map.queryRenderedFeaturesAtPoint([screenPointX, screenPointY], null, [
100 | Places.UnselectedSymbolID,
101 | ]);
102 |
103 | let feature = null;
104 | if (hitFeatureCollection.features.length > 0) {
105 | feature = hitFeatureCollection.features[0];
106 |
107 | for (let i = 0; i < this.props.featureCollection.features.length; i++) {
108 | const currentFeature = this.props.featureCollection.features[i];
109 |
110 | if (feature.id === currentFeature.id) {
111 | this.setState({
112 | activeIndex: i,
113 | isChangeFromPress: true,
114 | destination: feature.geometry.coordinates,
115 | });
116 | break;
117 | }
118 | }
119 | }
120 | }
121 |
122 | onActiveIndexChange (index) {
123 | const feature = this.props.featureCollection.features[index];
124 |
125 | if (!feature) {
126 | return;
127 | }
128 |
129 | this.setState({
130 | activeIndex: index,
131 | activeID: feature.id,
132 | isChangeFromPress: false,
133 | destination: feature.geometry.coordinates,
134 | });
135 | }
136 |
137 | onLocationChange (coord) {
138 | this.setState({ origin: coord });
139 | }
140 |
141 | onDirectionsFetched (directions) {
142 | if (!this.state.isChangeFromPress) {
143 | this.fitBounds(directions);
144 | }
145 | }
146 |
147 | fitBounds (directions) {
148 | const boundingBox = bbox(
149 | MapboxGL.geoUtils.makeFeature(directions.geometry),
150 | );
151 |
152 | const padding = [
153 | BOUNDS_PADDING_BOTTOM,
154 | BOUNDS_PADDING_SIDE,
155 | BOUNDS_PADDING_BOTTOM,
156 | BOUNDS_PADDING_SIDE,
157 | ];
158 | this.map.fitBounds([boundingBox[2], boundingBox[3]], [boundingBox[0], boundingBox[1]], padding, 200);
159 | }
160 |
161 | onRegionWillChange (regionFeature) {
162 | this.setState({ region: regionFeature });
163 |
164 | if (this.props.onRegionWillChange) {
165 | this.props.onRegionWillChange(regionFeature);
166 | }
167 | }
168 |
169 | get directionsStyle () {
170 | return {
171 | lineColor: this.props.theme.directionsLineColor,
172 | };
173 | }
174 |
175 | get placesStyle () {
176 | return {
177 | style: {
178 | iconImage: this.props.theme.icon,
179 | },
180 | activeStyle: {
181 | iconImage: this.props.theme.activeIcon,
182 | },
183 | };
184 | }
185 |
186 | get currentLocationStyle () {
187 | return {
188 | innerCircleStyle: {
189 | circleColor: this.props.theme.directionsLineColor,
190 | },
191 | outerCircleStyle: {
192 | circleColor: this.props.theme.directionsLineColor,
193 | },
194 | };
195 | }
196 |
197 | render () {
198 | let mockUserLocation = null;
199 | if (this.props.simulateUserLocation) {
200 | mockUserLocation = this.state.centerCoordinate;
201 | }
202 |
203 | return (
204 |
205 | this.map = c}
207 | zoomLevel={this.props.zoomLevel}
208 | styleURL={this.props.theme.styleURL}
209 | centerCoordinate={this.state.centerCoordinate}
210 | onPress={this.onPress}
211 | onRegionWillChange={this.onRegionWillChange}
212 | style={{ flex: 1 }}>
213 |
214 | {this.props.children}
215 |
216 |
222 |
223 |
228 |
229 |
233 |
234 |
235 |
241 |
242 | );
243 | }
244 | }
245 |
246 | export default MapView;
247 |
--------------------------------------------------------------------------------
/src/components/Places.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import PropTypes from 'prop-types';
3 | import { Platform } from 'react-native';
4 | import MapboxGL from '@mapbox/react-native-mapbox-gl';
5 |
6 | const styles = MapboxGL.StyleSheet.create({
7 | icon: {
8 | iconAllowOverlap: true,
9 | iconSize: Platform.OS === 'android' ? 0.50 : 0.25,
10 | },
11 | });
12 |
13 | class Places extends React.Component {
14 | static SelectedSymbolID = 'store-locator-selected-symbol';
15 | static UnselectedSymbolID = 'store-locator-places-unselected-symbols';
16 |
17 | static propTypes = {
18 | /**
19 | * FeatureCollection of points that we want to appear on the map.
20 | */
21 | featureCollection: PropTypes.object.isRequired,
22 |
23 | /**
24 | * Active ID of feature
25 | */
26 | activeID: PropTypes.any,
27 |
28 | /**
29 | * Active feature index
30 | */
31 | activeIndex: PropTypes.number,
32 |
33 | /**
34 | * Override any default styles on the inactive marker layer
35 | */
36 | style: PropTypes.any,
37 |
38 | /**
39 | * Override any default styles on the active marker layer
40 | */
41 | activeStyle: PropTypes.any,
42 | };
43 |
44 | static defaultProps = {
45 | activeIndex: 0,
46 | };
47 |
48 | constructor (props) {
49 | super(props);
50 |
51 | this.state = {
52 | activeIndex: props.activeIndex,
53 | activeID: props.activeID,
54 | };
55 | }
56 |
57 | componentWillReceiveProps (nextProps) {
58 | if (this.state.activeIndex !== nextProps.activeIndex) {
59 | this.setState({
60 | activeIndex: nextProps.activeIndex,
61 | activeID: this.props.featureCollection.features[nextProps.activeIndex].id,
62 | });
63 | }
64 | }
65 |
66 | render () {
67 | if (!this.props.featureCollection) {
68 | return null;
69 | }
70 | return (
71 |
72 |
76 |
77 |
82 |
83 | );
84 | }
85 | }
86 |
87 | export default Places;
88 |
--------------------------------------------------------------------------------
/src/components/Theme.js:
--------------------------------------------------------------------------------
1 | class Theme {
2 | constructor (options = {}) {
3 | /**
4 | * Icon that will appear on map in an inactive state
5 | */
6 | this.icon = options.icon;
7 |
8 | /**
9 | * Icon that will appear on map in an active state
10 | */
11 | this.activeIcon = options.activeIcon;
12 |
13 | /**
14 | * Style URL for map.
15 | */
16 | this.styleURL = options.styleURL;
17 |
18 | /**
19 | * Primary color used by all components
20 | */
21 | this.primaryColor = options.primaryColor;
22 |
23 | /**
24 | * Primary dark color used by all components
25 | */
26 | this.primaryDarkColor = options.primaryDarkColor;
27 |
28 | /**
29 | * Color of the route line
30 | */
31 | this.directionsLineColor = options.directionsLineColor,
32 |
33 | /**
34 | * Icon that appears in the card view
35 | */
36 | this.cardIcon = options.cardIcon;
37 |
38 | /**
39 | * Text color of the bottom of the card.
40 | */
41 | this.cardTextColor = options.cardTextColor;
42 |
43 | /**
44 | * Accent color used by all components
45 | */
46 | this.accentColor = options.accentColor;
47 | }
48 |
49 | extend (overrides = {}) {
50 | Object.keys(overrides).forEach((prop) => {
51 | if (this.hasOwnProperty(prop)) {
52 | this[prop] = overrides[prop];
53 | }
54 | });
55 | }
56 | }
57 |
58 | export default Theme;
59 |
--------------------------------------------------------------------------------
/src/enums/DirectionType.js:
--------------------------------------------------------------------------------
1 | const DirectionType = {
2 | Driving: 'mapbox/driving-traffic',
3 | Walking: 'mapbox/walking',
4 | Cycling: 'mapbox/cycling',
5 | Default: 'mapbox/driving-traffic',
6 | };
7 |
8 | export default DirectionType;
9 |
--------------------------------------------------------------------------------
/src/index.js:
--------------------------------------------------------------------------------
1 | // components
2 | import MapView from './components/MapView';
3 | import Directions from './components/Directions';
4 | import Places from './components/Places';
5 | import Cards from './components/Cards';
6 | import CurrentLocation from './components/CurrentLocation';
7 | import Theme from './components/Theme';
8 |
9 | // enums
10 | import DirectionType from './enums/DirectionType';
11 |
12 | const StoreLocatorKit = {
13 | MapView: MapView,
14 | Directions: Directions,
15 | Places: Places,
16 | Cards: Cards,
17 | CurrentLocation: CurrentLocation,
18 | Theme: Theme,
19 | DirectionType: DirectionType,
20 | };
21 |
22 | export default StoreLocatorKit;
23 |
--------------------------------------------------------------------------------