Skip to content

Commit

Permalink
Merge pull request #339 from flow-mn/develop
Browse files Browse the repository at this point in the history
Release beta 0.12.0
  • Loading branch information
sadespresso authored Feb 18, 2025
2 parents ec6d2ae + dbcdfb1 commit ddeaf97
Show file tree
Hide file tree
Showing 290 changed files with 12,780 additions and 9,266 deletions.
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,38 @@
# Changelog

## Beta 0.12.0

### New features

* Now you can create and delete (except the default one) filter presets
* **[Experimental]** Now you can receive notifications for pending transactions on iOS and Android.
It may support macOS in the future.
* Deleted transaction now go to "Trash bin". You can recover recently deleted
items, closes [#294](https://github.com/flow-mn/flow/issues/294)
* Added [catppuccin](https://github.com/catppuccin/catppuccin) themes

### Changes and improvements

* Missing exchange rates warning no longer shows if you use only one currency
across Flow
* Now you can group by "All time" - have your transactions in one big group...?
* Currency filter now longer shows when you only use single currency
* Slidable actions no longer preserve open panes when another opens in the same group
* Backup history entry now shows file size with extra decimal precision (e.g., 1mb -> 1.2mb)
* Modal pages will now respond to back buttons/gestures
* Confirming transfers no longer leaves the other transaction stranded

### Fixes

* Fixed total balance not updating in the account tab
* Deleting accounts and categories no longer leave you stranded in a "not found"
page in some cases
* Fixed toggling `Transfers > Exclude from totals` would cause home tab flow to
show incorrect data
* Updating account balance no longer creates multiple amendment transactions when
updating/correcting the amount for the second and subsequent times
* Updating account balance no longer creates unnecessary `zero` amount transactions

## Beta 0.11.1

### Fixes
Expand Down
11 changes: 7 additions & 4 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,14 @@ android {
ndkVersion "27.0.12077973"

compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

coreLibraryDesugaringEnabled true
}

kotlinOptions {
jvmTarget = '17'
jvmTarget = '1.8'
}

sourceSets {
Expand Down Expand Up @@ -84,5 +86,6 @@ configurations {
}

dependencies {
debugImplementation("io.objectbox:objectbox-android-objectbrowser:4.0.3")
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.3'
debugImplementation("io.objectbox:objectbox-android-objectbrowser:4.1.0")
}
4 changes: 2 additions & 2 deletions android/app/src/debug/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
the Flutter tool needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>
<uses-permission android:name="android.permission.INTERNET" />
</manifest>
17 changes: 17 additions & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />

<!-- For local notifications -->
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM"
android:maxSdkVersion="32" />
<uses-permission android:name="android.permission.USE_EXACT_ALARM" />

<application
android:label="Flow"
android:icon="@mipmap/ic_launcher">
Expand Down Expand Up @@ -34,5 +40,16 @@
<meta-data
android:name="flutterEmbedding"
android:value="2" />

<receiver android:exported="false" android:name="com.dexterous.flutterlocalnotifications.ScheduledNotificationReceiver" />
<receiver android:exported="false" android:name="com.dexterous.flutterlocalnotifications.ScheduledNotificationBootReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
<action android:name="android.intent.action.QUICKBOOT_POWERON" />
<action android:name="com.htc.intent.action.QUICKBOOT_POWERON" />
</intent-filter>
</receiver>
<receiver android:exported="false" android:name="com.dexterous.flutterlocalnotifications.ActionBroadcastReceiver" />
</application>
</manifest>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed android/app/src/main/res/drawable-ldpi/monochrome.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions android/app/src/main/res/raw/keep.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools"
tools:keep="@drawable/notification_default" />
30 changes: 29 additions & 1 deletion android/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -1,2 +1,30 @@
# For https://pub.dev/packages/file_picker
-keep class androidx.lifecycle.DefaultLifecycleObserver
-keep class androidx.lifecycle.DefaultLifecycleObserver

## Gson rules
# Gson uses generic type information stored in a class file when working with fields. Proguard
# removes such information by default, so configure it to keep all of it.
-keepattributes Signature

# For using GSON @Expose annotation
-keepattributes *Annotation*

# Gson specific classes
-dontwarn sun.misc.**
#-keep class com.google.gson.stream.** { *; }

# Prevent proguard from stripping interface information from TypeAdapter, TypeAdapterFactory,
# JsonSerializer, JsonDeserializer instances (so they can be used in @JsonAdapter)
-keep class * extends com.google.gson.TypeAdapter
-keep class * implements com.google.gson.TypeAdapterFactory
-keep class * implements com.google.gson.JsonSerializer
-keep class * implements com.google.gson.JsonDeserializer

# Prevent R8 from leaving Data object members always null
-keepclassmembers,allowobfuscation class * {
@com.google.gson.annotations.SerializedName <fields>;
}

# Retain generic signatures of TypeToken and its subclasses with R8 version 3.0 and higher.
-keep,allowobfuscation,allowshrinking class com.google.gson.reflect.TypeToken
-keep,allowobfuscation,allowshrinking class * extends com.google.gson.reflect.TypeToken
2 changes: 1 addition & 1 deletion android/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pluginManagement {

plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "8.7.0" apply false
id "com.android.application" version "8.8.0" apply false
id "org.jetbrains.kotlin.android" version "1.9.10" apply false
}

Expand Down
Loading

0 comments on commit ddeaf97

Please sign in to comment.