rns

react-native-spotlight-search

A React Native module for iOS that provides Spotlight search functionality.

Showing:

13 Versions

2.0.0

  • deleteItemsWithIds has been renamed to deleteItemsWithIdentifiers to match the documentation and TypeScript definition. This is released as a breaking change because some people may have been using the old API method

Thanks to @wsliaw for fixing in #25

1.4.0

  • Added a TypeScript module definition

1.3.0

1.2.0

1.1.2

1.1.1

1.1.0

  • Added a getInitialSearchItem() method so that you can get the selected search item at a later time (e.g. your callback handler is not registered yet) #12
  • Small optimisation to avoid sending a native event if no JS listeners are registered

Thanks to @JordanDuncan for his contribution in #12 🎉

1.0.0

  • Support for modern React Native versions
  • Fix deprecation warnings
  • Rebuilt the example project to use RN 0.52
  • Breaking change: due to how RN handles image assets, the API for loading images has changed. Now you just provide an asset key which is used to lookup the image in the xcassets catalog
  • Remove unnecessary files from the published package
  • Fixed a bug where the app would display a duplicate alert when refreshing (only impacting development builds)

Thanks also to contributions from @stief510 @yannickoo @artkow 🎉

0.2.1

  • Fixes issue #5 where the search item tapped callback could only be called once during a single session of the app's lifecycle.

0.2.0

  • Support for the 'keywords' property. This allows you to improve the likelihood of your content being found by adding related keywords to the index. These keywords are not displayed to the user.
  • Fixed a small typo in the documentation.

0.1.2

  • Improved NPM package metadata.

0.1.1

  • Fixed a problem with header search paths in the example.
  • Fixed a crash that would occur if a thumbnail URI was not provided.

0.1.0

Initial support for:

  • Adding items.
  • Updating items.
  • Deleting items.
  • Register a callback to handle when a search item is tapped.
  • Limited support for images.