Repository navigation
Patch Changes
-
#768
1007408Thanks @L65FREAD! - iOS: captures are rendered withUIGraphicsImageRendererFormatRangeStandard, so PNGs are written at 8 bits per channel instead of 16 on wide color devices and simulators. Visible change: JPG captures of views with transparent areas now get a white background there instead of black (JPEG has no alpha channel), matching what non wide color devices already produced. -
#777
5e09059Thanks @m-bert! - iOS: declare the SwiftPM name (swiftpmConfig.name) inpackage.json. Since React Native 0.88, SwiftPM autolinking names a library after its podspec when CocoaPods can read it, so the library was linked asreact-native-view-shotand the build failed withproduct 'react-native-view-shot' ... not found in package 'react-native-view-shot', becausePackage.swiftcalls the productReactNativeViewShot. CocoaPods builds are unaffected.