android - React-native: How to pass predefined string to RNGooglePlaces.openAutocompleteModal -


i having search functionality using react-native-google-places dependency.

i using rngoogleplaces.openautocompletemodal search .

can customization like, when search place "xyz" , google should give me searched place "xyz, city"?

<touchableopacity accessibilitycomponenttype="button"     onpress={()=>this.opensearchmodal()}>      <view>         <text>search preffered location</text>      </view> </touchableopacity>   opensearchmodal() { rngoogleplaces.openautocompletemodal({     country: 'in',     useoverlay : true, })     .then((place) => {            this.persistdata(place);     })     .catch(error => console.log(error.message)); } 


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -