In my case, GeoCoder works, but Suggest does not.
Here is my code:
import {Geocoder, Suggest} from 'react-native-yamap';
Geocoder.init('xxx-xxx-xxx-xxx-xxx');
....
const response_ = await Geocoder.reverseGeocode(q) ; // This one works
const suggestions_ = await Suggest.suggestWithCoords(q); // this one throws errors:
The error is straight forward:
[TypeError: Cannot read property 'suggest' of null]
In my case,
GeoCoder
works, butSuggest
does not. Here is my code:The error is straight forward:
"react-native-yamap": "^4.1.18",