-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Fixes in-app camera behaviour #5302
Conversation
Did you test on API level 12? The |
Tested it on my Android 8.1 device. I think this error is happening only for the PS: Sorry for assuming that both the flavours behave in the same way and the upload would fail on the prod flavour too. I ended up uploading a test image on the prod flavour. Might be taken up as a separate issue later; I'm still facing issues on the beta flavour. |
On Android 14 with this pull request, I unfortunately still see the issue (all 4 symptoms listed at the end of #5300 reproduce every time).
The Wikidata and OkHttp lines can probably be ignored, I guess they happen in the background.
It is interesting to see that the app manages to parse the picture's EXIF: If I use the "Fake GPS" app to pretend I am in Costa Rica, the log line towards the middle says |
@RitikaPahwa4444 Tested the build on api 23 as well, works well for me. Also, the sign up screen crashes for API 21, need to update jdk version and 2 dependencies, can be fixed as part of separate issue here. |
Do we have a |
@RitikaPahwa4444 I meant compile and target SDK above. Sry for the confusion. |
I am running the app on Android 14, but I compiled it without modifying any file, meaning with compileSdkVersion=targetSdkVersion=33. |
@nicolas-raoul Tested this on API 34 (emulator) as well, works well for me, env was prodDebug. |
Thanks for testing! |
if you could try running on some other device with android 14 that would be great, on my end I can try on this device. If everything works for me, idk how to debug the issue you are facing. The logs above don't seem to be of any help. Also, can you make sure that the issue you are facing is not something permission related, you can copy paste this one liner code to main where the code for #5299 was merged and try running. |
Somehow the upload failure does not seem to happen today, on the same Pixel 7 Pro device. 🤯 Accordingly, I am in favor of merging this. 🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for this other release blocker fix! 🙂
I tested on a OnePlus Nord running Android 12 and observe the minor issues, too. I opened issue #5305 to track this. |
@sivaraam @nicolas-raoul I was not able to replicate the issue mentioned in #5305 on both emulator and a device, so maybe someone else can take a look at it. |
Description (required)
Fixes #5300
What changes did you make and why?
The toast for
file not found, try another file
does not appear now. The camera picture seems to upload for me but sometimes due to an API error as below it (any picture from this app) never completely uploads for me.The API error is here, maybe indicates some limit on API usage:
Maybe someone else should try on their device.
Tests performed (required)
Tested {Debug} on {samsung galaxy M31} with API level {12}.
Screenshots (for UI changes only)
2023_09_24_08_43_00_trim.mp4
Need help? See https://support.google.com/android/answer/9075928
Note: Please ensure that you have read CONTRIBUTING.md if this is your first pull request.