Fixes are available
APAR status
Closed as program error.
Error description
If an iOS device loses the GPS signal, the application may not be able to activate geofencing triggers upon future geolocation changes. Additional Keywords: Location, Worklight Versions Affected: 5.x, 6.x Initial Impact: Medium
Local fix
Re-start acquisition again in the failure callback, e.g.: var errorCallback = {}; errorCallback.Geo = function(err){ console.log("acquisition error: " + err); WL.Device.startAcquisition(options.policy, options.triggers,errorCallback); }; WL.Device.startAcquisition(options.policy, options.triggers,errorCallback); This will retry to start acquisition again and again until the GPS is working again or a location has been set in Xcode.
Problem summary
**************************************************************** * USERS AFFECTED: * * Developers building applications that run on iOS and make * * use of the Worklight Location Services. * **************************************************************** * PROBLEM DESCRIPTION: * * After a location acquisition error occurs (especially when * * setting simulated location in XCode to None) the acquisition * * terminates. * **************************************************************** * RECOMMENDATION: * * - * ****************************************************************
Problem conclusion
The code was modified so that acquisition is not turned off after receiving an error.
Temporary fix
Comments
APAR Information
APAR number
PI13282
Reported component name
WORKLIGHT ENTER
Reported component ID
5725I4300
Reported release
600
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2014-03-10
Closed date
2014-04-06
Last modified date
2014-04-06
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WORKLIGHT ENTER
Fixed component ID
5725I4300
Applicable component levels
R600 PSY
UP
R610 PSY
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"600","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
17 October 2021