From e40e046cc7f62db42d0b634870da4de020e9108a Mon Sep 17 00:00:00 2001 From: Andrew Date: Tue, 5 Mar 2019 09:33:54 -0500 Subject: Added location functionality to greeting page. Location data is now sent to the form page after the 'get location' button is pressed. --- mobile/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mobile/App.js') diff --git a/mobile/App.js b/mobile/App.js index 4348381..c1b9eba 100644 --- a/mobile/App.js +++ b/mobile/App.js @@ -4,7 +4,7 @@ import { Ionicons } from '@expo/vector-icons'; import { createStackNavigator, createAppContainer } from 'react-navigation'; import GreetingPage from './components/GreetingPage'; -import FormPage from './components/FormPage'; +import FormPage from './components/Form1'; const RootStack = createStackNavigator( {GreetingPage: GreetingPage, FormPage: FormPage,}, -- cgit v1.2.3 From f0b0f909dfb7658312c5df0a18591a203077282f Mon Sep 17 00:00:00 2001 From: Andrew Date: Tue, 5 Mar 2019 16:15:37 -0500 Subject: Added A "Go Back" button to the form page. Fixed bug that would cause app to produce an error if location services are turned off. Please enter the commit message for your changes. Lines starting --- mobile/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mobile/App.js') diff --git a/mobile/App.js b/mobile/App.js index c1b9eba..f36b696 100644 --- a/mobile/App.js +++ b/mobile/App.js @@ -4,7 +4,7 @@ import { Ionicons } from '@expo/vector-icons'; import { createStackNavigator, createAppContainer } from 'react-navigation'; import GreetingPage from './components/GreetingPage'; -import FormPage from './components/Form1'; +import FormPage from './screens/Form1'; const RootStack = createStackNavigator( {GreetingPage: GreetingPage, FormPage: FormPage,}, -- cgit v1.2.3