react-native-macos/Libraries/Image
zhongwuzw e40a76715a Remove explicitly add png file extension when load local image (#23864)
Summary:
We need to remove adding png file extension when path has not extension. Two reasons:
1. `imageWithContentsOfFile` or other `UIKit` methods can load png image correctly, even if path has not `png` file extension.
2. Sometimes, people may have file that actually not have file extension, it's the designated behavior for user. Like #23844 .

CC. sahrens cpojer .

[iOS] [Fixed] - Remove explicitly add png file extension when load local image
Pull Request resolved: https://github.com/facebook/react-native/pull/23864

Reviewed By: shergin

Differential Revision: D14425373

Pulled By: hramos

fbshipit-source-id: 3cc06c9a3d68cadf652c1de742f3cce26258c874
2019-03-18 23:03:32 -07:00
..
RCTImage.xcodeproj Update Xcode projects (#19574) 2018-06-19 23:48:12 -07:00
__tests__ jest: rename tests to follow the new convention 2018-11-26 10:30:12 -08:00
AssetRegistry.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
AssetSourceResolver.js Move asset related modules into `metro-buck` 2018-12-06 20:15:46 -08:00
Image.android.js Bump Prettier to 1.16.4 2019-03-14 07:00:27 -07:00
Image.ios.js Bump Prettier to 1.16.4 2019-03-14 07:00:27 -07:00
ImageBackground.js Back out "Change ImageBackground to work with percentage image sizes" 2018-09-12 12:31:52 -07:00
ImageEditor.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
ImageProps.js Image - Flow type onError prop to include the error string 2019-03-01 18:09:02 -08:00
ImageResizeMode.js RN: Replace `ImageResizeMode` w/ Flow Type 2018-09-28 01:07:30 -07:00
ImageSource.js Move ImageSourcePropType.js, ImageStylePropTypes.js, TextPropTypes.js (#21387) 2018-09-28 23:21:38 -07:00
ImageStore.js Add deprecation notice to ImageStore (#23330) 2019-02-11 01:24:03 -08:00
ImageViewNativeComponent.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTGIFImageDecoder.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTGIFImageDecoder.m Add ImageIO related C nullable check to prevent crash (#23186) 2019-01-28 03:36:57 -08:00
RCTImageBlurUtils.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTImageBlurUtils.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTImageCache.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTImageCache.m Enhance image freshness check before stored into cache (#23226) 2019-02-06 02:07:17 -08:00
RCTImageEditingManager.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTImageEditingManager.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTImageLoader.h Make FBReactModule, RCTNetworking, and RCTImageLoader use new Plugin API 2019-03-12 21:07:36 -07:00
RCTImageLoader.m Remove explicitly add png file extension when load local image (#23864) 2019-03-18 23:03:32 -07:00
RCTImageShadowView.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTImageShadowView.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTImageStoreManager.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTImageStoreManager.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTImageUtils.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTImageUtils.m Add ImageIO nullable check in Image module (#23544) 2019-02-19 21:22:37 -08:00
RCTImageView.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTImageView.m Fix image scaling (#23641) 2019-02-25 11:31:55 -08:00
RCTImageViewManager.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTImageViewManager.m Add Image.getSizeWithHeaders (#18850) 2019-03-12 19:20:31 -07:00
RCTLocalAssetImageLoader.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTLocalAssetImageLoader.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTResizeMode.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTResizeMode.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
React-RCTImage.podspec Split React.podspec into separate podspecs for each Xcode project (#23559) 2019-02-21 18:35:44 -08:00
RelativeImageStub.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
TextInlineImageNativeComponent.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
assetPathUtils.js Added: informational error message on getting Android drawable folder… (#17751) 2019-01-28 09:10:33 -08:00
nativeImageSource.js Fix `Platform.select` related flow errors [3/N] 2018-12-05 21:48:55 -08:00
resolveAssetSource.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00