Open boutier opened 7 months ago
@boutier I'm seeing this as well and would love an update or workaround.
@boutier I ended up working around this my following the alterations on this page by adding the following to the dependencies in the gradle file.
implementation("androidx.documentfile:documentfile:1.0.1")
Oh, thanks for the workaround!
I admit that I din't found time to dig around this. But I really would like to understand why the versions differ between dev and release mode, and why dependencies are dropped. Maybe is it a more general issue, though: as I mainly test my code with the dev mode… I'm quite afraid about facing unexpected behaviors in prod (release)!
Hello,
Issue
I have updated
Imagepicker
on its latest version (3.0.0
/3.0.1
). It worked well in dev mode, but when built with the--release
flag, it cease to work.I patched webpack to re-enable logs in release mode (
drop_console: false
), and get this one.Investigation
So I have extracted and compared the 2 produced APK. Here are some differences that looks suspicious to me in the
META-INF
directory.--release
(These files does not have corresponding entries in
MANIFEST.MF
.)androidx.customview_customview.version
has content1.1.0
in "dev" and1.0.0
in "release".androidx.drawerlayout_drawerlayout.version
has content1.1.1
in "dev" and1.0.0
in "release".Other informations
Here are some other informations about my config:
package.json
extractsapp.gradle
AndroidManifest.xml
extracts(I first thought it was a permission problem, that's why I have here the old
*_EXTERNAL_STORAGE
andrequestLegacyExternalStorage
but I don't think it changed anything. I should probably just revert this!)Question
I don't really know how these files are generated and what I should try to go forward at this point. Any help appreciated! :-)