gre / react-native-view-shot

Snapshot a React Native view and save it to an image
https://github.com/gre/react-native-view-shot-example
MIT License
2.64k stars 344 forks source link

Regression in 4.0.0-alpha.2 #527

Open alanjhughes opened 4 months ago

alanjhughes commented 4 months ago

bug report

I believe #515 has caused a regression where all the snapshots are blank images. Reverting these changes restores the correct behaviour.

Version & Platform

react-native-view-shot 4.0.0-alpha.2 react-native 0.74.0 iOS 17.4

Platform: iOS

Expected behavior

After reverting the change for #515 Simulator Screenshot - iPhone 15 Pro - 2024-04-24 at 11 05 11

Actual behavior

The images are all blank With the changes from #515 Simulator Screenshot - iPhone 15 Pro - 2024-04-24 at 11 06 57

Steps to reproduce the behavior

Run version 4.0.0-alpha.2 on RN 0.74.0

stevengoldberg commented 3 months ago

Observed the same behavior in 4.0.0-alpha.3 with RN 0.74.1.