All Projects â†’ vbrazo â†’ Update Background Locations

vbrazo / Update Background Locations

Licence: other
A sample iOs example that tracks background locations.

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Update Background Locations

Easydeviceinfo
📱 [Android Library] Get device information in a super easy way.
Stars: ✭ 1,698 (+24157.14%)
Mutual labels:  location, battery
Ttgo T Beam Car Tracker
TTGO-T-Beam Arduino Car Tracker - ESP32 + LoRa + GPS + GSM (optional)
Stars: ✭ 106 (+1414.29%)
Mutual labels:  tracker, battery
Location Tracker Background
Periodically tracking user's location in the background
Stars: ✭ 126 (+1700%)
Mutual labels:  location, tracker
Backgroundable Android
Collection of stock apps and mechanisms, which might affect background tasks and scheduled alarms.
Stars: ✭ 247 (+3428.57%)
Mutual labels:  background, battery
wht
Working Hours Tracker for Sailfish OS
Stars: ✭ 20 (+185.71%)
Mutual labels:  tracker, timer
redtimer
RedTimer - Redmine Time Tracker
Stars: ✭ 59 (+742.86%)
Mutual labels:  tracker, timer
time-tracker-cli
Super tiny and ligthway time tracker for all cli lovers
Stars: ✭ 79 (+1028.57%)
Mutual labels:  tracker, timer
Flutter background geolocation
Sophisticated, battery-conscious background-geolocation & geofencing with motion-detection
Stars: ✭ 384 (+5385.71%)
Mutual labels:  background, location
React Native Geolocation
Geolocation APIs for React Native
Stars: ✭ 640 (+9042.86%)
Mutual labels:  location
Termdown
Countdown timer and stopwatch in your terminal
Stars: ✭ 749 (+10600%)
Mutual labels:  timer
Cordova Background Geolocation Lt
The most sophisticated background location-tracking & geofencing module with battery-conscious motion-detection intelligence for iOS and Android.
Stars: ✭ 600 (+8471.43%)
Mutual labels:  background
Honeydew
Job Queue for Elixir. Clustered or Local. Straight BEAM. Optional Ecto. 💪🍈
Stars: ✭ 670 (+9471.43%)
Mutual labels:  background
Flutter Geolocator
Android and iOS Geolocation plugin for Flutter
Stars: ✭ 759 (+10742.86%)
Mutual labels:  location
Leku
🌍 Map location picker component for Android. Based on Google Maps. An alternative to Google Place Picker.
Stars: ✭ 612 (+8642.86%)
Mutual labels:  location
Howmanypeoplearearound
Count the number of people around you 👨‍👨‍👦 by monitoring wifi signals 📡
Stars: ✭ 6,525 (+93114.29%)
Mutual labels:  location
Open Sustainable Technology
Listing of worldwide open technology projects preserving a stable climate, energy supply and vital natural resources. Enjoy the website: https://opensustain.tech/
Stars: ✭ 595 (+8400%)
Mutual labels:  battery
Covid19india React
Tracking the impact of COVID-19 in India
Stars: ✭ 6,847 (+97714.29%)
Mutual labels:  tracker
Sn0int
Semi-automatic OSINT framework and package manager
Stars: ✭ 814 (+11528.57%)
Mutual labels:  location
Trackerslistcollection
🎈 Updated daily! A list of popular BitTorrent Trackers! / 每天更新!全网热门 BT Tracker 列表!
Stars: ✭ 9,761 (+139342.86%)
Mutual labels:  tracker
Wobike
Documentation of Bike Sharing APIs 🚴🛴🛵
Stars: ✭ 705 (+9971.43%)
Mutual labels:  location

iOS Update Background Locations

This is a simple Swift class to provide all the configurations that you need to get background locations.

It's compatible with the latest Swift syntax if you're using any Swift version prior to 2.0.

If you want to test:

Clone the project and execute in your simulator.

How to use in your project:

First add BackgroundTasks.swift and Tracker.swift to your project.

Instantiate the class:

let tracker = LocationController()

To start the service, configure distanceFilter property. Distance filter is the minimum distance (measured in meters) a device must move horizontally before an update event is generated.:

tracker.trackingDistance = 100.0

Set the timer to stop the tracker to save battery (seconds):

tracker.updateLocationTimer = 10.0

Set the timer to restart the manager to save battery (seconds):

tracker.restartTimer = 5.0

Set the timer to stop the tracker to save battery (seconds):

tracker.saveBatteryTimer = 5.0

Set the timer to stop the tracker to save battery (seconds):

tracker.startLocationTracking()

Don't forget to add the following lines in your plist file:


Contributing:

I encourage you to contribute to this repository.

Updated for:

Swift 2.0 (Xcode 7.3)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].