react-native-google-places-autocomplete icon indicating copy to clipboard operation
react-native-google-places-autocomplete copied to clipboard

Bug Fix: This fix makes the component stop failing silently when user doesn't specify onFail prop

Open skbergam opened this issue 2 years ago • 0 comments

This way, the default onFail behavior will occur for users who don't specify one (currently, the default behavior of calling console.warn isn't reachable code).

I spent 2 hours trying to figure out why it was silently failing. Had to manually edit the code locally to figure out the issue (my API key had restrictions) but had this PR already been in place it would've taken seconds. Hopefully this helps someone else.

skbergam avatar May 15 '23 13:05 skbergam