How to send algolia events from a React Native app

I’m using the algoliasearch package to interact with the algolia search api in a React Native application. Now we have a need to start sending events when the user taps on a result that came from a search query. From the research I have done, it seems I have to use the search-insights library for this, but I haven’t seen how to properly use it in a React Native app anywhere.

Can anybody point me in the right direction?