Skip to content

Releases: likashefqet/react-native-image-zoom

Release 3.0.0

24 Mar 18:31
Compare
Choose a tag to compare

3.0.0 (2024-03-24)

New Features

  • Double Tap to Zoom: Enable a double tap gesture for users to seamlessly zoom in and out of images. When double tap functionality is enabled, the automatic Reset Zoom and Snap Back feature will be disabled, allowing users to maintain their desired zoom level without automatic resets. [#33] [#42]
  • Single Tap Functionality: Detect and process single tap gestures to trigger specific actions or functionality as needed within the component. [#36] [#44]
  • Ref Handle: Customize the functionality further by utilizing the exposed reset method. This method allows you to programmatically reset the image zoom as a side effect to another user action or event, in addition to the default double tap and pinch functionalities.

Enhancements

  • Customizable Zoom Settings: Utilize doubleTapScale prop for precise control over double tap zoom level, tailoring the zoom behavior to application requirements.
  • Customizable Functionality: Enable or disable features such as single tap handling (isSingleTapEnabled), and double tap zoom (isDoubleTapEnabled) based on specific application needs.
  • Interactive Callbacks: The component provides interactive callbacks such as onSingleTap and onDoubleTap that allow you to handle image interactions.

For more details, refer to the commit comparison.

Note: This version includes breaking changes, so please ensure to review the updated documentation and adjust your code accordingly before upgrading.

Release 2.2.0

21 Jan 01:09
Compare
Choose a tag to compare

2.2.0 (2024-01-21)

Features

Fixes

  • onSnapBackEnd / onResetEnd #40

Release 2.1.1

07 Aug 22:13
Compare
Choose a tag to compare

2.1.1 (2023-08-07)

What's New on version 2

  • Migrated to the new gestures API from react-native-gesture-handler.
  • Removed the loader to provide developers with more flexibility in implementing their own.
  • Use Expo for the example project.

Bug Fixes

  • remove expo dependency & update readme (4257eba)

Release 2.1.0

07 Aug 22:03
Compare
Choose a tag to compare

2.1.0 (2023-08-07)

  • Migrated to the new gestures API from react-native-gesture-handler.
  • Removed the loader to provide developers with more flexibility in implementing their own.
  • Use Expo for the example project.

(#27) (f204d5e)

Release 2.0.0-alpha.0

25 Apr 14:50
Compare
Choose a tag to compare
Release 2.0.0-alpha.0 Pre-release
Pre-release

2.0.0-alpha.0 (2023-04-25)

What's New

  • Migrated to the new gestures API from react-native-gesture-handler.
  • Added a Double Tap to zoom option that allows users to zoom in or out at a specific point with just a double tap gesture.
  • Enhanced zoom behaviour by allowing developers to configure whether the component should automatically reset zoom and snap back to the initial position when the gesture ends, or keep the zoom until reset by the double tap gesture.
  • Removed the loader to provide developers with more flexibility in implementing their own.

⚠️ This release is currently in alpha stage and may not be fully prepared for production use.

Your feedback is greatly appreciated as we continue to improve and refine this package.

Release 1.3.0

09 Apr 23:10
Compare
Choose a tag to compare

1.3.0 (2023-04-09)

• Fixed issues #14 and #18, which resolved the error "Cannot find module '@likashefqet/react-native-image-zoom' or its corresponding type declarations.ts".
• Refactored the code to improve its functionality.
• Improved the documentation to provide better clarity and understanding.

Release 1.2.1

27 Dec 03:12
Compare
Choose a tag to compare

1.2.1 (2021-12-27)

Enhanced

  • Adds interaction controllers and callbacks
    • minPanPointers (default: 2)
    • maxPanPointers (default: 2)
    • isPanEnabled (default: true)
    • isPinchEnabled (default: true)
    • onInteractionStart (default: noop)
    • onInteractionEnd (default: noop)
    • onPinchStart (default: noop)
    • onPinchEnd (default: noop)
    • onPanStart (default: noop)
    • onPanEnd (default: noop)
  • Upgrade React Native version to 0.66.4 on the example.

Release 1.2.0

09 Dec 11:58
Compare
Choose a tag to compare

1.2.0 (2021-12-09)

Enhanced

  • Improve package size on npm by adding a link to the demo instead of the file.

Release 1.1.2

09 Dec 07:01
Compare
Choose a tag to compare

1.1.2 (2021-12-09)

Fixes

  • Add source code to npm to fix errors with reanimated.

Release 1.1.1

09 Dec 06:11
Compare
Choose a tag to compare

1.1.1 (2021-12-09)

initial release

New

  • Zoom (pinch and/or pan) the image using gestures.
  • Reset zoom and snap back to initial position on gesture end.
  • Smooth gesture interactions & snapping animations.
  • Loading state while image is loading.
  • Customize the default loader.
  • Provide custom loader to override/remove the default one.
  • Configure maximum zoom value.
  • Compatible with Reanimated v2.
  • Written in TypeScript.