Skip to content

Commit

Permalink
Merge pull request #136 from Ixam97/0_23_0_release
Browse files Browse the repository at this point in the history
0.23.0 release
  • Loading branch information
Ixam97 authored Feb 24, 2023
2 parents 24691f2 + e374d1e commit 8672f8c
Show file tree
Hide file tree
Showing 88 changed files with 4,873 additions and 2,257 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build

on:
push:
branches:
- '*'

jobs:
build:
name: Build
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11

- name: Make gradlew executable
run: chmod +x ./gradlew

- name: Build with Gradle
run: ./gradlew build
24 changes: 20 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,17 @@ Currently the app is not available in the public Play Store. This is due to stri
Once the app has reached a more finished state I will try to reach out to Polestar directly to potentially make it available through them. Just like ABRP or the Vivaldi browser which also do not comply with Google's restrictions.

## Support the development of the app:
Any form of support and feedback is very welcome! If you like the app and want to buy me a beer, feel free (but never obliged! This is a hobby for me) to use this link: https://paypal.me/Ixam
Any form of support and feedback is very welcome! If you like the app and want to buy me a beer, feel free (but never obliged! This is a hobby for me) to use this link: https://paypal.me/Ixam </br>
Please let me now if you do not want to be listed in the supporters list.

<b>Many thanks to everyone who has supported the development of Car Stats Viewer!</b>
<details>
<summary><h3>Supporters</h3></summary>

* Ahti Hinnov </br>
* Robin Hellström
* Benjamin Stegmann
* Ahti Hinnov
* Robin Hellström
* Benjamin Stegmann
* Horst Zimmermann

</details>

Expand All @@ -46,6 +48,7 @@ Currently the following languages are already available:
- :netherlands: Dutch
- :sweden: Swedish
- :norway: Norwegian
- :denmark: Danish

### Rules for contributing code:
<details>
Expand All @@ -65,6 +68,7 @@ Please also be aware that I will not just include everything. It has to fit into
- Dutch translation: DoubleYouEl
- Swedish translation: Robin Hellström, jschlyter
- Norwegian translation: Oddvarr
- Danish translation: Emil Blixt Hansen
- FreshDave29
- rdu

Expand All @@ -80,6 +84,18 @@ Discussion in the international Polestar forums: [Polestar Forum](https://www.po

## Changelog [DE]:

### 0.23.0 (24.02.2023)
- Datenstruktur grundlegend überarbeitet, um die Stabilität und Sklaierbarkeit zu verbessern
- Dänische Übersetzung hinzugefügt
- "Über Car Stats Viewer" hinzugefügt, (inkl. grundlegende Überarbeitung der ReadMe mit Hinweisen zur Unterstützung und Mitwirkung)
- Es können neben dem manuellen Trip mehrere, automatisch zurückgesetzte Trips ausgewählt werden
- Verschiedene optische Anpassungen an den Diagrammen
- Einzelne Werte eines Diagramms können per Doppeltipp hervorgehoben werden
- Möglichkeit zum verschicken von Debug-Logs per SMTP (experimentell!)
- Stabilisierung des Verhaltens der Ladekurve, wenn die Ausführung der App zwischenzeitlich unterbrochen wird
- Optimierung der Fahrerablenkung
- Zahlreiche weitere Bugfixes und Stabilitätsverbesserungen.

### 0.22.1 (02.02.2023)
- Falsche Lokalisierung für Norwegisch behoben.

Expand Down
32 changes: 29 additions & 3 deletions automotive/build.gradle
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'com.mikepenz.aboutlibraries.plugin'

android {
compileSdkVersion 33
buildToolsVersion "29.0.3"

defaultConfig {
applicationId "com.ixam97.carStatsViewer"
minSdkVersion 28
minSdkVersion 29
targetSdkVersion 33
versionCode 38
versionName "0.22.1"
versionCode 68
versionName "0.23.0"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand All @@ -23,6 +24,26 @@ android {
}
}

packagingOptions {
pickFirst 'META-INF/LICENSE.md' // picks the Angus Mail license file
pickFirst 'META-INF/NOTICE.md' // picks the Angus Mail notice file
}

lintOptions {
// Returns whether lint should be quiet (for example, not write informational messages such as paths to report files written)
quiet true

// Whether lint should set the exit code of the process if errors are found
abortOnError false

// Returns whether lint will only check for errors (ignoring warnings)
ignoreWarnings true

// Returns whether lint should check for fatal errors during release builds. Default is true.
// If issues with severity "fatal" are found, the release build is aborted.
checkReleaseBuilds false
}

// android.car exists since Android 10 (API level 29) Revision 5.
useLibrary 'android.car'
namespace 'com.ixam97.carStatsViewer'
Expand All @@ -36,6 +57,11 @@ dependencies {
implementation 'androidx.fragment:fragment-ktx:1.5.5'
implementation 'com.google.code.gson:gson:2.9.0'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4'
implementation 'org.eclipse.angus:jakarta.mail:2.0.0'
implementation 'com.google.android.gms:play-services-location:17.0.0'
implementation 'com.mikepenz:aboutlibraries-core:8.9.4'
implementation 'com.airbnb.android:paris:2.0.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'

// to fix unresolved references to android.car
def sdkDir = project.android.sdkDirectory.canonicalPath
Expand Down
25 changes: 19 additions & 6 deletions automotive/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,32 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.ixam97.carStatsViewer">

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.car.permission.CAR_SPEED" />
<uses-permission android:name="android.car.permission.CAR_ENERGY" />
<uses-permission android:name="android.car.permission.CAR_POWERTRAIN" />
<uses-permission android:name="android.car.permission.CAR_INFO" />
<uses-permission android:name="android.car.permission.CAR_EXTERIOR_ENVIRONMENT" />
<uses-permission android:name="android.car.permission.CAR_ENERGY_PORTS" />
<uses-permission android:name="android.car.permission.READ_CAR_DISPLAY_UNITS" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.MEDIA_CONTENT_CONTROLS" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.WAKE_LOCK" />

<!--<uses-feature
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<!--<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION"/>-->
<uses-feature
android:name="android.hardware.type.automotive"
android:required="true"/>-->
android:required="true"/>

<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:hasFragileUserData="true"
android:theme="@android:style/Theme.DeviceDefault.NoActionBar">
<activity android:name=".activities.PermissionsActivity"
android:exported="true">
Expand All @@ -37,8 +42,9 @@
<meta-data android:name="distractionOptimized" android:value="true"/>
</activity>
<activity android:name=".activities.SummaryActivity"
android:exported="false"/>
android:exported="false">
<meta-data android:name="distractionOptimized" android:value="true"/>
</activity>
<activity android:name=".activities.SettingsActivity"
android:exported="false">
<meta-data android:name="distractionOptimized" android:value="true"/>
Expand All @@ -47,7 +53,14 @@
android:exported="false">
<meta-data android:name="distractionOptimized" android:value="true"/>
</activity>
<service android:name=".services.DataCollector"/>
<activity
android:name=".activities.LibsActivity"
android:exported="false" />
<activity
android:name=".activities.AboutActivity"
android:exported="false" />
<service android:name=".services.LocCollector"/>
<service android:name=".dataManager.DataCollector"/>
</application>

</manifest>
Loading

0 comments on commit 8672f8c

Please sign in to comment.