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

Feature Request: onSuccess callback

Open Kushagra-ag opened this issue 2 years ago • 1 comments

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

Kushagra-ag avatar Oct 23 '23 11:10 Kushagra-ag

Any update?

vawn-t avatar Dec 21 '23 06:12 vawn-t