Skip to content

Commit

Permalink
2.3.1
Browse files Browse the repository at this point in the history
★ Changelogs ★
You can see more details here: https://www.saveriomorelli.com/commonvoice/release/2-3/
  • Loading branch information
Sav22999 authored Mar 16, 2021
2 parents 3bd8a22 + 4e798ed commit 39749cc
Show file tree
Hide file tree
Showing 492 changed files with 853 additions and 641 deletions.
23 changes: 14 additions & 9 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,13 @@ To get app statistics you need to do a `GET request` to https://www.saveriomorel

You can insert these parameters to the `GET` request:

| Key | Value | Required | Explanation |
| ---------- | --------- | ---------- | ------------------------------------------------------------ |
| `language` | *String* | `optional` | It's the language code of the language you want to see. You can specify also `all`, the system will return all languages.<br />If you don't specify anything, the system will return all languages |
| `filter` | *String* | `optional` | It filters the result of contributions, you can set to `today` (contributions of today), `yesterday` (contributions of yesterday), `always` (contributions of always) or `year` (contributions of year and you have to specify the `year` parameter too). |
| `year` | *Integer* | `optional` | Specify it just if you specified `filter`=`year`.<br />You need to specify the year you want to see. If you don't specify anything, it's set automatically to `filter`=`today`. |
| Key | Value | Required | Explanation |
| ------------ | -------------------------- | ---------- | ------------------------------------------------------------ |
| `language` | *String* | `optional` | It's the language code of the language you want to see. You can specify also `all`, the system will return all languages.<br />If you don't specify anything, the system will return all languages |
| `filter` | *String* | `optional` | It filters the result of contributions, you can set to `today` (contributions of today), `yesterday` (contributions of yesterday), `always` (contributions of always), `year` (contributions of year and you have to specify the `year` parameter too) or `date` (then you will be able to specify exactly the `start_date` and the `end_date`). |
| `year` | *Integer* | `optional` | Specify it just if you specified `filter`=`year`.<br />You need to specify the year you want to see. If you don't specify anything, it's set automatically to `filter`=`today`. |
| `start_date` | *Date*<br />(`YYYY-MM-DD`) | `optional` | Specify it just if you specified `filter`=`date`.<br />You need to specify the start date ("from") you want to see. If you don't specify anything, it's set automatically to the current date ("today"). |
| `end_date` | *Date*<br />(`YYYY-MM-DD`) | `optional` | Specify it just if you specified `filter`=`date` and if you set before the `start_date`.<br />You need to specify the end date ("to") you want to see. If you don't specify anything, it's set automatically to the current date ("today"). |

The `language` can also be `all`.

Expand Down Expand Up @@ -256,10 +258,13 @@ To get app statistics you need to do a `GET request` to https://www.saveriomorel

You can insert these parameters to the `GET` request:

| Key | Value | Required | Explanation |
| ---------- | -------- | ---------- | ------------------------------------------------------------ |
| `language` | *String* | `optional` | It's the language code of the language you want to see. You can specify also `all`, the system will return all languages.<br />If you don't specify anything, the system will return all languages |
| `year` | *String* | `optional` | It indicates the year (format `YYYY`). If you specify this, the contributions will be relative of all that year, otherwise the system will display to you just the contributions of today.<br />If you want the contributions of ever, you can specify `always`. |
| Key | Value | Required | Explanation |
| ------------ | -------------------------- | ---------- | ------------------------------------------------------------ |
| `language` | *String* | `optional` | It's the language code of the language you want to see. You can specify also `all`, the system will return all languages.<br />If you don't specify anything, the system will return all languages |
| `filter` | *String* | `optional` | It filters the result of contributions, you can set to `today` (contributions of today), `yesterday` (contributions of yesterday), `always` (contributions of always), `year` (contributions of year and you have to specify the `year` parameter too) or `date` (then you will be able to specify exactly the `start_date` and the `end_date`). |
| `year` | *Integer* | `optional` | Specify it just if you specified `filter`=`year`.<br />You need to specify the year you want to see. If you don't specify anything, it's set automatically to `filter`=`today`. |
| `start_date` | *Date*<br />(`YYYY-MM-DD`) | `optional` | Specify it just if you specified `filter`=`date`.<br />You need to specify the start date ("from") you want to see. If you don't specify anything, it's set automatically to the current date ("today"). |
| `end_date` | *Date*<br />(`YYYY-MM-DD`) | `optional` | Specify it just if you specified `filter`=`date` and if you set before the `start_date`.<br />You need to specify the end date ("to") you want to see. If you don't specify anything, it's set automatically to the current date ("today"). |

