|
@@ -47,8 +47,12 @@ Snapshots are not guaranteed to be pixel perfect. It also depends on the platfor
|
47
|
47
|
|
48
|
48
|
- Support of special components like Video / GL views remains untested.
|
49
|
49
|
- 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.
|
50
|
|
-- on Android, you need to make sure `collapsable` is set to `false` if you want to snapshot a **View**. Otherwise that view won't reflect any UI View. ([found by @gaguirre](https://github.com/gre/react-native-view-shot/issues/7#issuecomment-245302844))
|
51
|
|
-- if you want to share out the screenshoted file on Android, you will have to copy it somewhere first so it's accessible to an Intent, see comment: https://github.com/gre/react-native-view-shot/issues/11#issuecomment-251080804 .
|
|
50
|
+
|
|
51
|
+### Notes specific to Android implementation
|
|
52
|
+
|
|
53
|
+- you need to make sure `collapsable` is set to `false` if you want to snapshot a **View**. Otherwise that view won't reflect any UI View. ([found by @gaguirre](https://github.com/gre/react-native-view-shot/issues/7#issuecomment-245302844))
|
|
54
|
+- if you want to share out the screenshoted file, you will have to copy it somewhere first so it's accessible to an Intent, see comment: https://github.com/gre/react-native-view-shot/issues/11#issuecomment-251080804 .
|
|
55
|
+- if you implement a third party library and want to get back a File, you must first resolve the `Uri`. the `file` result returns an `Uri` so it's consistent with iOS and you can give it to `Image.getSize` for instance.
|
52
|
56
|
|
53
|
57
|
## Getting started
|
54
|
58
|
|