React Native View Shot Versions Save

Snapshot a React Native view and save it to an image

v3.8.0

6 months ago

v3.7.0

10 months ago
  • fix ViewShotProperties.style type (#473) thanks @WazzeZ @tum-more
  • Simplify Android background thread (#472) thanks @msafutin
  • Add type for useRenderInContext (#475) thanks @chmac
  • Feature: Add web support (#476) thanks @chrispader

v3.4.0

1 year ago
  • Support capture SurfaceView on Android (#427) thanks @jhen0409 and @CAMOBAP
  • fix referenced react-native-cameraroll link error (#436) thanks @rxliuli
  • add fileName typing to Capture options (#423) thanks @steo-ml
  • Update index.d.ts (#419) thanks @dancixx
  • Fixes #291: Android: width/height options are absolute dimensions (#414)
  • Android target API level 30 – fixes #373 (#415)

v3.3.0

1 year ago

Maintenance release supporting latest version of iOS / Android and react native.

Fixes

  • Fix android build to support latest React Native – thanks @cristianocca
  • Fix ios configuration: enable build in Xcode 12 (for iOS >= 12) (#338) thanks @LeoValentim
  • Fixes captureScreen on iOS. (#407) thanks @ashfurrow
  • Fix typescript(View): onLayout (#380) thanks @comanzanares

Features

  • Android: snapshot in background (#317) thanks @gdoudeng
  • Android: add custom file name props (#318) thanks @LkyYuen
  • Added UI dispatcher usage in the Windows implementation (#376) thanks @qmatteoq
  • iOS: Add option to use renderInContext method to eliminate issue with blank captures for large views (#350) thanks @Crhaj

v3.0.2

4 years ago
  • Fixes <ViewShot> that was recently broken. (props captureMode check)
  • better error checks and errors cases. (e.g. when module is not properly configured or when you pass an deferenced ref)

v3.0.1

4 years ago
  • Fix next props call

v3.0.0

4 years ago
  • Fixes compile error in metro package
  • fix the bug that deposit the wrong bitmap to buffer

v2.6.0

4 years ago
  • Add React.Ref support to captureRef
  • fixed bug with child views transformation loss
  • fixes flowtype and typescript defs

v2.5.0

4 years ago
  • Improve Java implementation (code quality)
  • fixed the base64 MIME type when JPG is chosen
  • introduced RAW image format and ZIP-base64 result packaging algorithm
  • Android perf improvments

v2.4.0

4 years ago
  • Fix positioning of TextureView elements relative to target element