Lyokone / flutterlocation

A Flutter plugin to easily handle realtime location in iOS and Android. Provides settings for optimizing performance or battery.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iOS 15+ variable missing "isproducedbyaccessory"

jozefvodicka opened this issue · comments

Is your feature request related to a problem? Please describe.
On iOS 15+, locations can be identified as provided by software or accessory
ref: https://developer.apple.com/documentation/corelocation/cllocationsourceinformation#3900726

Variable "isSimulatedBySoftware" is already returned as "isMocked"
Variable "isproducedbyaccessory" is not being returned within "location" object inside Dart/Flutter.
https://developer.apple.com/documentation/corelocation/cllocationsourceinformation/3861806-isproducedbyaccessory

Describe the solution you'd like
Would be great if you add new variable inside the location object saying "isProducedByAccessory"
on iOS it would return true/false
on Android it would return "null"