The `language` can also be `all`.

Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"kind": "Directory"
},
"applicationId": "org.commonvoice.saverio",
"variantName": "processFD-GHReleaseResources",
"variantName": "processAASReleaseResources",
"elements": [
{
"type": "SINGLE",
"filters": [],
"versionCode": 130,
"versionName": "2.2.2",
"outputFile": "app-FD-GH-release.apk"
"versionCode": 133,
"versionName": "2.3",
"outputFile": "app-AAS-release.apk"
}
]
}
Binary file removed app/FD-GH/release/app-FD-GH-release.aab
Binary file not shown.
Binary file added app/FDGH/release/app-FDGH-release.apk
Binary file not shown.
18 changes: 18 additions & 0 deletions app/FDGH/release/output-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"version": 2,
"artifactType": {
"type": "APK",
"kind": "Directory"
},
"applicationId": "org.commonvoice.saverio",
"variantName": "processFDGHReleaseResources",
"elements": [
{
"type": "SINGLE",
"filters": [],
"versionCode": 133,
"versionName": "2.3",
"outputFile": "app-FDGH-release.apk"
}
]
}
Binary file modified app/GPS/release/app-GPS-release.aab
Binary file not shown.
Binary file modified app/GPS/release/app-GPS-release.apk
Binary file not shown.
4 changes: 2 additions & 2 deletions app/GPS/release/output-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
{
"type": "SINGLE",
"filters": [],
"versionCode": 130,
"versionName": "2.2.2",
"versionCode": 133,
"versionName": "2.3",
"outputFile": "app-GPS-release.apk"
}
]
Expand Down
Binary file modified app/HAG/release/app-HAG-release.apk
Binary file not shown.
4 changes: 2 additions & 2 deletions app/HAG/release/output-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
{
"type": "SINGLE",
"filters": [],
"versionCode": 130,
"versionName": "2.2.2",
"versionCode": 133,
"versionName": "2.3",
"outputFile": "app-HAG-release.apk"
}
]
Expand Down
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ android {
applicationId 'org.commonvoice.saverio'
minSdkVersion 23
targetSdkVersion 30
versionCode = 133
versionName '2.3'
versionCode = 135
versionName '2.3.1'
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand All @@ -34,7 +34,7 @@ android {
}
HAG {
dimension "source_store"
applicationIdSuffix ".huawei"
//applicationIdSuffix ".huawei"
buildConfigField "String", "SOURCE_STORE", "\"HAG\""
}
AAS {
Expand Down
8 changes: 6 additions & 2 deletions app/src/main/java/org/commonvoice/saverio/ListenActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,9 @@ class ListenActivity : ViewBoundActivity<ActivityListenBinding>(
listenViewModel.validate(result = false)
numberSentThisSession++
hideButtons()
refreshAds()
if (numberSentThisSession % 10 == 0) {
refreshAds()
}
}
buttonStartStopListen.onClick {
listenViewModel.stopListening()
Expand Down Expand Up @@ -608,7 +610,9 @@ class ListenActivity : ViewBoundActivity<ActivityListenBinding>(
hideButtons()
listenViewModel.validate(result = true)
numberSentThisSession++
refreshAds()
if (numberSentThisSession % 10 == 0) {
//refreshAds()
}
}
buttonStartStopListen.onClick {
listenViewModel.startListening()
Expand Down
4 changes: 3 additions & 1 deletion app/src/main/java/org/commonvoice/saverio/SpeakActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,9 @@ class SpeakActivity : ViewBoundActivity<ActivitySpeakBinding>(
buttonSendSpeak.onClick {
speakViewModel.sendRecording()
numberSentThisSession++
refreshAds()
if (numberSentThisSession % 10 == 0) {
//refreshAds()
}
}

startAnimation(buttonStartStopSpeak, R.anim.zoom_in_speak_listen)
Expand Down
Loading

0 comments on commit 39749cc

Please sign in to comment.