Skip to content

Commit

Permalink
- Removed wrong links
Browse files Browse the repository at this point in the history
- Bumped version
- Added instructions on how to change the app version
  • Loading branch information
PavlosIsaris committed Oct 3, 2022
1 parent 0135195 commit c478ece
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 13 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@ To generate the icon and splash screen files for all platforms and dimensions. F

## Building

### How to change app version before building for release

The app has several places where the app version is defined. Change the following:

1. In the `config.xml` file, change the `android-versionCode` parameter, as well as the `version` (`widget` tag).
2. Change the `version` in `package.json` file.
3. Change the `APP_VERSION` constant, defined in `src/consts.ts` file.

### Building for Android

#### Java - Gradle
Expand Down
2 changes: 1 addition & 1 deletion config.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
<widget android-versionCode="102159" id="org.scify.dianoia.app" version="2.4.1" 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">
<widget android-versionCode="102160" id="org.scify.dianoia.app" version="2.4.2" 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>diAnoia</name>
<description>Non-pharmaceutical activities for people with dementia.</description>
<author email="info@scify.org" href="https://www.scify.gr/site/en/">SciFY Team</author>
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dianoia",
"version": "2.4.1",
"version": "2.4.2",
"author": "SciFY",
"homepage": "https://dianoia-app.scify.org/",
"private": true,
Expand Down Expand Up @@ -119,4 +119,4 @@
"android"
]
}
}
}
3 changes: 0 additions & 3 deletions src/assets/data_DB/en/activities/activities.json
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,6 @@
"instructions":[],
"link": "https://drive.google.com/file/d/1Rnzw2BQ7ZTx0HXIeAkwUEWuSj5YIdQk3/view?usp=sharing",
"difficulty_level_id": "difficulty_level_1",
"help_link": "https://go.scify.gr/dianoia17",
"category": "stories"
},
{
Expand Down Expand Up @@ -360,7 +359,6 @@
"instructions": [],
"link": "https://drive.google.com/file/d/1o724XjhRtsy7wOpsC9y8Y6tcHr5oAIkB/view?usp=sharing",
"difficulty_level_id": "difficulty_level_1",
"help_link": "https://go.scify.gr/dianoia20",
"category": "stories"
},
{
Expand All @@ -373,7 +371,6 @@
"instructions": [],
"link": "https://drive.google.com/file/d/1wEm1FCiLHPHrj8Oc4IwMuX2PFiSQ1jqF/view?usp=sharing",
"difficulty_level_id": "difficulty_level_1",
"help_link": "https://go.scify.gr/dianoia22",
"category": "stories"
},
{
Expand Down
3 changes: 0 additions & 3 deletions src/assets/data_DB/es/activities/activities.json
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,6 @@
"instructions":[],
"link": "https://drive.google.com/file/d/1S74w9tzC-i9kwE3tLmRY9yb4XmXPKS_z/view?usp=sharing",
"difficulty_level_id": "difficulty_level_1",
"help_link": "https://go.scify.gr/dianoia17",
"category": "stories"
},
{
Expand Down Expand Up @@ -360,7 +359,6 @@
"instructions": [],
"link": "https://drive.google.com/file/d/1baFCOesN6FBZ7ETR0tbRvWSftupGCj0R/view?usp=sharing",
"difficulty_level_id": "difficulty_level_1",
"help_link": "https://go.scify.gr/dianoia20",
"category": "stories"
},
{
Expand All @@ -373,7 +371,6 @@
"instructions": [],
"link": "https://drive.google.com/file/d/1Gm4Oj9-sy39F1TuqsxOkqMcJ6COfZPrZ/view?usp=sharing",
"difficulty_level_id": "difficulty_level_1",
"help_link": "https://go.scify.gr/dianoia22",
"category": "stories"
},
{
Expand Down
3 changes: 0 additions & 3 deletions src/assets/data_DB/it/activities/activities.json
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,6 @@
"instructions":[],
"link": "https://drive.google.com/file/d/1m9IUZLUW8UmY8TZFd8yMa8QEe7fpxkjn/view?usp=sharing",
"difficulty_level_id": "difficulty_level_1",
"help_link": "https://go.scify.gr/dianoia17",
"category": "stories"
},
{
Expand Down Expand Up @@ -360,7 +359,6 @@
"instructions": [],
"link": "https://drive.google.com/file/d/1rp2V8grSeyG5swRvCR6fGZCOND-2XKx3/view?usp=sharing",
"difficulty_level_id": "difficulty_level_1",
"help_link": "https://go.scify.gr/dianoia20",
"category": "stories"
},
{
Expand All @@ -373,7 +371,6 @@
"instructions": [],
"link": "https://drive.google.com/file/d/1R8r_SZrg6mACRqVzK5NMlmcwqIE2Dk12/view?usp=sharing",
"difficulty_level_id": "difficulty_level_1",
"help_link": "https://go.scify.gr/dianoia22",
"category": "stories"
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/consts.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export default class consts {
static APP_VERSION: string = '2.4.1';
static APP_VERSION: string = '2.4.2';
}

0 comments on commit c478ece

Please sign in to comment.