Skip to content

Conversation

@flyingOwl
Copy link
Contributor

@flyingOwl flyingOwl commented Dec 5, 2024

Increase target SDK to 35 so it will run on current versions of Android.

One commit fixes the crash when changing the color and icon of a track (see #162 and #157). Another commit adds working notifications for Android 13+ which needs a requestPermissions() call.

Note: This is just a quick fix to put the app in a working state again. A lot of stuff in the code is deprecated and needs a proper refactoring.

Increase targetSdkVersion, fix lordi#163
Fixes lordi#162

Problem is that the EditText of an EditTextPreference is not part of the
layout when setting a custom layout. But the EditText is used like it is
part of the layout and will return null every for various calls that
will lead to a crash. By adding the EditText to the custom layout, it
works. But it's still just a hack.
@flyingOwl flyingOwl force-pushed the flyingOwl/android_api_35 branch from 82b6780 to 9d21c4a Compare December 5, 2024 09:53
@lordi
Copy link
Owner

lordi commented Dec 8, 2024

Hi, thanks for the PR! For merging I think the unit tests would need to run which are currently failing. Would it be possible for you to check these?

Do you use Tickmate via Play store or F-Droid?

@flyingOwl
Copy link
Contributor Author

I tried to run Tickmate from F-Droid but I experienced the same crashes when changing the icon or the color of a track as others.

I will check the unit tests!

@flyingOwl
Copy link
Contributor Author

The unit tests were failing due to outdated dependencies. That should be fixed now.

@lordi lordi merged commit 20848df into lordi:master Dec 11, 2024
1 check passed
@lordi
Copy link
Owner

lordi commented Dec 11, 2024

Thanks. If I find the time I'll look into releasing a new version this weekend

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants