diff --git a/mobile/ios/DeightonAR/Info.plist b/mobile/ios/DeightonAR/Info.plist index 415e8c2..6fea29a 100644 --- a/mobile/ios/DeightonAR/Info.plist +++ b/mobile/ios/DeightonAR/Info.plist @@ -46,7 +46,7 @@ UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown - NSLocationWhenInUseUsageDescription + NSLocationAlwaysAndWhenInUseUsageDescription $(PRODUCT_NAME) location use UIViewControllerBasedStatusBarAppearance diff --git a/mobile/package.json b/mobile/package.json index 24b39b3..d0912a9 100644 --- a/mobile/package.json +++ b/mobile/package.json @@ -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" diff --git a/mobile/src/config.js b/mobile/src/config.js index 2f6ce63..ba25906 100644 --- a/mobile/src/config.js +++ b/mobile/src/config.js @@ -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, }