Skip to content

Releases: anday013/react-native-otp-entry

Release 1.7.3

27 Oct 17:23
Compare
Choose a tag to compare

What's Changed

  • fix: implicitly import react in components to resolve the issue with old react native versions in #79

Full Changelog: v1.7.2...v1.7.3

Release 1.7.2

27 Sep 18:05
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.7.1...v1.7.2

Release 1.7.1

01 Aug 18:45
Compare
Choose a tag to compare

What's Changed

New Contributors

  • Big Thanks to @antuneslv for valuable contributions he made!!!

Full Changelog: v1.7.0...v1.7.1

Release 1.7.0

28 May 08:25
Compare
Choose a tag to compare

Features

  • Added the focus container styles to the last input container when the OTP input is filled and focused (Thanks to @rob-pathway ) (#56)
  • Merged wrapping containers into one to make it easier for modifications (#58)
  • Added possibility to blur (unfocus) the input on fill through prop blurOnFilled (#60)

Release 1.6.1

07 Apr 16:40
bc55d52
Compare
Choose a tag to compare

Features

The install size of the lib decreased drastically (more than 10 times). Here is the comparison chart:

https://packagephobia.com/result?p=react-native-otp-entry

PR: #49

Release 1.6.0

18 Mar 20:16
Compare
Choose a tag to compare

Features

  • No required props anymore. Working out of the box. (#38)
  • Underlying TextInput props are exposed (Kudos to @erenkulaksiz and @alexkev) (#43)
  • Added disabled state and its styles (Kudos to @EddWills95 ) (#35)
  • Handle focus/blur properly (Kudos to @alexkev) (#45)

Fixes

  • autoComplete issue on Android fixed (Kudos to @CarmineRumma ) (#40)
  • Properly set styles passed to textInput (#44)

Release 1.5.0

05 Mar 21:52
Compare
Choose a tag to compare

Features

  • Copy/Paste feature implemented!!! (#31 )

Release 1.4.1

12 Jan 22:51
Compare
Choose a tag to compare

Features

  • Added the autocomplete prop (and defaults it to sms-otp) to allow for autofilling #32 (kudos to @EddWills95 )
  • Added a prop filledPinCodeContainerStyle for when there is a character present allow a specific set of styles #34 (kudos to @EddWills95 )
  • Added textContentType prop with value "oneTimeCode" to hidden TextInput (#32 )

Release 1.4.0

15 Dec 22:13
Compare
Choose a tag to compare

Features

  • Expose autoFocus prop to be modified (default is true) from the core input #28 (kudos to @GoldAndLink )
  • Implement focus function on ref to be called to focus the input #28 (kudos to @GoldAndLink )

Fixes

  • Change minHeight and minWidth in favor of plain height and width for the pinCodeContainer to prevent issue of style override when the lower values are being set #29 (kudos to @sabuhiteymurov )
  • Tiny but nice syntax fix in the docs #27 (kudos to @Al-Faiz-Ahmed )

Release 1.3.0

10 Nov 07:49
Compare
Choose a tag to compare

Features

  • Added theme prop focusedPinCodeContainerStyle to apply styles for currently active input (#19 )
  • Added secureTextEntry prop to hide code if it's considered as sensitive info (#22 )