Skip to main content
Since May 1st, 2024, Apple requires all iOS apps to include a privacy manifest. For more details, see Privacy Manifest.

Update event tracking

Starting from v7.26.2, InstantSearch makes it easier to send view events using the isAutoSendingHitsViewEvents option on HitsSearcher:
Swift
let searcher = HitsSearcher(appId: "ALGOLIA_APPLICATION_ID",
                            apiKey: "ALGOLIA_SEARCH_API_KEY",
                            index: "indexName",
                            isAutoSendingHitsViewEvents: true)
From v7.24.0 to v7.26.1, view events were sent automatically. Ensure you’re using the latest version of InstantSearch to send the required events.

Upgrade to InstantSearch iOS v5

InstantSearch v5 introduces a new architecture and new widgets, which brings several breaking changes from the previous versions:
  • No InstantSearch component to automatically connecting widgets. You are now in control of the Searcher and responsible for connecting and disconnecting it from widgets and other components.
  • Widgets are now built around an Interactor, which holds their data and business logic. In previous versions, widgets were iOS UIViews. Now the core of a widget is its interactor. The widget’s UI is behind an interface to minimize coupling.
To learn more, see:
The InstantSearch iOS v3 documentation is available on the legacy docs page.
⌘I