Ardavan Kalhori
4ee83998cb
fixed the base64 MIME type when JPG is chosen (iOS)
6 vuotta sitten
Janic Duplessis
31a13f4d00
Include RCTUIManagerUtils.h for more recent RN versions
7 vuotta sitten
foxmicha
476b446e7a
Removed extraneous if check - assigning the scaling is not required
7 vuotta sitten
foxmicha
8ca87ce03d
Revert falsey view check to preserve error being thrown back to user in the case of a bad ref ID
7 vuotta sitten
Fox
78ac6311a6
Replace the pointer equivalency check with a falsey check on the UIView.
7 vuotta sitten
Fox
b36a997999
Fix build errors in iOS native code
7 vuotta sitten
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 vuotta sitten
Gaëtan Renaudeau
fe74b433c8
drop deprecated, introduce ViewShot component, rename APIs
7 vuotta sitten
Gaëtan Renaudeau
63d2819585
deprecate "path", replace "file" by "tmpfile"
ctx https://github.com/gre/react-native-view-shot/issues/67
7 vuotta sitten
Stephen Poter
d965568f52
Used React Native's recommended method queue
7 vuotta sitten
Gaëtan Renaudeau
9a613da4aa
better error precision when you can't snapshot things (like react-native-video)
7 vuotta sitten
Gaëtan Renaudeau
7e7dedc71a
iOS: share more code + better error for zero-ed content size
fixes https://github.com/gre/react-native-view-shot/issues/21
7 vuotta sitten
Gaëtan Renaudeau
86a09a8555
Fixes https://github.com/gre/react-native-view-shot/issues/47
7 vuotta sitten
Gaëtan Renaudeau
9d5903316c
wip implementing dirs
7 vuotta sitten
Evo Stamatov
cc9790be97
Update RNViewShot.m
7 vuotta sitten
Gaëtan Renaudeau
cadb795ac5
Introduce a result option, one of file|base64|data-uri & Fixes #1
8 vuotta sitten
Steve Kellock
7e24f3465c
Adds base64 support.
8 vuotta sitten
Gaëtan Renaudeau
f4fe9bfaee
init
8 vuotta sitten