require image load wrong image in android
See original GitHub issueDescription
Whenever I add a new image to the project, the next update presents this problem in production, both in apk and aab. The problem is that some of the images in the app point to other images and not to those in source. for example instead of a wave or icon, I get something else. This does not happen in the android emulator, it only happens if I update the app from a previous version, if I install it from scratch it does not access. I uploaded two photos from two different phones, one before the update, one with the update. Can you give me a hand?
Version
0.66.3
Output of react-native info
OS: macOS 10.15.7
CPU: (4) x64 Intel(R) Core(TM) i5-3330S CPU @ 2.70GHz
Memory: 52.42 MB / 8.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries: Node: 12.22.1 - /usr/local/bin/node Yarn: Not Found npm: 6.14.12 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman Managers: CocoaPods: 1.10.1 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2 Android SDK: API Levels: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31 Build Tools: 28.0.3, 29.0.2, 29.0.3, 30.0.2 System Images: android-30 | Google APIs Intel x86 Atom, android-30 | Google Play Intel x86 Atom Android NDK: Not Found IDEs: Android Studio: 2020.3 AI-203.7717.56.2031.7784292 Xcode: 12.4/12D4e - /usr/bin/xcodebuild Languages: Java: 11.0.13 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 17.0.2 => 17.0.2 react-native: 0.66.3 => 0.66.3 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found
Steps to reproduce
Whenever I add a new image to the project
Snack, code example, screenshot, or link to a repository
Issue Analytics
- State:
- Created 2 years ago
- Comments:6
Top GitHub Comments
Solved, problem was affecting Fresco, in particular version 2.6.0, downgrade to 2.5.0 I solved it
@pierroo tbh, I don’t know. My case was slightly different and
force "com.facebook.fresco:fresco:2.5.0"
was enough.