React-Native-Local-Resource icon indicating copy to clipboard operation
React-Native-Local-Resource copied to clipboard

Fail to load resource in Android release mode

Open shayhz opened this issue 5 years ago • 1 comments

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,

shayhz avatar Jul 10 '19 07:07 shayhz

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

jadfls avatar Nov 18 '20 21:11 jadfls