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
Not work on react-native-web #47
Comments
@hiwyn I don't have my pc with me now. But here can you update in your node_module/react-native-google-autocomplete those fetch https://github.com/AppAndFlow/react-native-google-autocomplete/blob/master/lib/services/Google.service.ts#L126 and https://github.com/AppAndFlow/react-native-google-autocomplete/blob/master/lib/services/Google.service.ts#L144 Add I ask you to do it just because I can't fix it until tomorrow so if you need that now you can have this fix until. |
There is no suck thing /lib/Google.service.ts i've tried: but in the end on console shows my project is a clean project created by |
I'm also having this issue. Is there a solution so far? |
The issue with the cors is not fix with fetch no-cors options. And also the other solution of using cors-anywhere don't work too. https://stackoverflow.com/questions/28359730/google-place-api-no-access-control-allow-origin-header-is-present-on-the-req Look like the solution is to use the official sdk. I don't use react-native web, so this wasn't really in my plan to do. @MiguelNiblock sorry about that |
A lot of people use RN WEB, even more now with expo, so pls at least put on the readme that u do not support rn-web so people don't waste time |
I tried this simple example:
The console.log is working on expo go (on mobile)
But when i try to run on web it shows this error on the console.log:
it should work on web, right? u told on this part of the vídeo that should: https://youtu.be/UFiTL8lAktU?t=209
what should i do?
The text was updated successfully, but these errors were encountered: