You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello - I am using "Linking.openURL" inside of a button press event. It works if I call it directly from that event, but if I nest it inside an async call (I need to retrieve data from the API), then the browser blocks the popup.
Is there a way to "rerun" the event? Or pass along the event to Linking.openURL so the browser knows it is a legit user action?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello - I am using "Linking.openURL" inside of a button press event. It works if I call it directly from that event, but if I nest it inside an async call (I need to retrieve data from the API), then the browser blocks the popup.
Is there a way to "rerun" the event? Or pass along the event to Linking.openURL so the browser knows it is a legit user action?
Thanks,
Jeremy
Works:
Popup blocked:
Beta Was this translation helpful? Give feedback.
All reactions