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

[BUG] In app camera not working #64

Open
W1zardK1ng opened this issue Jun 25, 2024 · 17 comments · Fixed by #72
Open

[BUG] In app camera not working #64

W1zardK1ng opened this issue Jun 25, 2024 · 17 comments · Fixed by #72
Labels

Comments

@W1zardK1ng
Copy link

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

@aashishksahu
Copy link
Owner

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.

@IrealiTY
Copy link

Same issue on the pixel 8 pro. Tried reinstalling too

@aashishksahu
Copy link
Owner

Hmm... will need a logcat to check.

@W1zardK1ng
Copy link
Author

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

Screenshot_20240703-193351

@aashishksahu aashishksahu linked a pull request Jul 4, 2024 that will close this issue
@aashishksahu aashishksahu reopened this Jul 4, 2024
@aashishksahu
Copy link
Owner

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

@aashishksahu
Copy link
Owner

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

@aashishksahu
Copy link
Owner

@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.

@W1zardK1ng
Copy link
Author

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.

@aashishksahu
Copy link
Owner

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

@W1zardK1ng
Copy link
Author

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

@aashishksahu
Copy link
Owner

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.

@W1zardK1ng
Copy link
Author

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.

@aashishksahu
Copy link
Owner

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
Copy link
Owner

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

@clach04
Copy link

clach04 commented Aug 31, 2024

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

@d92t8b1i
Copy link

d92t8b1i commented Sep 10, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants
@clach04 @IrealiTY @aashishksahu @W1zardK1ng @d92t8b1i and others