diff --git a/.gitignore b/.gitignore index 1a1cda953..f2490d24e 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,9 @@ local.properties build/ gen/ +#app bundle files +*.aab + # Intellij files (Android Studio) *.iml diff --git a/.travis.yml b/.travis.yml index 023f6964e..e71115664 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,6 +30,6 @@ notifications: email: false script: - ./gradlew wear:lintRelease -- ./gradlew assembleLatestRelease -- ./gradlew lintLatestRelease -- ./gradlew test +- ./gradlew app:lintLatestRelease +- ./gradlew app:assembleLatestRelease +- ./gradlew app:test diff --git a/README.md b/README.md index bbded4ba6..a0da8d8a7 100644 --- a/README.md +++ b/README.md @@ -22,11 +22,9 @@ Track your sport activities with RunnerUp using the GPS in your Android phone. ## Release -* [Play Store](https://play.google.com/store/apps/details?id=org.runnerup). -* [GitHub](https://github.com/jonasoreland/runnerup/releases). (RunnerUp 2.x versions including beta and release candidates.) -* [F-Droid](https://f-droid.org/packages/org.runnerup.free/). This version does not contain some features due to licensing, see the F-Droid description. - -Join the beta program in Play for release candidates or monitor releases on GitHub. +* [Play Store](https://play.google.com/store/apps/details?id=org.runnerup) Join [beta group](https://play.google.com/apps/testing/org.runnerup) for early access. +* [GitHub](https://github.com/jonasoreland/runnerup/releases) All releases, including alpha releases. +* [F-Droid](https://f-droid.org/packages/org.runnerup.free/) This version does not contain some features due to licensing, see the F-Droid description. The current 2.x release support Android 4.0 and later. The Play release also supports Android 2.2, 2.3, but due to lack of test devices, RunnerUp cannot support Android 2.x. The "Froyo" version do not include graphs, maps and elevation GeoId correction. diff --git a/app/AndroidManifest.xml b/app/AndroidManifest.xml index b5e991882..1485dd590 100644 --- a/app/AndroidManifest.xml +++ b/app/AndroidManifest.xml @@ -25,7 +25,6 @@ - diff --git a/app/assets/changes.html b/app/assets/changes.html index 087e18c94..6364c3bf5 100644 --- a/app/assets/changes.html +++ b/app/assets/changes.html @@ -5,13 +5,29 @@

What's new

+

v2.1.0.0

+

+

    +
  • Minor version number changed to 2.1 to prepare for Play release, previous production is 2.0.2.1
  • +
  • #946 Play console feedback +
      +
    • Translations update: Czech cue, Romanian, Indonesian
    • +
    • Accessibility: Increase size of touch targets for most targets with smaller areas
    • +
    • Accessibility: Set content descriptions, for visually disabled users
    • +
    • Revert from R8 to Proguard to avoid some 4.3 crashes, improved debugging of crashes
    • +
    • Decrease app size
    • +
    • Fix a few rare crashes
    • +
    • See Git log for further details
    • +
    +
  • +

v2.0.6.4

  • #938 Add time info to the exported filename
  • #939 #937 Chinese support
  • #936 Disable Dropbox provider by default
  • -
  • #934 Audio cues for r
  • +
  • #934 Audio cues for ro

v2.0.6.3

diff --git a/app/build.gradle b/app/build.gradle index eab54d28b..2c7ace29e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -26,7 +26,7 @@ android { main { manifest.srcFile 'AndroidManifest.xml' java.srcDirs = ['src/main'] - if (rootProject.ext.allowNonFree) { + if (rootProject.ext.enableWear) { java.srcDirs += ['src/play'] } else { java.srcDirs += ['src/free'] @@ -48,7 +48,7 @@ android { compileSdkVersion rootProject.ext.compileSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion versionName rootProject.ext.versionName - versionCode 14000000 + rootProject.ext.versionCode + versionCode rootProject.ext.latestBaseVersionCode + rootProject.ext.versionCode } } @@ -69,7 +69,7 @@ android { applicationId = rootProject.ext.applicationId vectorDrawables.useSupportLibrary = true //By default all AppCompat translations are included, saves 350KB - resConfigs "ar", "bs", "cs", "ca", "de", "en", "es", "fa", "fi", "fr", "hu", "id", "it", "ja", "lt", "nb", "nl", "pl", "pt", "ru", "sv", "tr", "zh" + resConfigs "ar", "bs", "cs", "ca", "de", "en", "es", "fa", "fi", "fr", "hu", "id", "in", "it", "ja", "lt", "nb", "nl", "pl", "pt", "ro", "ru", "sv", "tr", "zh" } signingConfigs { @@ -117,19 +117,21 @@ repositories { dependencies { implementation project(':common') implementation project(':hrdevice') - if (rootProject.ext.allowNonFree) { + if (rootProject.ext.enableWear) { latestWearApp project(':wear') } //noinspection GradleCompatible latestImplementation "com.android.support:design:${rootProject.ext.supportLibrary}" latestImplementation "com.android.support:cardview-v7:${rootProject.ext.supportLibrary}" - //noinspection GradleDependency - latestImplementation "com.google.android.gms:play-services-wearable:${rootProject.ext.googlePlayServicesVersion}" + if (rootProject.ext.enableWear) { + //noinspection GradleDependency + latestImplementation "com.google.android.gms:play-services-wearable:${rootProject.ext.googlePlayServicesVersion}" + } latestImplementation 'com.getpebble:pebblekit:4.0.1' // MapBox uses telemetry, without Play there may be exceptions from mapbox: just ignore //latestImplementation "com.google.android.gms:play-services-location:${rootProject.ext.googlePlayServicesVersion}" - latestImplementation 'com.mapbox.mapboxsdk:mapbox-android-sdk:8.2.1' + latestImplementation 'com.mapbox.mapboxsdk:mapbox-android-sdk:8.2.2' latestImplementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-annotation-v8:0.7.0' latestImplementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-scalebar-v8:0.2.0' latestImplementation 'com.jjoe64:graphview:4.2.2' @@ -208,8 +210,8 @@ android.applicationVariants.all { //Based on an example from https://developer.android.com/studio/build/configure-apk-splits.html //Most comments from there removed -// Map for the version code that gives each ABI a value. -ext.abiCodes = ['arm64-v8a': 1, 'armeabi':2, 'armeabi-v7a':3, 'mips':4, 'mips64':5, 'x86':6, 'x86_64':7] +// Map for the version code that gives each ABI a value (generic has lower value) +ext.abiCodes = ['arm64-v8a': 8, 'armeabi':2, 'armeabi-v7a':3, 'mips':4, 'mips64':5, 'x86':6, 'x86_64':7] import com.android.build.OutputFile diff --git a/app/lint-baseline.xml b/app/lint-baseline.xml index 01fd76364..0f350f63a 100644 --- a/app/lint-baseline.xml +++ b/app/lint-baseline.xml @@ -1,11 +1,59 @@ - + + id="UnusedAttribute" + message="Attribute `importantForAccessibility` is only used in API level 16 and higher (current min is 15)" + errorLine1=" android:importantForAccessibility="no"" + errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> + file="res\layout\bottom_tab_indicator.xml" + line="4" + column="5"/> + + + + + + + + + + + + + + + + @@ -68,6 +72,8 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_above="@+id/account_upload_button" + android:minWidth="48dp" + android:minHeight="48dp" android:text="@string/Disconnect" />