Skip to content
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

Ionic Geo-location Issue #4417

Closed
rasha45 opened this issue May 7, 2018 · 1 comment
Closed

Ionic Geo-location Issue #4417

rasha45 opened this issue May 7, 2018 · 1 comment

Comments

@rasha45
Copy link

rasha45 commented May 7, 2018

Hi,
I have a issue with the Geo-location. i have had this issue for a while now. I have used the code on a different app and it worked fine. I have been triying to figure this out for a while now. the error code i am getting is :
ERROR Error: Uncaught (in promise): ReferenceError: google is not defined
ReferenceError: google is not defined
at LocationPage.webpackJsonp.531.LocationPage.loadMaps (location.ts:78)
at location.ts:47
at t.invoke (polyfills.js:3)
at Object.onInvoke (core.js:4629)
at t.invoke (polyfills.js:3)
at r.run (polyfills.js:3)
at polyfills.js:3
at t.invokeTask (polyfills.js:3)
at Object.onInvokeTask (core.js:4620)
at t.invokeTask (polyfills.js:3)
at LocationPage.webpackJsonp.531.LocationPage.loadMaps

the files below are the ts and html files i hope someone can help. thanks in advance.
Geolocation.ts.txt
component.ts.txt
Menu.ts.txt
Menu.html.txt
Geo-Locxation.html.txt

@iansu
Copy link
Contributor

iansu commented May 11, 2018

It looks like you're using Typescript which is not supported in Create React App. If you're using react-scripts-ts you might want to try asking for help there: https://github.com/wmonk/create-react-app-typescript. There is also a list of React community resources here: https://reactjs.org/community/support.html

@iansu iansu closed this as completed May 11, 2018
@lock lock bot locked and limited conversation to collaborators Jan 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants