I’ve been trying to solve this problem but I have not been able to just yet. The issue is pretty much the same as the one posted in this thread:
The only small-big difference here is that I am trying to solve this in React Native.
My SearchBox component should be located in the title of the header (of React Navigation), therefore this component will be separated from Hits component. The solution Samuel Vaillant proposed in that thread is useful only for web applications since SearchBox is a web component (I must use the function connectSearchBox to wrap my own SearchBox component instead) and therefore I cannot use “defaultRefinement” property.
I would like to ask if there was any alternative to solve this issue.
Thank you very much in advance.