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

App crush in Production when start() called #450

Open
dhruv036 opened this issue Feb 20, 2024 · 1 comment
Open

App crush in Production when start() called #450

dhruv036 opened this issue Feb 20, 2024 · 1 comment

Comments

@dhruv036
Copy link

CODE

ImagePicker.create(this)
.returnMode(ReturnMode.ALL) // set whether pick and / or camera action should return immediate result or not.
.toolbarImageTitle("Select Profile picture") // image selection title
.toolbarArrowColor(Color.WHITE) // Toolbar 'up' arrow color
.includeVideo(false) // Show video on image picker
.single() // single mode
.showCamera(true) // show camera or not (true by default)
.imageDirectory("Camera") // directory name for captured image ("Camera" folder by default)
.enableLog(false) // disabling log
.theme(R.style.PurpleToolbar)
.start()

Expected Behavior

                Steps:
                1. For first should ask permission
                2.Then should open camera

Actual Behavior

               Steps:
               1. App crash

Steps to Reproduce the Problem

  1. when minify and shrinkresouce is enabled.
@dhruv036
Copy link
Author

Solution:- add this in your proguard file.

 -keepclassmembers class com.esafirm.** {
       *;
     }

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

1 participant