Gaëtan Renaudeau
cbffb12449
update example with latest RN
7 gadus atpakaļ
Gaëtan Renaudeau
00a56625ad
Merge pull request #108 from janicduplessis/master
Include RCTUIManagerUtils.h for more recent RN versions
7 gadus atpakaļ
Janic Duplessis
31a13f4d00
Include RCTUIManagerUtils.h for more recent RN versions
7 gadus atpakaļ
Gaëtan Renaudeau
840f34e1d0
2.1.0
7 gadus atpakaļ
Gaëtan Renaudeau
773f5d2d37
fix example
7 gadus atpakaļ
Gaëtan Renaudeau
ff8e83cc7f
Update README.md
7 gadus atpakaļ
Gaëtan Renaudeau
228f9bc8d0
Merge pull request #100 from Taym95/master
Add ScrollView example
7 gadus atpakaļ
Taym95
0541daa9ac
Moving ScrollView example in the previous code snippet
7 gadus atpakaļ
Gaëtan Renaudeau
55365d6a55
Update ISSUE_TEMPLATE.md
7 gadus atpakaļ
Taym95
e3fde2d5b2
Add ScrollView example
7 gadus atpakaļ
Gaëtan Renaudeau
796c34193d
Merge pull request #96 from foxmicha/master
add captureScreen
7 gadus atpakaļ
foxmicha
476b446e7a
Removed extraneous if check - assigning the scaling is not required
7 gadus atpakaļ
Gaëtan Renaudeau
d90b2c1188
Update README.md
7 gadus atpakaļ
Gaëtan Renaudeau
9aa17c9621
add SVG example. fixes https://github.com/gre/react-native-view-shot/issues/97
7 gadus atpakaļ
foxmicha
8ca87ce03d
Revert falsey view check to preserve error being thrown back to user in the case of a bad ref ID
7 gadus atpakaļ
Fox
78ac6311a6
Replace the pointer equivalency check with a falsey check on the UIView.
7 gadus atpakaļ
foxmicha
d92a431ed4
Refactor code example to improve code reuse and reduce bloat. If no refname is passed, capture the displayed screen.
7 gadus atpakaļ
foxmicha
5ed8cf90e6
Update the example App to include the Native Screenshot button for testing the captureScreen functionality. Update the index.js as a final code refactor for the captureScreen name,
7 gadus atpakaļ
foxmicha
15a39d83ab
Update the main README to include the new captureScreen documentation.
7 gadus atpakaļ
Fox
21cd028b3b
Update Android and JS code to reflect name change to captureScreen
7 gadus atpakaļ
Fox
b36a997999
Fix build errors in iOS native code
7 gadus atpakaļ
foxmicha
72e746e642
Updated iOS functionality to provide the "captureScreenshot." This will capture the entire screen all the views currently displayed. This performs a native screen capture, so a ref tag is not required.
7 gadus atpakaļ
foxmicha
8df4c24ee3
Update Android functionality to provide the "captureScreenshot". This will capture the entire screen and all the views currently displayed. This performs a native screen capture so a ref tag is not required.
7 gadus atpakaļ
Gaëtan Renaudeau
9bae01901b
example is now a folder in the lib
7 gadus atpakaļ
Gaëtan Renaudeau
1cbcf0d1d5
embed the example in an example folder
7 gadus atpakaļ
Gaëtan Renaudeau
db78ac8e8d
Merge pull request #92 from pietropizzi/master
ViewShot is the default export so update the docs
7 gadus atpakaļ
Peter Minarik
98b9f98472
ViewShot is the default export so update the docs
7 gadus atpakaļ
Gaëtan Renaudeau
560dce5c8e
polish
7 gadus atpakaļ
Gaëtan Renaudeau
a9f648a534
add a ISSUE_TEMPLATE
7 gadus atpakaļ
Gaëtan Renaudeau
96b25b95c9
2.0.0
7 gadus atpakaļ
Gaëtan Renaudeau
fe74b433c8
drop deprecated, introduce ViewShot component, rename APIs
7 gadus atpakaļ
Gaëtan Renaudeau
3494679d16
1.12.0
7 gadus atpakaļ
Gaëtan Renaudeau
63d2819585
deprecate "path", replace "file" by "tmpfile"
ctx https://github.com/gre/react-native-view-shot/issues/67
7 gadus atpakaļ
Gaëtan Renaudeau
0c77779dd6
1.11.0
7 gadus atpakaļ
Gaëtan Renaudeau
bcaaa02ffb
Merge pull request #84 from Bardolos/master
TextureView compatibility on Android as per Issue #57
7 gadus atpakaļ
Bardolos
c3c804723a
optimise imports
7 gadus atpakaļ
Bardolos
9a56ad99da
Add support for TextureViews as per issue #57
As per owner's suggestion:
Firstly get all children recursively;
Then check if each child is an instance of TextureView with instanceof;
Make sure child knows it's not opaque and get its bitmap into a buffer;
Draw said bitmap into the current canvas.
This assumes that these TextureView elements are ordered in the tree.
7 gadus atpakaļ
Gaëtan Renaudeau
f848cbfe62
Merge pull request #82 from gpeal/gpeal--dependencies
Update Android dependencies
7 gadus atpakaļ
Gabriel Peal
20c767452b
Update Android dependencies
7 gadus atpakaļ
Gaëtan Renaudeau
4c0e9ecc1e
Merge pull request #78 from wschurman/rn-0.47-breaking-change
Remove override of 'createJSModules' for RN 0.47
7 gadus atpakaļ
William Schurman
265dfd3d30
Remove override of 'createJSModules' for RN 0.47
7 gadus atpakaļ
Gaëtan Renaudeau
f5131acdba
1.10.1
7 gadus atpakaļ
Gaëtan Renaudeau
bad64c7a2c
fixes #75
7 gadus atpakaļ
Gaëtan Renaudeau
45805bf3df
1.10.0
7 gadus atpakaļ
Gaëtan Renaudeau
d63ce86ed3
Merge pull request #55 from oblador/podspec
Add podspec for CocoaPods support
7 gadus atpakaļ
Gaëtan Renaudeau
51a58ddbf8
Merge pull request #73 from lekenny/master
Save the picture to the album to broadcast the album refresh
7 gadus atpakaļ
Gaëtan Renaudeau
0b0699139e
Merge pull request #72 from Vydia/use-correct-method-queue
Fix iOS Hang by Using Proper Method Queue
7 gadus atpakaļ
聂先生
dd394a1356
Update ViewShot.java
7 gadus atpakaļ
聂先生
b0f3c3c9f3
Update RNViewShotModule.java
7 gadus atpakaļ
Stephen Poter
d965568f52
Used React Native's recommended method queue
7 gadus atpakaļ