Give us feedback
location-plugin
Mobile icon

Location Plugin

Supported
Stable version 5.2.1 (Compatible with OutSystems 11)
Other versions available for 10
Uploaded on 20 December 2023 by 
OutSystems
4.0
 (30 ratings)
location-plugin

Location Plugin

Details
Plugin that enables an application to access the GPS capabilities of the users device. For example the latitude, longitude and the altitude of the users device.
Read more

Plugin that enables an application to access the GPS capabilities of the users device. For example the latitude, longitude and the altitude of the users device.


Google Play services requirement

In order for the plugin to work properly on an Android device, Google Play services must be installed on the device.


Key features

  • Get the location of the device.

  • Setup watches for location updates.

  • Clear watches of updates.

 

How to use this plugin?

Retrieving the current position can be done as a single act by using the action GetLocation. If everything runs without errors, the Location is returned.

 

It is also possible to keep track of the position, for that, a combination of WatchPosition and LocationTracker should be used. Use the WatchPosition to register a watcher and place LocationTracker anywhere in the interface in order to register an event handler for OnChangedPosition event. Remember that, if a screen redirect happens and the new screen doesn’t contain LocationTracker, no OnChangedPosition event will be triggered.


Compatibility with Web Versions

Starting on version 5.1.0 the plugin can be used in web browsers and PWAs.

You can check the supported devices and browsers versions here.

 

MABS Compatibility

The latest version (5.2.1) of the Location Plugin is compatible with the supported MABS versions available: 

  • MABS 10.0

  • MABS 9.0


Licensing

Location plugin for Apache Cordova
Apache License 2.0
Copyright 2012 The Apache Software Foundation
 

Release notes (5.2.1)
  • Minor fix in the timeout parameter of the GetLocation client action.
License (5.2.1)

 Location plugin for Apache Cordova

Apache License 2.0

Copyright 2012 The Apache Software Foundation

Reviews (4)
by 
1 May
in version 5.2.1
nice forge.
by 
2023-09-10
in version 5.1.8
Location helps to get current location of device using GPS works seamless in my application
by 
2022-03-25
in version 5.1.7
Its not working in android Phone location is 0,0
Team
OutSystems