Android-SmartWebView
Android-SmartWebView copied to clipboard
Camera/Files Upload crashes app on Android 13
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
Device (please complete the following information):
- Device name/variant: Poco X3 Pro
- Build [e.g. arm, x86]
- Android Version : 13 API 33
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?