Skip to content

Commit

Permalink
Merge branch 'release/3.2.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitletondor committed May 2, 2024
2 parents 8c848bf + 779f084 commit df7fa64
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 25 deletions.
26 changes: 13 additions & 13 deletions Android/EasyBudget/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ android {
compileSdk = 34
minSdk = 23
targetSdk = 34
versionCode = 134
versionName = "3.2.1"
versionCode = 135
versionName = "3.2.2"
vectorDrawables.useSupportLibrary = true
}

Expand Down Expand Up @@ -93,7 +93,7 @@ android {
}

composeOptions {
kotlinCompilerExtensionVersion = "1.5.11"
kotlinCompilerExtensionVersion = "1.5.13"
}

buildFeatures {
Expand All @@ -113,13 +113,13 @@ dependencies {
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.0.4")

implementation("androidx.appcompat:appcompat:1.6.1")
implementation("androidx.core:core-ktx:1.12.0")
implementation("com.google.android.material:material:1.11.0")
implementation("androidx.core:core-ktx:1.13.1")
implementation("com.google.android.material:material:1.12.0")
implementation("androidx.recyclerview:recyclerview:1.3.2")
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
implementation("androidx.preference:preference-ktx:1.2.1")
implementation("androidx.activity:activity-ktx:1.8.2")
implementation("androidx.fragment:fragment-ktx:1.6.2")
implementation("androidx.activity:activity-ktx:1.9.0")
implementation("androidx.fragment:fragment-ktx:1.7.0")
implementation("androidx.lifecycle:lifecycle-extensions:2.2.0")
implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0")
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.7.0")
Expand All @@ -130,29 +130,29 @@ dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.0")

implementation(platform("com.google.firebase:firebase-bom:32.8.1"))
implementation(platform("com.google.firebase:firebase-bom:33.0.0"))
implementation("com.google.firebase:firebase-messaging-ktx")
implementation("com.google.firebase:firebase-storage")
implementation("com.google.firebase:firebase-crashlytics")
implementation("com.google.firebase:firebase-analytics-ktx")
implementation("com.google.firebase:firebase-firestore-ktx")
implementation("com.firebaseui:firebase-ui-auth:8.0.2")

val composeBom = platform("androidx.compose:compose-bom:2024.04.00")
val composeBom = platform("androidx.compose:compose-bom:2024.05.00")
implementation(composeBom)
androidTestImplementation(composeBom)
debugImplementation("androidx.compose.ui:ui-tooling")
implementation("androidx.compose.ui:ui-tooling-preview")
implementation("androidx.compose.material3:material3")
implementation("androidx.compose.ui:ui")
implementation("androidx.activity:activity-compose:1.8.2")
implementation("androidx.activity:activity-compose:1.9.0")
implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.7.0")
implementation("com.google.accompanist:accompanist-themeadapter-material3:0.34.0")

implementation("com.android.billingclient:billing-ktx:6.2.0")
implementation("com.android.billingclient:billing-ktx:6.2.1")

implementation("me.relex:circleindicator:2.1.6@aar")
implementation("com.batch.android:batch-sdk:1.21.1")
implementation("com.batch.android:batch-sdk:2.0.0")

implementation("com.google.dagger:hilt-android:$hiltVersion")
implementation("androidx.hilt:hilt-work:1.2.0")
Expand All @@ -165,7 +165,7 @@ dependencies {

implementation("io.realm.kotlin:library-sync:$realmVersion")

implementation("com.kizitonwose.calendar:compose:2.5.0")
implementation("com.kizitonwose.calendar:compose:2.5.1")
implementation("net.sf.biweekly:biweekly:0.6.8")

implementation("net.lingala.zip4j:zip4j:2.11.5")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ import androidx.work.Configuration
import com.batch.android.Batch
import com.batch.android.BatchActivityLifecycleHelper
import com.batch.android.BatchNotificationChannelsManager.DEFAULT_CHANNEL_ID
import com.batch.android.Config
import com.batch.android.PushNotificationType
import com.benoitletondor.easybudgetapp.db.DB
import com.benoitletondor.easybudgetapp.helper.*
Expand Down Expand Up @@ -347,7 +346,7 @@ class EasyBudget : Application(), Configuration.Provider {
}
}

Batch.setConfig(Config(BuildConfig.BATCH_API_KEY))
Batch.start(BuildConfig.BATCH_API_KEY)
Batch.Push.setManualDisplay(true)
Batch.Push.setSmallIconResourceId(R.drawable.ic_push)
Batch.Push.setNotificationsColor(ContextCompat.getColor(this, R.color.accent))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ class OnlineDBImpl(

override suspend fun updateRecurringExpenseAfterDate(
newRecurringExpense: RecurringExpense,
afterDate: LocalDate,
oldOccurrenceDate: LocalDate,
) {
val recurringExpenses = awaitRecurringExpensesLoadOrThrow().expenses

Expand All @@ -331,7 +331,7 @@ class OnlineDBImpl(

realm.write {
findLatest(entity)?.updateAllOccurrencesAfterDate(
afterDate,
afterDate = oldOccurrenceDate,
newRecurringExpense,
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package com.benoitletondor.easybudgetapp.view.main

import android.annotation.SuppressLint
import android.content.Intent
import android.os.Bundle
import android.view.Menu
Expand Down Expand Up @@ -252,8 +251,7 @@ class MainActivity : BaseActivity<ActivityMainBinding>(), MenuProvider {
}
}

@SuppressLint("MissingSuperCall") // Not sure why this is reported, probably a bug
override fun onNewIntent(intent: Intent?) {
override fun onNewIntent(intent: Intent) {
super.onNewIntent(intent)

this.intent = intent
Expand Down
8 changes: 4 additions & 4 deletions Android/EasyBudget/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
*/
val kotlinVersion by extra("1.9.23") // Change in the plugins below too
val hiltVersion by extra("2.51.1") // Change in the plugins below too
val realmVersion by extra("1.14.1") // Change in the plugins below too
val realmVersion by extra("1.16.0") // Change in the plugins below too

plugins {
id("com.android.application") version "8.3.2" apply false
id("com.android.library") version "8.3.2" apply false
id("com.android.application") version "8.4.0" apply false
id("com.android.library") version "8.4.0" apply false
id("com.google.firebase.crashlytics") version "2.9.9" apply false
id("com.google.gms.google-services") version "4.4.1" apply false
id("org.jetbrains.kotlin.android") version "1.9.23" apply false
id("com.google.dagger.hilt.android") version "2.51.1" apply false
id("com.google.devtools.ksp") version "1.9.23-1.0.20" apply false
id("io.realm.kotlin") version "1.14.1" apply false
id("io.realm.kotlin") version "1.16.0" apply false
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down

0 comments on commit df7fa64

Please sign in to comment.