-
-
Notifications
You must be signed in to change notification settings - Fork 878
Bug Report #969
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I've been facing the same issue for a week now, but still haven't found a solution. |
Bro don't worry i got you ,, See just check in postman if your Api is working there without any issue and you have installed googleplaces autocomplete and if not sure reinstall it .................. //// /////Just look how Googleplaces autcomplete is tailored correctly ,,, this will definately solve your issue:: return (
isVisible={modalVisible} <View style={{ width: "100%", height: 600, backgroundColor: "#F8F8F8", borderTopLeftRadius: 16, borderTopRightRadius: 16, padding: 15 }}> export default TripPlanScreen; const styles = StyleSheet.create({}); |
Faced the same issue. Adding |
@codermaen any luck? |
@OmarUsman777 Not a proper fix. But from this solution #963 (comment), I moved out the library from node_modules and made the changes to GooglePlacesAutocomplete.js, and it is now working fine. |
For me what I have stated above worked for me , I was stuck here for 4-5 Days and then finally got the solution |
@sushant705 that's very unfortunate, this repo has 131 open issues, no PR's are being merged. please consider switching to this new (and maintained!) autocomplete component |
@codermaen same, i ended up with same workaround, I've also got issue in renderRow component when i tried to give custom UI. Now i am handling it my own, removed the whole package. |
//plantrip file latstudated working
import { StyleSheet, Text, View ,SafeAreaView, ScrollView, Image, Pressable,TextInput} from 'react-native'
import React, { useState } from 'react'
import {GooglePlacesAutocomplete} from 'react-native-google-places-autocomplete';
import { useRoute } from '@react-navigation/native'
import 'react-native-get-random-values'
import AntDesign from 'react-native-vector-icons/AntDesign';
import Ionicons from 'react-native-vector-icons/Ionicons';
import moment from 'moment';
import {BottomModal, ModalContent,SlideAnimation } from 'react-native-modals';
import axios from 'axios';
const TripPlanScreen = () => {
const route = useRoute();
const [option,setOption] = useState("Overview");
return (
);
};
export default TripPlanScreen;
const styles = StyleSheet.create({})
/////////////////////////////////////////////////////
This is my complete code for the file where i am using Googleplacesautocomplete but when i execute it i am not able to see drop down in the add section that is it is not working for me , I have tried uninstalling and reinstalling it etc. but still it is not working for me , and earlier when i was trying to run my app without predefined places , textinputprops then i was getting error in console that was cannot read property 'filter' of undefined .............................
/////PLEASE SOMEONE SOLVE MY ISSUE .
;
Additional context
React Native Version: [e.g. 0.78.0]
Android
I am using react native cli
Add any other context about the problem here, screenshots etc
The text was updated successfully, but these errors were encountered: