react-native-google-places-autocomplete
react-native-google-places-autocomplete copied to clipboard
Feature Request: onSuccess callback
Is your feature request related to a problem? Please describe.
I would like the ability to be able to have a callback function if the request made by the <GooglePlacesAutocomplete /> component is successful. The component already provides onFail callback attribute but I couldn't see any onSuccess callback attribute.
I want to run some analytics logic in the success callback
Describe the solution you'd like
A onSuccess callback attribute exposed by the <GooglePlacesAutocomplete /> component which is triggered on successful request to get the place details matching the string input by the user.
Describe alternatives you've considered
Additional context
I am using version ^2.5.6
Any update?