Geolocation setup

P Peter Mannix 3 years 5 months ago
6 1 0

Hi,

Been reading through documentation on setting up Geolocation. So far I have been unable to make this work.
I have added:
capabilities:
  - gps

I get the following error when running:
APP     |      const_missing: Geolocation
APP     |      Application activate failed: #;Trace:

Does anyone have info on why this is occurring and what can be done to fix it?

Please Register or Login to post a reply

1 Replies

J Jon Tara

The documentation is all wrong.

It's GeoLocation, not Geolocation! (Note capitalization.)

(Maybe it's different in Javascript. I use it in Ruby.)

Oh, maybe they changed in in 4.x? (While still keeping the old capitalization for compatibility?) 2.x documents it as GeoLocation.

My code still works in 4.x.

What version of Rhodes are you using? Make sure you use the correct documentation.

CONTACT
Can’t find what you’re looking for?