Set debug config

This commit is contained in:
John Lyon-Smith
2018-05-18 08:08:31 -07:00
parent 8520318d14
commit f5bbee9136
3 changed files with 13 additions and 16 deletions

View File

@@ -46,7 +46,7 @@
<string>UIInterfaceOrientationPortrait</string> <string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string> <string>UIInterfaceOrientationPortraitUpsideDown</string>
</array> </array>
<key>NSLocationWhenInUseUsageDescription</key> <key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>$(PRODUCT_NAME) location use</string> <string>$(PRODUCT_NAME) location use</string>
<key>UIViewControllerBasedStatusBarAppearance</key> <key>UIViewControllerBasedStatusBarAppearance</key>
<false/> <false/>

View File

@@ -13,7 +13,6 @@
"android": "react-native run-android", "android": "react-native run-android",
"build:android": "cd android; rm -rf ./app/build && ./gradlew assembleRelease && ./rename-apk", "build:android": "cd android; rm -rf ./app/build && ./gradlew assembleRelease && ./rename-apk",
"ios": "react-native run-ios", "ios": "react-native run-ios",
"test": "node node_modules/jest/bin/jest.js"
}, },
"jest": { "jest": {
"preset": "react-native" "preset": "react-native"

View File

@@ -8,25 +8,23 @@ export const config = {
googleGeocodeAPIKey: "AIzaSyCs4JVT6gysnY5dAJ7KjVJYeykLv_xz1GI", googleGeocodeAPIKey: "AIzaSyCs4JVT6gysnY5dAJ7KjVJYeykLv_xz1GI",
googleGeocodeURL: "https://maps.googleapis.com/maps/api/geocode/json", googleGeocodeURL: "https://maps.googleapis.com/maps/api/geocode/json",
refererURL: "https://dar.kss.us.com", refererURL: "https://dar.kss.us.com",
defaultUser: "john@lyon-smith.org", minDistanceToItem: 20,
//defaultUser: "",
//minGPSAccuracy: 50,
minGPSAccuracy: 20,
minDistanceToItem: 10,
geocodeDelayMilliseconds: 500, geocodeDelayMilliseconds: 500,
//defaultUser: "john@lyon-smith.org",
defaultUser: "",
// This region is downtown Toronto // This region is downtown Toronto
// initialRegion: {
// latitude: 43.653908,
// longitude: -79.384293,
// latitudeDelta: 0.0922,
// longitudeDelta: 0.0421,
// },
// This region is Bainbridge Island
initialRegion: { initialRegion: {
latitude: 47.629536, latitude: 43.653908,
longitude: -122.524162, longitude: -79.384293,
latitudeDelta: 0.0922, latitudeDelta: 0.0922,
longitudeDelta: 0.0421, longitudeDelta: 0.0421,
}, },
// This region is Bainbridge Island
// initialRegion: {
// latitude: 47.629536,
// longitude: -122.524162,
// latitudeDelta: 0.0922,
// longitudeDelta: 0.0421,
// },
// alwaysShowWorkItemInAR: true, // alwaysShowWorkItemInAR: true,
} }