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?
1 Replies
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.