[TIMOB-26016] iOS 11: Expose "showsBackgroundLocationIndicator" property on Ti.Geolocation
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2018-05-19T13:46:40.000+0000 |
Affected Version/s | Release 7.1.1 |
Fix Version/s | Release 7.3.0 |
Components | iOS |
Labels | demo_app, geolocation |
Reporter | Emmanuel Francis |
Assignee | Hans Knöchel |
Created | 2018-05-06T04:49:59.000+0000 |
Updated | 2018-06-21T17:51:42.000+0000 |
Description
Is this flag showsBackgroundLocationIndicator in Ti.Geolocation available?
Attachments
File | Date | Size |
---|---|---|
Bildschirmfoto 2018-05-09 um 17.00.24.png | 2018-05-10T07:43:03.000+0000 | 1072683 |
Screen Shot 2018-06-21 at 18.47.59.png | 2018-06-21T17:50:28.000+0000 | 1526873 |
Currently not, but it should be easy to implement for iOS 11+. Not sure if Android has something related that could be used for parity.
Hyperloop helped for now var CLLocationManager = require('CoreLocation/CLLocationManager'); CLLocationManager.showsBackgroundLocationIndicator = true/false;
PR: https://github.com/appcelerator/titanium_mobile/pull/10034 Test-case:
*Closing ticket*. New feature can be seen in SDK Version:
7.3.0.v20180618182516
*FR (Passed) Test Steps:*Created an application using the code above
Ran the program
Accepted all required permissions
Pressed
Start Location Updates
Minimised the application
Able to see
!Screen Shot 2018-06-21 at 18.47.59.png|thumbnail! *Test Environment*showsBackgroundLocationIndicator