SafeSpace icon indicating copy to clipboard operation
SafeSpace copied to clipboard

[BUG] In app camera not working

Open W1zardK1ng opened this issue 1 year ago • 17 comments
trafficstars

I'm not able to take any photos or videos using the camera option built inside the app. Clicking on the camera shutter button for photos does nothing and for the videos it gives an error saying "internal error, could not save video." app version: 2.0.0, google play store. Device: google pixel 6a

W1zardK1ng avatar Jun 25 '24 21:06 W1zardK1ng

I tried this in my emulator, it's working fine. maybe reinstall the app, see if that fixes the issue, check permissions and also, please provide a few more details such as the android version, custom rom (if any), steps to reproduce the error, and, if possible, a logcat would be very helpful.

aashishksahu avatar Jun 26 '24 18:06 aashishksahu

Same issue on the pixel 8 pro. Tried reinstalling too

IrealiTY avatar Jun 28 '24 20:06 IrealiTY

Hmm... will need a logcat to check.

aashishksahu avatar Jun 29 '24 05:06 aashishksahu

Please find the below screenshot. attaching the logs too, hope this helps. Safe Space log 5e3325376748.txt

Screenshot_20240703-193351

W1zardK1ng avatar Jul 03 '24 23:07 W1zardK1ng

Please try again and send me the error log from the Logs option in settings.

aashishksahu avatar Jul 04 '24 10:07 aashishksahu

@W1zardK1ng just saw the logs, thanks for that, it will help in diagnosing the issue.

aashishksahu avatar Jul 04 '24 14:07 aashishksahu

@W1zardK1ng I checked the logs and there wasn't enough info that points to a crash. Please also share the logs from the app settings.

aashishksahu avatar Jul 04 '24 14:07 aashishksahu

I tried the new app but I was not able to copy the logs. Long pressing on the text does nothing and three is no option to save the log file.

W1zardK1ng avatar Jul 05 '24 03:07 W1zardK1ng

Hmm… let me check that, meanwhile can you please share the screenshot.

aashishksahu avatar Jul 05 '24 03:07 aashishksahu

Sorry for the delay, but here is the logs from the app after the error. safesapce_logs.txt

W1zardK1ng avatar Jul 16 '24 00:07 W1zardK1ng

Hey @W1zardK1ng , can you tell me if you are still facing the camera issue? I've been tracking this issue all across the web and it seems it's a rare issue that happens only with some devices. I haven't been able to reproduce this issue on any of my devices (virtual and real) but this error message seems legit. I am still digging into it, just in case a version update helped you, please let me know.

aashishksahu avatar Jul 23 '24 06:07 aashishksahu

Yes, i still have the issue on my Pixel 6a a running GrapheneOS. But yah i tried the app on an old device running LineageOS and the camera is working fine there.

W1zardK1ng avatar Jul 23 '24 21:07 W1zardK1ng

So one thing I observed is that, the people who reported having this issue have GrapheneOS. I wonder what's different? Either they have some different security restriction or maybe some changes to the API itself?

aashishksahu avatar Jul 24 '24 06:07 aashishksahu

Just checked the issue in graphene os tracker, as per the log the camera is off and this is only happening in graphene os. Unless I can install graphene os on an emulator there’s no way for me to debug this. I’ll check if gos can run on emulator

aashishksahu avatar Aug 12 '24 17:08 aashishksahu

In case this helps, I'm not seeing this on Samsung (Android 10). Camera works fine.

clach04 avatar Aug 31 '24 14:08 clach04

I have this issue as well. I just see a black screen on photo/video. Photo button does nothing and video button produces the same error as above.

I'm using GrapheneOS (android 14) on a Pixel 8a. All my other camera apps work including GrapheneOS camera app, google camera app, and Open Camera app. Maybe the Open Camera app code base could be helpful here. See how they have coded it maybe?

Edit: I attached log as well.

log.txt

d92t8b1i avatar Sep 10 '24 15:09 d92t8b1i