This repository was archived by the owner on May 20, 2025. It is now read-only.

Description
On android:
- I upload an APK to google play store, an image(png) is loaded in a specific place of the app
- nothing is changed to that very same image or code related to it, I code-push/release a new version of the app for some other changes
- app downloads the version, restarts properly; Then that image is not loaded, blank!
My code-push command tool version is 1.9.1-beta; My react-native app has the version of "react-native-code-push": "^1.8.0-beta" in package.json.
An example of the image:
Path in my React native app:
myapp/image/map/marker4_jp.png (140 × 180)
Code to show the image:
<Image source = {require('../image/map/marker4_jp.png')} />
I can see in the generated bundle (for upload), it's located in:
myapp/release/drawable-mdpi/image_map_marker4_jp.png
Please notice that the name image_map_marker4_jp.png is different than the original file name, but I guess that's by design? Even more strange, I can see in the same myapp/release/drawable-mdpi/ folder, most of the other images do load in the newer version after restart. So it doesnot happen to every image.
I' ll see if I can provide more information, it's just hard for me to debug...