diff --git a/README.md b/README.md index fa203af..e36dc6d 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,7 @@ yarn startclient To start the mobile application client you need to install [expo](https://expo.io/learn) on your local machine then, from the root folder, just run: ```sh -yarn installmobile +yarn startmobile ```
diff --git a/client/src/pages/Confirm.js b/client/src/pages/Confirm.js index b21428e..1fa88c6 100644 --- a/client/src/pages/Confirm.js +++ b/client/src/pages/Confirm.js @@ -39,7 +39,7 @@ export default function Confirm(props) { notify(`Account verified, thank you!`, '✔️', 'success', 'top-right'); setTimeout( function () { - history.push('/') + history.push('/login') }, 600 ); diff --git a/client/src/pages/UpdatePassword.js b/client/src/pages/UpdatePassword.js index eedd943..db0fd63 100644 --- a/client/src/pages/UpdatePassword.js +++ b/client/src/pages/UpdatePassword.js @@ -73,7 +73,7 @@ export default function UpdatePassword() { notify(`Password updated!`, '✔️', 'success', 'top-right'); setTimeout( function () { - history.push('/') + history.push('/login') }, 600 ); diff --git a/mobile/app.json b/mobile/app.json index 2ac8fbe..3889784 100644 --- a/mobile/app.json +++ b/mobile/app.json @@ -27,7 +27,12 @@ "bundleIdentifier": "com.leoronne.bethehero" }, "android": { - "package": "com.leoronne.bethehero" + "package": "com.leoronne.bethehero", + "icon": "./assets/img/icon.png", + "adaptiveIcon": { + "foregroundImage": "./assets/img/logoTransparent.png", + "backgroundColor": "#E02041" + } } } } diff --git a/mobile/assets/BeTheHero.apk b/mobile/assets/BeTheHero.apk index ac4d48e..218cf72 100644 Binary files a/mobile/assets/BeTheHero.apk and b/mobile/assets/BeTheHero.apk differ diff --git a/package.json b/package.json index e2d4c0c..30e4978 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "scripts": { "start": "node server/src/index.js", "startclient": "cd ./client/ && yarn start", + "startmobile": "cd ./mobile/ && yarn start", "postinstall": "npm install --prefix server && npm install --prefix client", "installapp": "cd ./server/ && npm install && cd ../client && yarn install", "installmobile": "cd ./mobile/ && npm install"