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>UIInterfaceOrientationPortraitUpsideDown</string>
</array>
<key>NSLocationWhenInUseUsageDescription</key>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>$(PRODUCT_NAME) location use</string>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>

View File

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

View File

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