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

Camera/Files Upload crashes app on Android 13 #297

Open
natsirasrafi opened this issue Dec 9, 2023 · 1 comment
Open

Camera/Files Upload crashes app on Android 13 #297

natsirasrafi opened this issue Dec 9, 2023 · 1 comment

Comments

@natsirasrafi
Copy link

natsirasrafi commented Dec 9, 2023

Describe the bug
I was able to make Android 13 able to take photos and upload photo from the gallery on file chooser without problems, after deleting the code:

"assert result.getData() != null;"

but my new problem is when I'm in the position of taking a photo or opening the gallery/file manager then I go back, the application crashes if I try to click the file chooser again

Expected behavior
on Android 13 able to take photo from camera when click file chooser without any bug

Screenshots
image

Device (please complete the following information):

  • Device name/variant: Poco X3 Pro
  • Build [e.g. arm, x86]
  • Android Version : 13 API 33
@natsirasrafi natsirasrafi changed the title I was able to make Android 13 able to take photos and upload them from the gallery on file chooser without problems, but my new problem is when I'm in the position of taking a photo or opening the gallery/file manager then I go back, the application crashes if I try to click the file chooser again I was able to make Android 13 able to take photos and upload photo from the gallery on file chooser without problems, but my new problem is when I'm in the position of taking a photo or opening the gallery/file manager then I go back, the application crashes if I try to click the file chooser again Dec 9, 2023
@mgks
Copy link
Owner

mgks commented Dec 9, 2023

Your problem is quite confusing to be honest and not very clear. You mentioned you had to delete assert result.getData() != null; to make it work but at the same time it's not working? How? can you also provide a log without deleting the assert code?

@mgks mgks changed the title I was able to make Android 13 able to take photos and upload photo from the gallery on file chooser without problems, but my new problem is when I'm in the position of taking a photo or opening the gallery/file manager then I go back, the application crashes if I try to click the file chooser again Camera/Files Upload crashes app on Android 13 Dec 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants