You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Snapshots are not guaranteed to be pixel perfect. It also depends on the platform. Here is some difference we have noticed and how to workaround.
68
81
69
-
- Support of special components like Video / GL views remains untested.
82
+
- Support of special components like Video / GL views is not guaranteed to work. In case of failure, the `takeSnapshot` promise gets rejected (the library won't crash).
70
83
- It's preferable to **use a background color on the view you rasterize** to avoid transparent pixels and potential weirdness that some border appear around texts.
71
84
72
85
### specific to Android implementation
@@ -112,8 +125,7 @@ react-native link react-native-view-shot
112
125
113
126
#### Windows
114
127
115
-
No support yet. Feel free to PR.
116
-
128
+
Stay tuned, https://github.com/gre/react-native-view-shot/pull/45 will be merged soon!
0 commit comments