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

Fail to load resource in Android release mode #6

Open
shayhz opened this issue Jul 10, 2019 · 1 comment
Open

Fail to load resource in Android release mode #6

shayhz opened this issue Jul 10, 2019 · 1 comment

Comments

@shayhz
Copy link

shayhz commented Jul 10, 2019

Hi,
During development I call to loadLocalResource and everything is working fine, but it doesn't work on released apk (.\gradlew assembleRelease) - it fails to read the file.
In the released apk I see that the file is under res\drawable-mdpi-v4.
I tried to put the file under under android\app\src\main\assets, but it still didn't work.
I'm running with RN 0.50.3.
Please advice,

@jadfls
Copy link

jadfls commented Nov 18, 2020

having the same issue. @shayhz did you find a solution for this.

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

2 participants