Skip to content

Releases: anday013/react-native-otp-entry

Release 1.6.1

07 Apr 16:40
bc55d52

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

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

Choose a tag to compare

Features

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

Release 1.4.1

12 Jan 22:51

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

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

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 )

Release 1.2.0

23 Oct 23:17
7da2ad1

Choose a tag to compare

Features

  • Implement onFilled prop to call when the input is full

Fixes

  • Update vulnerable npm packages

Release 1.1.10

11 Oct 13:46
5c6aff9

Choose a tag to compare

Fixes

  • styles should not override focus color (#16)

Release 1.1.9

11 Oct 10:00
dd13a1a

Choose a tag to compare

Feature

  • 100% test coverage

Fixes

  • Docs issues fixed (thanks to @carl0smat3us)
  • Module not found issue fixed

Release 1.1.6

18 Sep 16:31
c4648d8

Choose a tag to compare

Features

  • Tests added