diff --git a/mobile/src/ARViewer/ARViewer.js b/mobile/src/ARViewer/ARViewer.js
index ada58b5..7de11df 100644
--- a/mobile/src/ARViewer/ARViewer.js
+++ b/mobile/src/ARViewer/ARViewer.js
@@ -1,5 +1,5 @@
import React from "react"
-import { StyleSheet, View, TouchableHighlight, Image } from "react-native"
+import { StyleSheet, View, TouchableHighlight, Image, Text } from "react-native"
import {
ViroARSceneNavigator,
ViroARScene,
@@ -235,6 +235,10 @@ export class ARViewer extends React.Component {
}
render() {
+ const message = this.workItemId
+ ? "Work item nearby. Stand still, point phone at a nearby surface and move it around slowly."
+ : "No work item detected. Wait for GPS signal to stabilize and move closer to a work item."
+
return (
+
+
+
+ {message}
+
+
)
}
diff --git a/mobile/src/config.js b/mobile/src/config.js
index a45fc22..979d475 100644
--- a/mobile/src/config.js
+++ b/mobile/src/config.js
@@ -2,8 +2,8 @@ import React from "react"
import { Platform } from "react-native"
export const config = {
- //localIPAddr: "192.168.1.175",
- localIPAddr: "192.168.1.14",
+ localIPAddr: "192.168.1.175",
+ //localIPAddr: "192.168.1.14",
viroAPIKey: "06F37B6A-74DA-4A83-965A-7DE2209A5C46",
googleGeocodeAPIKey: "AIzaSyCs4JVT6gysnY5dAJ7KjVJYeykLv_xz1GI",
googleGeocodeURL: "https://maps.googleapis.com/maps/api/geocode/json",
@@ -15,8 +15,8 @@ export const config = {
homeRegionDelta: 0.005,
geocodeDelayMilliseconds: 500,
- //defaultUser: "john@lyon-smith.org",
- defaultUser: "",
+ defaultUser: "john@lyon-smith.org",
+ // defaultUser: "",
// This region is downtown Toronto
initialRegion: {
@@ -27,12 +27,12 @@ export const config = {
},
// This region is Bainbridge Island
- // initialRegion: {
- // latitude: 47.629536,
- // longitude: -122.524162,
- // latitudeDelta: 0.0922,
- // longitudeDelta: 0.0421,
- // },
+ initialRegion: {
+ latitude: 47.629536,
+ longitude: -122.524162,
+ latitudeDelta: 0.0922,
+ longitudeDelta: 0.0421,
+ },
// alwaysShowWorkItemInAR: true,
}