Skip to content

Releases: joshswan/react-native-autolink

1.1.1

23 Aug 17:19
1.1.1
5b7a800
Compare
Choose a tag to compare

Bug Fixes:

  • PropTypes now comes from prop-types package instead of React - @rayronvictor

1.1.0

17 Jul 20:46
1.1.0
ead274d
Compare
Choose a tag to compare

New Stuff:

  • onLongPress support added! Supply a function as the onLongPress prop and it'll get called with the link's URL and match object when the user long presses - @bky

1.0.0

28 Feb 08:52
1.0.0
400350b
Compare
Choose a tag to compare

New Stuff:

  • Refactored code with improved linting
  • webFallback support has been fixed [#16]

Breaking:

  • Custom link rendering functions passed via the renderLink prop are now only passed three props: text (the matched text), match (the Autolinker match object), and index (the index of the match). The url/link is no longer supplied!

0.9.0

13 Dec 21:58
0.9.0
bb13a20
Compare
Choose a tag to compare

New Features:

  • Text linked phone numbers! By default, clicking a linked phone number starts a call. Pass sms or text as the value for the phone prop and the default text messaging app will be opened instead - @nmquebb

0.8.0

09 Oct 01:18
0.8.0
ddb4a1f
Compare
Choose a tag to compare

New Features:

  • Link Instagram usernames (e.g. @username). The twitter prop has been deprecated in favor of the new mention prop that takes values of "instagram" or "twitter" (or false to disable) and links any @username occurrences to the specified service.
  • Fall back to the web version of Instagram/Twitter when users don't have the appropriate app installed. Enabled by default on Android, but testing app schemes requires LSApplicationQueriesSchemes in Info.plst so is disabled by default on iOS. Use the webFallback prop to enable.