Skip to content
Snippets Groups Projects
Commit 777185ac authored by Taneli Riihimäki's avatar Taneli Riihimäki
Browse files

Fix some bugs with installing

parent 0374ccb9
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ export default class App extends Component { ...@@ -7,7 +7,7 @@ export default class App extends Component {
state = { state = {
userLocation: null userLocation: null
}; };
// Getting the user location and storing it in the state
userTrackingHandler = () => { userTrackingHandler = () => {
navigator.geolocation.getCurrentPosition( navigator.geolocation.getCurrentPosition(
position => { position => {
......
{ {
"name": "ehasa-mobile", "name": "ehasamobile",
"displayName": "ehasa-mobile" "displayName": "ehasamobile"
} }
import React, { Component, Fragment } from "react"; import React, { Component, Fragment } from "react";
import { View, Button, StyleSheet } from "react-native"; import { View, Button, StyleSheet, AsyncStorage } from "react-native";
import { AsyncStorage } from "async-storage";
import LoginForm from "./LoginForm"; import LoginForm from "./LoginForm";
import RegisterForm from "./RegisterForm"; import RegisterForm from "./RegisterForm";
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"dependencies": { "dependencies": {
"@react-native-community/async-storage": "^1.5.0", "@react-native-community/async-storage": "^1.5.0",
"react": "16.8.6", "react": "16.8.6",
"react-native": "0.60.0" "react-native": "0.59.9"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "7.4.5", "@babel/core": "7.4.5",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment