I'm using react-native-bubble-select
(https://github.com/jesster2k10/react-native-bubble-select) to display some bubbles that look like Apple Music iOS app's genre selection intro in my React Native app.
That library has callback methods on selecting/deselecting bubbles, however it doesn't support preselected bubbles and doesn't have an exposed tap/click/press event, which is something that I need. As a temporary workaround I want to simulate a tap event on the bubbles that I want to be selected initially, as tapping it in the app toggles its selection state.
I think it should be possible as the component does internally listen and respond to the tap events and selecting/deselecting itself. How do I trigger a simulated touch event on any object?
Note: I know it's a fragile hack and I know it can break with any update, I need it quickly and temporarily for now. And yes; I've already opened an issue on the repo.