foxmicha
476b446e7a
Removed extraneous if check - assigning the scaling is not required
il y a 7 ans
foxmicha
8ca87ce03d
Revert falsey view check to preserve error being thrown back to user in the case of a bad ref ID
il y a 7 ans
Fox
78ac6311a6
Replace the pointer equivalency check with a falsey check on the UIView.
il y a 7 ans
foxmicha
d92a431ed4
Refactor code example to improve code reuse and reduce bloat. If no refname is passed, capture the displayed screen.
il y a 7 ans
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,
il y a 7 ans
foxmicha
15a39d83ab
Update the main README to include the new captureScreen documentation.
il y a 7 ans
Fox
21cd028b3b
Update Android and JS code to reflect name change to captureScreen
il y a 7 ans
Fox
b36a997999
Fix build errors in iOS native code
il y a 7 ans
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.
il y a 7 ans
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.
il y a 7 ans
Gaëtan Renaudeau
9bae01901b
example is now a folder in the lib
il y a 7 ans
Gaëtan Renaudeau
1cbcf0d1d5
embed the example in an example folder
il y a 7 ans
Gaëtan Renaudeau
db78ac8e8d
Merge pull request #92 from pietropizzi/master
ViewShot is the default export so update the docs
il y a 7 ans
Peter Minarik
98b9f98472
ViewShot is the default export so update the docs
il y a 7 ans
Gaëtan Renaudeau
560dce5c8e
polish
il y a 7 ans
Gaëtan Renaudeau
a9f648a534
add a ISSUE_TEMPLATE
il y a 7 ans
Gaëtan Renaudeau
96b25b95c9
2.0.0
il y a 7 ans
Gaëtan Renaudeau
fe74b433c8
drop deprecated, introduce ViewShot component, rename APIs
il y a 7 ans
Gaëtan Renaudeau
3494679d16
1.12.0
il y a 7 ans
Gaëtan Renaudeau
63d2819585
deprecate "path", replace "file" by "tmpfile"
ctx https://github.com/gre/react-native-view-shot/issues/67
il y a 7 ans
Gaëtan Renaudeau
0c77779dd6
1.11.0
il y a 7 ans
Gaëtan Renaudeau
bcaaa02ffb
Merge pull request #84 from Bardolos/master
TextureView compatibility on Android as per Issue #57
il y a 7 ans
Bardolos
c3c804723a
optimise imports
il y a 7 ans
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.
il y a 7 ans
Gaëtan Renaudeau
f848cbfe62
Merge pull request #82 from gpeal/gpeal--dependencies
Update Android dependencies
il y a 7 ans
Gabriel Peal
20c767452b
Update Android dependencies
il y a 7 ans
Gaëtan Renaudeau
4c0e9ecc1e
Merge pull request #78 from wschurman/rn-0.47-breaking-change
Remove override of 'createJSModules' for RN 0.47
il y a 7 ans
William Schurman
265dfd3d30
Remove override of 'createJSModules' for RN 0.47
il y a 7 ans
Gaëtan Renaudeau
f5131acdba
1.10.1
il y a 7 ans
Gaëtan Renaudeau
bad64c7a2c
fixes #75
il y a 7 ans
Gaëtan Renaudeau
45805bf3df
1.10.0
il y a 7 ans
Gaëtan Renaudeau
d63ce86ed3
Merge pull request #55 from oblador/podspec
Add podspec for CocoaPods support
il y a 7 ans
Gaëtan Renaudeau
51a58ddbf8
Merge pull request #73 from lekenny/master
Save the picture to the album to broadcast the album refresh
il y a 7 ans
Gaëtan Renaudeau
0b0699139e
Merge pull request #72 from Vydia/use-correct-method-queue
Fix iOS Hang by Using Proper Method Queue
il y a 7 ans
聂先生
dd394a1356
Update ViewShot.java
il y a 7 ans
聂先生
b0f3c3c9f3
Update RNViewShotModule.java
il y a 7 ans
Stephen Poter
d965568f52
Used React Native's recommended method queue
il y a 7 ans
Gaëtan Renaudeau
c421819913
Merge pull request #69 from shahen94/master
fix(RNViewShotModule): FileNotFound exception
il y a 7 ans
Shahen Hovhannisyan
7a88c035d3
fix(RNViewShotModule): FileNotFound exception
My previous commit didn't fixed issue with nested paths, so this commit fixes it.
il y a 7 ans
Gaëtan Renaudeau
4ee9326383
Merge pull request #68 from shahen94/master
recursively create folders before creating file
il y a 7 ans
shahen94
9d4a1ad5fd
recursively create folders before creating file
il y a 7 ans
Gaëtan Renaudeau
8cbe829d1f
Update README.md
il y a 7 ans
Gaëtan Renaudeau
e85cdaffb2
Update README.md
il y a 7 ans
Gaëtan Renaudeau
e856311b98
Update README.md
il y a 7 ans
Gaëtan Renaudeau
03c6ea1a66
Update README.md
il y a 7 ans
Joel Arvidsson
135a2b7ab0
Add podspec for CocoaPods support
il y a 7 ans
Gaëtan Renaudeau
89009d13ca
Update README.md
il y a 7 ans
Gaëtan Renaudeau
b99a8d156f
add a disclaimer in usage of `dirs`
il y a 7 ans
Gaëtan Renaudeau
7af88da153
1.9.1
il y a 7 ans
Gaëtan Renaudeau
ed55064704
Merge pull request #49 from hawkrives/patch-1
Add "repository" key to package.json
il y a 7 ans