Преглед изворни кода

add support table in readme

Gaëtan Renaudeau пре 8 година
родитељ
комит
d65e55a261
1 измењених фајлова са 15 додато и 3 уклоњено
  1. 15
    3
      README.md

+ 15
- 3
README.md Прегледај датотеку

62
 );
62
 );
63
 ```
63
 ```
64
 
64
 
65
+## Supported views
66
+
67
+Model tested: iPhone 6 (iOS), Nexus 5 (Android).
68
+
69
+| System             | iOS                | Android           |
70
+|--------------------|--------------------|-------------------|
71
+| View,Text,Image,.. | YES                | YES               |
72
+| WebView            | YES                | NO (crash!)       |
73
+| gl-react           | YES                | NO (empty)        |
74
+| react-native-video | NO                 | NO                |
75
+| react-native-maps  | YES                | [NO](https://github.com/gre/react-native-view-shot/issues/36) |
76
+
77
+
65
 ## Caveats
78
 ## Caveats
66
 
79
 
67
 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.
80
 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
 - 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.
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
 ### specific to Android implementation
85
 ### specific to Android implementation
112
 
125
 
113
 #### Windows
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!
117
 
129
 
118
 ## Thanks
130
 ## Thanks
119
 
131