Open Georift opened 1 year ago
Thanks for leaving that crash report and for starting the issue. I'll use it as a place to keep notes for myself as well.
I've received some crash reports before and it looks like a permission issue, but I haven't been able to reproduce the crash in my Android Studio emulators or the physical devices I have. The crash report mentions that I have to obtain access using ACCESS_OPEN_DOCUMENT. I thought I did that in line 81 in MainActivity.kt, but I must have missed something somewhere.
If you could take a look I'd definitely appreciate it. I'm still clawing my way up the learning curve.
Hello, the app crashes at boot on my smartphone too (Android 12). I think it's since the v2.2.
Thanks for the crash report. I'm still trying to reproduce the issue on my devices or emulators. What device do you have?
Very delayed reply, I'm running Graphene OS on a Pixel 6. That's probably the cause if I were to guess. Permissions can sometimes be a little more locked down.
Thanks for the reply, I'd agree with your assessment. I've been meaning to try GrapheneOS, maybe this is a sign I need to install it.
The way I made it crash was:
I was not able to open the app again until I reinstalled it, which makes me think the app is trying to load a file that doesn't exist anymore.
@lufte Thanks for that crash report. You were right, the app didn't have any error checking on the background image load process. I released v3.2 to fix the issue.
To continue my notes on the permission-related crashes, I installed GrapheneOS on a Pixel 5 that I had lying around and the app loaded without crashing. I just used the defaults so there may be a setting somewhere that changes the permission handling. I'll still keep tinkering with it. It's a little strange to be disappointed when my app doesn't crash, but at this point I'd be very happy to see the permission crash on my own device or emulator where I could debug it.
Hey thanks for the App. It worked for a little while, but I think after setting a default photo I get a crash at boot.
I'll take a look shortly see if I can spot this issue. Just leaving this here as a reminder to myself. 👍