pilot51 / voicenotify

Android app that speaks notifications
https://voicenotify.app
Apache License 2.0
144 stars 55 forks source link

Crash on start #84

Closed toas-koas closed 1 year ago

toas-koas commented 1 year ago

When I start the app, it immediately crashes again.

Pixel 2XL Android 12 19-20220612-microG-taimen com.pilot51.voicenotify Version 1.2.0

pilot51 commented 1 year ago

Did you update an existing installation? If so and if you don't mind losing your settings, could you go to the Voice Notify app info in Android settings and clear data and try launching the app again?

43qcc2cn commented 1 year ago

I have the same problem with a new install of the latest version from F-Droid on two devices.

Moto G8 Plus. Android 10 (stock ROM) Samsung Galaxy Tab S2. Android 10 (custom ROM)

toas-koas commented 1 year ago

I have reinstalled it. I just tried the old version. It seems to work. With the current version, I have now discovered an error message when I start it:

Error: text-to-speech could not be initialised.

pilot51 commented 1 year ago

Sounds like a duplicate of #80 which I've been unable to reproduce in emulators or my Moto x4 with Android 9.

v1.2.0 is basically to get something out the door and republish it on Google Play (which has been in review for the last 5 days). Far from perfect but I hope it gets the ball rolling on this whole motivation thing.

43qcc2cn commented 1 year ago

Here's a logcat extract from my Moto G8 Plus if it helps: https://pastebin.com/QMBv6M6N

pilot51 commented 1 year ago

Thanks, logcats are definitely helpful!

Appears to be caused by an NPE at Common:63.

Evidently I wasn't thinking when I converted that function to Kotlin. No idea why I expected that preference to never be null.

I'll fix it probably Friday evening or Saturday (when I have time outside of work).