You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My app crashed because of christian_picker_image in the following scenario - when I entered the camera screen or gallery screen from image_picker and pressed "back", the app crashed because of null value of data in the following line in file ChristianPickerImagePlugin.kt: override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent): Boolean {
I had to fork it and change it to: override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent ?): Boolean {
Some of the logs:
Caused by: java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull, parameter data
E/AndroidRuntime(20695): at com.christian.christian_picker_image.ChristianPickerImagePlugin.onActivityResult(Unknown Source:2)
If you need more logs, I will try to replicate it and paste more.
The text was updated successfully, but these errors were encountered:
I'm using image_picker for video and christian_picker_image for photos.
My app crashed because of christian_picker_image in the following scenario - when I entered the camera screen or gallery screen from image_picker and pressed "back", the app crashed because of null value of data in the following line in file ChristianPickerImagePlugin.kt:
override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent): Boolean {
I had to fork it and change it to:
override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent ?): Boolean {
Some of the logs:
Caused by: java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull, parameter data
E/AndroidRuntime(20695): at com.christian.christian_picker_image.ChristianPickerImagePlugin.onActivityResult(Unknown Source:2)
If you need more logs, I will try to replicate it and paste more.
The text was updated successfully, but these errors were encountered: