The image picker works fine in the debug apk but crashes in the release apk.
The picker opens the gallery to select the image but when I tap on it, throws the following exception
PlatformException(already_active, Image picker is already active, null, null)
. The plugin works fine on sdk version uptill 28/29, but I'm using 30.
Can someone please tell me where I am going wrong or if I have to do something in the manifest file or such thing. I'm using the basic Image picker
plugin. Please help me out, Thank you.
Asked
Active
Viewed 278 times
0

Chetan Billava
- 1
- 2
-
Is there any Code you could add to your question to make it more specific? – Marcel Hofgesang May 10 '21 at 19:47
-
By code do you mean the code snippet that I've used to upload an image or the error/exception that gets throwed? – Chetan Billava May 11 '21 at 11:51
1 Answers
0
You can find similar issue here that may help you to resolve this:
Flutter Image picker is already active, null exception

Subair K
- 1,760
- 1
- 11
- 31