react-native-google-places-autocomplete
react-native-google-places-autocomplete copied to clipboard
onNotFound does not work properly
Description:
If the user types something that does not return autocomplete results, onNotFound does not return anything. In the code it accepts the data of responseJSON, but it does not have this argument in props types.
In the code:
https://github.com/FaridSafi/react-native-google-places-autocomplete/blob/ec5ed1bd5d119657ddd9b5f11c119781bd295c7e/GooglePlacesAutocomplete.d.ts#L407
Versions:
"react-native-google-places-autocomplete": "^2.5.1", "react-native": "0.70.8",
Additional:
By the way, there is no ability to receive all data of Google autocomplete predictions. It would be good to receive Google predictions in the process of typing.