Sav22999 / common-voice-android

Repository of "CV Project" app. It's an unofficial app for Mozilla Common Voice, which permits you to contribute to this project via your device.
https://www.saveriomorelli.com/commonvoice/
GNU General Public License v3.0
108 stars 18 forks source link

[BUG] Crashes on start on Android 12 #191

Closed fabmazz closed 2 years ago

fabmazz commented 2 years ago

I cannot start the app, using Android 12. Tried by cleaning cache (as suggested by the system) but it didn't work.

I don't have much more information because as soon as the app starts, it crashes, and it does so every time.

General information

About OS*

OS version: Android 12, Samsung OneUI 4.1

OS language (in English): Italian

About the app (CV Project)*

App release: 2.4.0.3::FD-GH

App language (in English): Italian

About you device

Device RAM: 6GB

Device display size (in Inches): 6.5 inch

(Optional, but recommended) Device model (and brand): Samsung A52s 5G

From what store have you installed the app?: F-Droid

Are there installed Google Services on your device? Yes

Description bug *

I cannot start the app

How to reproduce the bug *

  1. Open the app
  2. Crashes

Screenshots

Log file

Since the app crashes on start, I cannot create a log file

Additional context

TKr commented 2 years ago

FDroid build 2.4.0.3 java.lang.IllegalArgumentException: org.commonvoice.saverio: 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:375) at android.app.PendingIntent.getBroadcastAsUser(PendingIntent.java:645) at android.app.PendingIntent.getBroadcast(PendingIntent.java:632) at androidx.work.impl.utils.ForceStopRunnable.getPendingIntent(ForceStopRunnable.java:273) at androidx.work.impl.utils.ForceStopRunnable.isForceStopped(ForceStopRunnable.java:151) at androidx.work.impl.utils.ForceStopRunnable.forceStopRunnable(ForceStopRunnable.java:171) at androidx.work.impl.utils.ForceStopRunnable.run(ForceStopRunnable.java:102) at androidx.work.impl.utils.SerialExecutor$Task.run(SerialExecutor.java:91) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:920)

Sav22999 commented 2 years ago

@TKr Thanks for the report. I've unsertood the issue and I'll fix asap (today I hope).

Sortu for the incovenience