-
Notifications
You must be signed in to change notification settings - Fork 50
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
Console error and maps are not loading #33
Comments
Hey @boboci9 do you see this error locally or in production? |
Hi @dburles I see it locally. |
Are you using the |
Hi, I managed to fix it I needed a forth setting for ajax as well |
@dburles: would be good to make a note re. |
Hi, my google maps are not working again, they were fine until recently. Now I am seeing this error again:
I have
I tried adding Thanks. |
Hey @boboci9 try these: BrowserPolicy.content.allowOriginForAll('*.googleapis.com');
BrowserPolicy.content.allowOriginForAll('*.gstatic.com');
BrowserPolicy.content.allowEval('https://ajax.googleapis.com'); |
@boboci9 did they solve the issue? |
@dburles it sure did for me - thanks so much for your good work (I was fiddling around on that for quite a while)
I added into my
and then adding your lines as you suggested above:
Again thanks - you made my day 👍 |
I have applied all the suggestion listed here, I still get the error(in the server console)android:http://localhost:12656/packages/dburles_google-maps.js:62) Uncaught TypeError: Cannot read property 'appendChild' of null The error (in the browser console) was solved with BrowserPolicy. Any ideas? or anywhere to check? Plus This error appears only when I run meteor run android-device .... tried meter reset ..../ build ...I also have App.accessRule('*'); in mobile-config.js |
I managed to figure what I was doing wrong: |
Hi,
Hi I have tried the example from the following link http://meteorcapture.com/how-to-create-a-reactive-google-map/, and I also tried the demo package but I still get the follwoing error:
Refused to load the script 'https://maps.googleapis.com/maps/api/js?v=3.exp&callback=GoogleMaps.initialize' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-inline' http://www.google-analytics.com https://www.google-analytics.com http://.doubleclick.net https://.doubleclick.net"
Can you help me please?
Thanks
The text was updated successfully, but these errors were encountered: