Creating a new widget to refresh searches in an interval

Good afternoon.
I’m trying to create a custom widget to refresh the hits. I have used this link from Algolia https://www.algolia.com/doc/guides/building-search-ui/going-further/improve-performance/angular/#refresh-the-cache-triggered-by-an-action-from-the-user

I have no errors but the hits are not refreshed. I’m using Angular9, angular-instantsearch adn Ionic

It is a blocker for my application now as the user don’t get any changes unless the close the app and go in again.

Any clues please?

Thanks in advance
Juan Antonio Santana Medina

Hi @jasantana, Could you provide a codesandbox of that demonstrates your issue? We have a starter template for Angular here.