Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected Crash: IllegalArgumentException #136

Open
HKR001 opened this issue May 10, 2023 · 2 comments
Open

Unexpected Crash: IllegalArgumentException #136

HKR001 opened this issue May 10, 2023 · 2 comments

Comments

@HKR001
Copy link

HKR001 commented May 10, 2023

Discovered By: BanDev Unexpected Crash Handler
Device: Xiaomi lineage_spes (2201117TG)
Android version: 13 (33)
Release: v2.2.0
Date: 11/5/2023 02:06:25
Stacktrace:java.lang.IllegalArgumentException: org.bandev.buddhaquotes: Targeting S (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.at android.app.PendingIntent.checkFlags(PendingIntent.java:401)at android.app.PendingIntent.getBroadcastAsUser(PendingIntent.java:671)at android.app.PendingIntent.getBroadcast(PendingIntent.java:658)at m6.e.e(SourceFile:191)at m6.d.h(SourceFile:91)at a5.a.b(SourceFile:1)at n5.a0.run(SourceFile:1)at kotlinx.coroutines.internal.e.run(Unknown Source:11)at kotlinx.coroutines.scheduling.i.run(Unknown Source:2)at kotlinx.coroutines.scheduling.a.run(SourceFile:77)Suppressed: e2.a: [f1{Cancelling}@b7770a2, Dispatchers.IO]

@russellbanks
Copy link
Member

Hey, thanks for the issue. I rewrote the app entirely a couple years back but then worked on other projects. I've revisited this recently and made a release for the code we already had because we never released it back then. I'm just merging the rewrite into the main codebase, which shouldn't have this issue.

@balexx
Copy link

balexx commented Aug 25, 2023

The issue persists on a OnePlus 11 running OxygenOS 13.1 (Android 13).
To recreate add a widget to the home screen, choose whichever widget config and save it. You will be presented with the exception and the widget would be added. However, the widget won't follow the selected configuration and won't update with new quotes. Pressing the widget would still open the app, though, so it effectively functions as a shortcut.

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

No branches or pull requests

3 participants