Open mongy92 opened 7 years ago
I have noticed the same issue.
I have noticed this problem as well
Same problem. Did you find solution?
Found the fix!
The problem is - that react-native-google-places-autocomplete
sets undefined
Referrer
header.
You need to set origin
in query
prop of Autocomplete componentet (which translates to Referrer
in HTTP request)
query={{
key: AppConfig.googleApiKey,
....
origin: 'http://mywebsite.com'
}}
Hi Everyone , i have Problem when i use "React-native-fetch-blob" with "react-native-google-places-autocomplete" .. the Problem is react-native-fetch-blob override on the native XMLHttpRequest when i use react-native-fetch-blob it give me this Problem .. and when i uninstall react-native-fetch-blob or when i remove this Line of Code
window.XMLHttpRequest = RNFetchBlob.polyfill.XMLHttpRequest;
the problem solved .. Plz can any One Help me i Use "react-native": "0.46.4", "react-native-fetch-blob": "^0.10.8", "react-native-google-places-autocomplete": "^1.3.6",Thanks