Skip to content
Snippets Groups Projects
Commit 69c26b9f authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Merge branch 'fix-external-links-voapp-130' into 'development'

Fix external links voapp 130

See merge request !3
parents 8de1c665 412a50e3
No related branches found
No related tags found
1 merge request!3Fix external links voapp 130
......@@ -82,6 +82,15 @@ While developing, you will want to connect to a local instance of VIPSLogic. Thi
10.0.2.2 vipslogic-local.no
```
## Test on an Android phone
After running `npm run build`, you can find the Android package (`.apk`) in `/platforms/android/app/build/outputs/apk`.
By connecting your Android phone to your computer and copying the file to your phone, you can install it on the phone. **This
depends on you having enabled developer mode on your phone**. How to do that differs a great deal, so search the interwebs for
how to do it.
## Develop the code
### Don't touch the /www folder!
Normally in Cordova you would put your code here, but this is where vue-cli is putting the things that it builds.
......
<?xml version='1.0' encoding='utf-8'?>
<widget id="no.nibio.vips.observation" version="1.0.2"
<widget id="no.nibio.vips.observation" version="1.0.3"
xmlns="http://www.w3.org/ns/widgets"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>VIPS_Field_Observation_App</name>
<name>VIPS Field Observation App</name>
<description>The Field Observation app for VIPS users.
Build it with 'npm run build' before any cordova
specific actions - so that vuejs can
......@@ -13,13 +13,13 @@ compile to www folder</description>
<icon src="static/css/images/logo_vips_new.png" />
<content src="index.html" />
<access origin="*" />
<allow-navigation href="*" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
<allow-intent href="tel:*" />
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />
<!--allow-navigation href="*" /-->
<!--allow-intent href="http://*/*" /-->
<!--allow-intent href="https://*/*" /-->
<!--allow-intent href="tel:*" /-->
<!--allow-intent href="sms:*" /-->
<!--allow-intent href="mailto:*" /-->
<!--allow-intent href="geo:*" /-->
<plugin name="cordova-plugin-geolocation" spec="4.1.0" />
<platform name="android">
<allow-intent href="market:*" />
......
{
"name": "vipsobservationapp",
"version": "1.0.2",
"version": "1.0.3",
"private": true,
"description": "The Field Pest Observation App for VIPS users",
"author": "Tor-Einar Skog <tor-einar.skog@nibio.no>",
......@@ -43,6 +43,7 @@
"cordova-browser": "^6.0.0",
"cordova-plugin-camera": "^6.0.0",
"cordova-plugin-geolocation": "^4.1.0",
"cordova-plugin-inappbrowser": "^5.0.0",
"css-loader": "^0.28.0",
"extract-text-webpack-plugin": "^3.0.0",
"file-loader": "^1.1.4",
......@@ -84,7 +85,8 @@
"cordova-plugin-geolocation": {},
"cordova-plugin-camera": {
"ANDROIDX_CORE_VERSION": "1.6.+"
}
},
"cordova-plugin-inappbrowser": {}
}
},
"engines": {
......
......@@ -2,7 +2,7 @@
"observationlist.heading": "My observations",
"observationlist.alert.emptylist": "No registered observations",
"welcome.header.text": "Observation App",
"welcome.body.text": "Lorem Ipsum",
"welcome.body.text": "Use this app to register, locate and take pictures of pests in agriculture. The registrations can be used as first sightings, be parts of pest prediction calculations and be used for reporting and research.<br/>To use the app, you need a VIPS user account. If you don't have one already, please <a href='#' onclick=\"cordova.InAppBrowser.open('https://logic.vips.nibio.no/', '_system')\">click here to create one</a>.<br/>If you already have an account, klick the hamburger menu icon (top right corner) to log in.",
"welcome.footer.text": "VIPS is an automatic forecasting system for agricultural pests and diseases, developed by NIBIO (the Norwegian Institute of Bioeconomy Research) and Norsk landbruksrådgivning (The Norwegian agricultural extension service). ",
"login.button.label": "Log in",
"logout.button.label": "Log out",
......@@ -70,7 +70,7 @@
"index.header": "Field observations",
"about.header": "About",
"about.version": "Version",
"about.text": "<p>The app is developed by <a href='https://nibio.no/em' target='new'>NIBIO</a>'s <a href='https://www.vips-landbruk.no/'>VIPS team</a>.</p><p>VIPS project leader: <a href='https://www.nibio.no/en/employees/berit-nordskog' target='new'>Berit Nordskog</a></p><p>&copy; 2022 <a href='https://nibio.no/en' target='new'>NIBIO</a></p>",
"about.text": "<p>The app is developed by <a href='#' onclick=\"cordova.InAppBrowser.open('https://nibio.no/en', '_system')\">NIBIO</a>'s <a href='#' onclick=\"cordova.InAppBrowser.open('https://www.vips-landbruk.no/', '_system')\">VIPS</a> team.</p><p>VIPS project leader: <a href='#' onclick=\"cordova.InAppBrowser.open('https://www.nibio.no/ansatte/berit-nordskog', '_system')\">Berit Nordskog</a></p><p>&copy; 2022 <a href='#' onclick=\"cordova.InAppBrowser.open('https://nibio.no/en', '_system')\">NIBIO</a></p>",
"copy" : "Copy"
}
\ No newline at end of file
......@@ -2,8 +2,8 @@
"observationlist.heading": "Mine observasjoner",
"observationlist.alert.emptylist": "Du har ingen registrerte observasjoner. For å registrere en ny, klikk på pluss-ikonet nede til høyre.",
"welcome.header.text": "VIPS feltobservasjonsapp",
"welcome.body.text": "I denne appen kan du registrere, stedfeste og ta bilder av skadegjørere i landbruket. Registreringene kan brukes som førstefunn, inngå i modellberegninger og brukes til rapportering og forskning.<br/>For å bruke appen må du ha en brukerkonto på VIPS. Hvis du ikke har det, <a href='https://logic.vips.nibio.no/' target='new'>klikk her for å opprette</a>.<br/>Har du brukerkonto allerede? Klikk på menyikonet oppe til høyre for å logge inn.",
"welcome.footer.text": "VIPS (Varsling Innen PlanteSkadegjørere) er utviklet av NIBIO og Norsk Landbruksrådgiving. Rådgivningstjenesten registrerer angrep av skadegjørere i felt, mens NIBIO leverer klimadata og tar seg av utvikling, drift og vedlikehold av systemet. Les mer på <a style='color: white; text-decoration:underline;' href='https://www.vips-landbruk.no/'>VIPS</a>",
"welcome.body.text": "I denne appen kan du registrere, stedfeste og ta bilder av skadegjørere i landbruket. Registreringene kan brukes som førstefunn, inngå i modellberegninger og brukes til rapportering og forskning.<br/>For å bruke appen må du ha en brukerkonto på VIPS. Hvis du ikke har det, <a href='#' onclick=\"cordova.InAppBrowser.open('https://logic.vips.nibio.no/', '_system')\">klikk her for å opprette</a>.<br/>Har du brukerkonto allerede? Klikk på menyikonet oppe til høyre for å logge inn.",
"welcome.footer.text": "VIPS (Varsling Innen PlanteSkadegjørere) er utviklet av NIBIO og Norsk Landbruksrådgiving. Rådgivningstjenesten registrerer angrep av skadegjørere i felt, mens NIBIO leverer klimadata og tar seg av utvikling, drift og vedlikehold av systemet. Les mer på <a href='#' style='color: white; text-decoration:underline;' onclick=\"cordova.InAppBrowser.open('https://www.vips-landbruk.no/', '_system')\">VIPS</a>",
"login.button.label": "Logg inn",
"logout.button.label": "Logg ut",
"login.username.field.placeholder": "Brukernavn",
......@@ -70,7 +70,7 @@
"index.header": "Feltobservasjoner",
"about.header": "Om appen",
"about.version": "Versjon",
"about.text": "<p>Appen er utviklet av <a href='https://nibio.no' target='new'>NIBIO</a>s <a href='https://www.vips-landbruk.no/'>VIPS-team</a>.</p><p>Prosjektleder for VIPS: <a href='https://www.nibio.no/ansatte/berit-nordskog' target='new'>Berit Nordskog</a></p><p>&copy; 2022 <a href='https://nibio.no' target='new'>NIBIO</a></p>",
"about.text": "<p>Appen er utviklet av <a href='#' onclick=\"cordova.InAppBrowser.open('https://nibio.no/', '_system')\">NIBIO</a>s <a href='#' onclick=\"cordova.InAppBrowser.open('https://www.vips-landbruk.no/', '_system')\">VIPS-team</a>.</p><p>Prosjektleder for VIPS: <a href='#' onclick=\"cordova.InAppBrowser.open('https://www.nibio.no/ansatte/berit-nordskog', '_system')\">Berit Nordskog</a></p><p>&copy; 2022 <a href='#' onclick=\"cordova.InAppBrowser.open('https://nibio.no/', '_system')\">NIBIO</a></p>",
"copy" : "Kopi"
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment