react-native-code-push
react-native-code-push copied to clipboard
Images not rendering properly on ios after code-push with resizeMode center
Steps to Reproduce
- React Native Image Component local image which matches resizeMode center
- Install the app from Xcode Production version
- Change the tintColor of the image or change text if you have
- Release using "code-push release-react
ios "
Expected Behavior
Images should render properly as it is in dev version debug mode
Actual Behavior
Images with resizeMode "center" gets resizeMode "cover". I am mentioning "cover" because it matches with it in dev mode.
SCREENSHOTS
After CodePush to Production App - 1 Improper images
After CodePush to Production App - 1 Some proper images - Images representing Views, Comments, Attachments are looking good.
Environment
- react-native-code-push version: 5.2.1
- react-native version: 0.52.0
- iOS/Android/Windows version: iOS version 11.2.6
- Does this reproduce on a debug build or release build? Release
###Notes The App uses this tabbar component in React Navigation For the topbar it uses StackNavigator.
use "contain". worked for me... resizeMethod={'resize'} resizeMode={'contain'}