Android-SmartWebView icon indicating copy to clipboard operation
Android-SmartWebView copied to clipboard

Camera/Files Upload crashes app on Android 13

Open natsirasrafi opened this issue 1 year ago • 1 comments

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 avatar Dec 09 '23 00:12 natsirasrafi

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 avatar Dec 09 '23 07:12 mgks