react-native-geolocation-service
react-native-geolocation-service copied to clipboard
[iOS] How to set activityType ?
Hi, According to the documentation, it seems to be interesting to be able to change the value of the activityType property
activityType * * Discussion: * Specifies the type of user activity. Currently affects behavior such as * the determination of when location updates may be automatically paused. * By default, CLActivityTypeOther is used.
Types :
- other : The location manager is being used for an unknown activity.
- automotiveNavigation : The location manager is being used specifically during vehicular navigation to track location changes to the automobile.
- fitness : The location manager is being used to track fitness activities such as walking, running, cycling, and so on.
- otherNavigation : The location manager is being used to track movements for other types of vehicular navigation that are not automobile related.
- airborne : The location manager is being used specifically during airborne activities.
This is not yet implemented in the library. I'll check it out when I can, PR is always welcome though :)