Skip to content

Commit

Permalink
🚀 Release 3.9.4 (394000)
Browse files Browse the repository at this point in the history
• Add a Reboot button to the theme download snackbar when using the Magisk method
• Add the name of Sounds, Flags, Preferences, Props to the popup
• Add more from us popup
• Add Sound Size & Last Update Date
• Hide Corner Prop if Gboard is newer than 14.7.xy
• Move all Rboard apps to about us screen
• Remove theme values preference
• Fixed all flags list crash
• Fix ThemeChangerActivity Orientation
• Fix Indonesian Locale Config
• Update Dependencies
• Update Submodules
• Update Workflow
• Bump Java to 22
• Bump versionCode to 394000 (3.9.4)
  • Loading branch information
AkosPaha01 authored Oct 11, 2024
2 parents 307133a + bd026fb commit c3a4423
Show file tree
Hide file tree
Showing 56 changed files with 988 additions and 327 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/buildCi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,15 @@ jobs:
uses: actions/checkout@v4
with:
submodules: recursive

- name: Setup cmake
uses: jwlawson/actions-setup-cmake@v2
with:
cmake-version: '3.30.5'

- uses: nttld/setup-ndk@v1
with:
ndk-version: r27
ndk-version: r27b

- name: Get Commit Message
id: commitMessage
Expand All @@ -31,7 +36,7 @@ jobs:
- name: Setup JDK
uses: actions/setup-java@v4
with:
java-version: 21
java-version: 22
distribution: temurin

- name: Cache Gradle dependencies
Expand Down Expand Up @@ -66,10 +71,11 @@ jobs:

- name: Build apk
id: buildAllApks
uses: gradle/gradle-build-action@v3
uses: gradle/actions/setup-gradle@v4
with:
gradle-version: wrapper
arguments: assembleDebug
gradle-version: wrapper
- name: AssembleDebug the project
run: ./gradlew assembleDebug

- name: Get JSON
id: metadataJson
Expand Down Expand Up @@ -127,6 +133,7 @@ jobs:
run: "curl --location --request POST 'https://api.telegram.org/bot${{ secrets.TELEGRAM_TOKEN }}/sendMessage' --header 'Content-Type:application/json' --data-raw '{\"chat_id\":\"${{ secrets.TELEGRAM_TO_MAIN }}\",\"message_thread_id\":${{ secrets.TELEGRAM_MAIN_TOPIC_ID_DEBUG }},\"text\":\"#A12\\n**${{ steps.extract_branch.outputs.BRANCH_NAME }}**\\n\\ncommit: `${{ github.event.head_commit.message }}` [${{ github.event.head_commit.id }}](${{ github.event.head_commit.url }})\",\"parse_mode\":\"markdown\",\"reply_markup\":{\"inline_keyboard\":[[{\"text\":\"Download A12+\",\"url\":\"https://github.com/DerTyp7214/RboardThemeManagerV3/releases/download/${{ fromJson(steps.metadataJson.outputs.json).elements[0].versionName }}-debug/app-debug.apk\"}]]}}'"

- name: Send Notification
continue-on-error: true
uses: fjogeleit/http-request-action@v1
with:
url: 'https://fcm.googleapis.com/fcm/send'
Expand Down
14 changes: 10 additions & 4 deletions .github/workflows/buildPro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ jobs:
uses: actions/checkout@v4
with:
submodules: recursive

- name: Setup cmake
uses: jwlawson/actions-setup-cmake@v2
with:
cmake-version: '3.30.5'

- name: Get Commit Message
id: commitMessage
Expand All @@ -20,7 +25,7 @@ jobs:
- name: Setup JDK
uses: actions/setup-java@v4
with:
java-version: 21
java-version: 22
distribution: temurin

- name: Cache Gradle dependencies
Expand All @@ -47,10 +52,11 @@ jobs:

- name: Build apk
id: buildAllApks
uses: gradle/gradle-build-action@v3
uses: gradle/actions/setup-gradle@v4
with:
gradle-version: wrapper
arguments: assemblePro
gradle-version: wrapper
- name: AssemblePro the project
run: ./gradlew assemblePro

- name: Get JSON
id: metadataJson
Expand Down
17 changes: 12 additions & 5 deletions .github/workflows/buildRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,15 @@ jobs:
uses: actions/checkout@v4
with:
submodules: recursive

- name: Setup cmake
uses: jwlawson/actions-setup-cmake@v2
with:
cmake-version: '3.30.5'

- uses: nttld/setup-ndk@v1
with:
ndk-version: r27
ndk-version: r27b

- name: Get Commit Message
id: commitMessage
Expand All @@ -33,7 +38,7 @@ jobs:
- name: Setup JDK
uses: actions/setup-java@v4
with:
java-version: 21
java-version: 22
distribution: temurin

- name: Cache Gradle dependencies
Expand Down Expand Up @@ -63,10 +68,11 @@ jobs:

- name: Build apk
id: buildAllApks
uses: gradle/gradle-build-action@v3
uses: gradle/actions/setup-gradle@v4
with:
gradle-version: wrapper
arguments: assembleRelease
gradle-version: wrapper
- name: AssembleRelease the project
run: ./gradlew assembleRelease

- name: Get JSON
id: metadataJson
Expand Down Expand Up @@ -108,6 +114,7 @@ jobs:
run: echo ${{ github.event.head_commit }}

- name: Send Notification
continue-on-error: true
uses: fjogeleit/http-request-action@master
with:
url: 'https://fcm.googleapis.com/fcm/send'
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/deployToGoogle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ jobs:

- uses: nttld/setup-ndk@v1
with:
ndk-version: r27
ndk-version: r27b

- name: Setup JDK
uses: actions/setup-java@v4
with:
java-version: 21
java-version: 22
distribution: temurin

