{"id":1239,"url":"https://github.com/IngeoSDK/ingeo-ios-sdk","last_synced_at":"2025-07-30T20:32:58.047Z","repository":{"id":27291821,"uuid":"30765503","full_name":"IngeoSDK/ingeo-ios-sdk","owner":"IngeoSDK","description":"The most power-efficient and lightweight iOS location manager for Swift and ObjC","archived":false,"fork":false,"pushed_at":"2017-01-15T16:22:39.000Z","size":9064,"stargazers_count":98,"open_issues_count":3,"forks_count":5,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-11-11T09:10:18.718Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://ingeo.io","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"bdefore/dotfiles","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IngeoSDK.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-13T16:44:03.000Z","updated_at":"2023-05-15T14:16:35.000Z","dependencies_parsed_at":"2022-08-20T21:20:18.528Z","dependency_job_id":null,"html_url":"https://github.com/IngeoSDK/ingeo-ios-sdk","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IngeoSDK%2Fingeo-ios-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IngeoSDK%2Fingeo-ios-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IngeoSDK%2Fingeo-ios-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IngeoSDK%2Fingeo-ios-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IngeoSDK","download_url":"https://codeload.github.com/IngeoSDK/ingeo-ios-sdk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228187611,"owners_count":17882335,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-01-05T20:15:41.975Z","updated_at":"2024-12-04T20:31:11.141Z","avatar_url":"https://github.com/IngeoSDK.png","language":"Objective-C","funding_links":[],"categories":["Hardware","HarmonyOS","Layout"],"sub_categories":["Location","Windows Manager","Other free courses"],"readme":"![IngeoSDK: iOS location tracking made easy (Swift \u0026 ObjC)](https://raw.githubusercontent.com/IngeoSDK/ingeo-ios-sdk/assets/IngeoSDK_logo.png)\n\n\n[![Cocoapods Compatible](https://img.shields.io/cocoapods/v/IngeoSDK.svg)](https://img.shields.io/cocoapods/v/IngeoSDK.svg)\n[![Platform](https://img.shields.io/cocoapods/p/IngeoSDK.svg?style=flat)](http://cocoadocs.org/docsets/IngeoSDK)\n\n# IngeoSDK for iOS\n\n## Overview\n\nIngeoSDK is a power-efficient location manager for iOS (Swift and Objective-C), which extends and improves CoreLocation.  \nIt uses unique algorithms to dynamically and constantly adjust CoreLocation's tracking configuration parameters according to user's\nmotion, behavior, speed and whereabouts. Thus enabling suited configuration scheme for optimized accuracy and minimum power consumption in real-time.  \nYour app and/or server will receive the most relevant location data while in foreground or background - even when network is disconnected.\nOff-course, or bad location samples are filtered out for you. Battery consumption is just ~2% per hour.  \nSupports iPhone, iPad, iPod Touch running iOS 7.0+\n\nFor a full list of features visit: http://ingeo.io/sdk\n\n## Demo, please?\n1. [Download](https://github.com/IngeoSDK/ingeo-ios-sdk/archive/master.zip) as zip file or clone this repository.\n2. Unzip and open the project file in ***Samples/Swift-Sample01*** directory using Xcode.\n3. Edit *ViewController.swift* to enter your API key in the initializer method:\n   ```swift\n    IGLocationManager.initWithDelegate(self, secretAPIKey: \"APIKEYGOESHERE\")\n   ```\n                     \n   To get a new API key, [Signup](http://admin.ingeo.io/signup.php) for free.  \n4. Now simply run in iOS Simulator or your device and watch the debug console as the demo app takes you traveling through San Fransisco streets (using a recorded GPX file).\n\n## Installing with CocoaPods\n\n1. Add the following line to your Podfile:  \n   ```\n   pod 'IngeoSDK'\n   ```\n\n2. Run:  \n   ```\n   pod install\n   ```\n\n## Enable Location Services\n\n1. In Xcode, Go to your target settings -\u003e 'Capabilities' -\u003e 'Background Modes'  \n    Turn on 'Location updates'.\n\n2. Edit your app's Info.plist and add the following String key (with empty value):  \n   ```\n    NSLocationAlwaysUsageDescription\n   ```\n\n## Usage\n\n1. Import\n   ```swift\n   import IngeoSDK\n   ```\n\n2. Set Delegate\n   ```swift\n   class ViewController: UIViewController, IGLocationManagerDelegate {\n   ```\n   \n2. Initialize  \n   ```swift\n   IGLocationManager.initWithDelegate(self, secretAPIKey: \"APIKEYGOESHERE\")\n   ```\n   \n3. Start Location Monitoring\n   ```swift\n   IGLocationManager.startUpdatingLocationAlwaysOn()\n   ```\n   Or\n   ```swift\n   IGLocationManager.startUpdatingLocationWhenInUse()\n   ```\n\n4. Get the honey  \n   Implement IGLocationManagerDelegate methods in your delegate.    \n\n   Swift:\n\n    ```swift\n    func igLocationManager(manager: IGLocationManager!, didUpdateLocation igLocation: IGLocation!) {\n        print(\"didUpdateLocation: \\(igLocation.description)\")\n    }\n\n    func igLocationManager(manager: IGLocationManager!, didDetectMotionState motionState: IGMotionState) {\n        print(\"didDetectMotionState: \\(IGLocation.stringForMotionState(motionState))\")\n    }\n    ```\n\n    Objective-C:\n    ```objc\n    - (void)igLocationManager:(IGLocationManager *)manager didUpdateLocation:(IGLocation *)igLocation {\n        NSLog(@\"didUpdateLocation: %@\", [igLocation description]);\n    }\n\n    - (void)igLocationManager:(IGLocationManager *)manager didDetectMotionState:(IGMotionState)motionState {\n        NSLog(@\"didDetectMotionState: %@\",[IGLocation stringForMotionState:motionState]);\n    }\n    ```\n\n5. That's it. you've just enabled constant location monitoring.  \n   Sit and watch your users on the Admin Dashboard http://admin.ingeo.io.\n\n## API Documentation\n   Full API reference: http://ingeo.io/sdk/docs\n\n## License\n   Apache v2.0\n\n## Feedback\n   Feel free to contact us at support@ingeo.io or open an issue here.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIngeoSDK%2Fingeo-ios-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FIngeoSDK%2Fingeo-ios-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIngeoSDK%2Fingeo-ios-sdk/lists"}