- name: Cache Gradle dependencies
Expand Down Expand Up @@ -59,11 +59,11 @@ jobs:
run: echo -n -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > /usr/local/lib/android/sdk/licenses/android-sdk-preview-license

- name: Build Bundle
id: buildBundle
uses: gradle/gradle-build-action@v3
uses: gradle/actions/setup-gradle@v4
with:
gradle-version: wrapper
arguments: bundleRelease
gradle-version: wrapper
- name: AssembleRelease the project
run: ./gradlew assembleRelease

- name: Sign artifact
id: signArtifact
Expand Down
19 changes: 14 additions & 5 deletions .github/workflows/pullRequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,20 @@ jobs:
uses: actions/checkout@v4
with:
submodules: recursive

- name: Setup cmake
uses: jwlawson/actions-setup-cmake@v2
with:
cmake-version: '3.30.5'

- uses: nttld/setup-ndk@v1
with:
ndk-version: r27
ndk-version: r27b

- name: Setup JDK
uses: actions/setup-java@v4
with:
java-version: 21
java-version: 22
distribution: temurin

- name: Cache Gradle dependencies
Expand Down Expand Up @@ -56,12 +61,16 @@ jobs:
- name: Accept Preview SDK License
run: echo -n -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > /usr/local/lib/android/sdk/licenses/android-sdk-preview-license

- name: CMake Version
run: cmake --version

- name: Build apk
id: buildAllApks
uses: gradle/gradle-build-action@v3
uses: gradle/actions/setup-gradle@v4
with:
gradle-version: wrapper
arguments: assembleDebug
gradle-version: wrapper
- name: AssembleDebug the project
run: ./gradlew assembleDebug

- name: Get JSON
id: metadataJson
Expand Down
2 changes: 1 addition & 1 deletion .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/runConfigurations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![LatestPreRelease](https://img.shields.io/github/v/release/DerTyp7214/RboardThemeManagerV3?include_prereleases)](https://github.com/DerTyp7214/RboardThemeManagerV3/releases)
[![Build Release](https://github.com/DerTyp7214/RboardThemeManagerV3/actions/workflows/buildRelease.yml/badge.svg)](https://github.com/DerTyp7214/RboardThemeManagerV3/actions/workflows/buildRelease.yml)
[![Build CI](https://github.com/DerTyp7214/RboardThemeManagerV3/actions/workflows/buildCi.yml/badge.svg?branch=master)](https://github.com/DerTyp7214/RboardThemeManagerV3/actions/workflows/buildCi.yml?query=branch%3Amaster)
[![Donate Dev](https://img.shields.io/badge/Donate%20Dev-PayPal-green.svg)](https://paypal.me/JosuaLengwenath)
[![Donate Dev](https://img.shields.io/badge/Donate%20Dev-PayPal-green.svg)](https://paypal.me/DerTyp7214)
[![Donate Designer](https://img.shields.io/badge/Donate%20Designer-PayPal-green.svg)](https://paypal.me/rkbdi)

# For translators
Expand Down
36 changes: 19 additions & 17 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
@file:Suppress("SpellCheckingInspection")

import org.jetbrains.kotlin.config.JvmTarget
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
@file:Suppress("SpellCheckingInspection", "UnstableApiUsage")

plugins {
id("com.android.application")
Expand All @@ -25,12 +22,14 @@ android {
applicationId = "de.dertyp7214.rboardthememanager"
minSdk = 31
targetSdk = 35
versionCode = 393000
versionName = "3.9.3"
versionCode = 394000
versionName = "3.9.4"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}

resourceConfigurations += listOf(
androidResources {
localeFilters += listOf(
"ar", "cs", "da", "de",
"el", "en", "es", "fi",
"fr", "hi", "hu", "in",
Expand All @@ -55,23 +54,26 @@ android {
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
kotlinOptions {
jvmTarget = JvmTarget.JVM_21.description
sourceCompatibility = JavaVersion.current()
targetCompatibility = JavaVersion.current()
}

tasks.withType<KotlinCompile> {
kotlinOptions {
jvmTarget = JvmTarget.JVM_21.description
}
kotlinOptions {
jvmTarget = JavaVersion.current().toString()
freeCompilerArgs += listOf(
"-P",
"plugin:androidx.compose.compiler.plugins.kotlin:suppressKotlinVersionCompatibilityCheck=true",
"-Xsuppress-version-warnings"
)
}

packaging {
jniLibs {
useLegacyPackaging = true
}
resources.excludes.add("/META-INF/{AL2.0,LGPL2.1}")
}
lint {
baseline = file("lint-baseline.xml")
}
}

Expand Down
26 changes: 26 additions & 0 deletions app/lint-baseline.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.8.0-alpha04" type="baseline" client="gradle" dependencies="false" name="AGP (8.8.0-alpha04)" variant="fatal" version="8.8.0-alpha04">

<issue
id="InvalidSetHasFixedSize"
message="When using `setHasFixedSize() in an `RecyclerView`, `wrap_content` cannot be used as a value for `size` in the scrolling direction."
errorLine1=" recyclerView.setHasFixedSize(true)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/de/dertyp7214/rboardthememanager/adapter/SoundPackAdapter.kt"
line="64"
column="21"/>
</issue>

<issue
id="InvalidSetHasFixedSize"
message="When using `setHasFixedSize() in an `RecyclerView`, `wrap_content` cannot be used as a value for `size` in the scrolling direction."
errorLine1=" recyclerView.setHasFixedSize(true)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/de/dertyp7214/rboardthememanager/fragments/SoundsFragment.kt"
line="48"
column="9"/>
</issue>

</issues>
Loading

0 comments on commit c3a4423

Please sign in to comment.