Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drewalth/geoexperiment
Do things with iOS when a user enters or exits a geographic region.
https://github.com/drewalth/geoexperiment
geofencing ios mapkit mobile swift swiftui
Last synced: about 1 month ago
JSON representation
Do things with iOS when a user enters or exits a geographic region.
- Host: GitHub
- URL: https://github.com/drewalth/geoexperiment
- Owner: drewalth
- Created: 2022-11-13T20:29:35.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-17T00:45:42.000Z (about 2 years ago)
- Last Synced: 2024-11-11T03:36:17.618Z (3 months ago)
- Topics: geofencing, ios, mapkit, mobile, swift, swiftui
- Language: Swift
- Homepage:
- Size: 386 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GeoExperiment
A small geofencing experiment with iOS expanding on [GurjitGora/geofencing](https://github.com/GurjitGora/geofencing).
![banner](https://raw.githubusercontent.com/drewalth/GeoExperiment/main/GeoExperiment/Preview%20Content/Preview%20Assets.xcassets/screengrab.imageset/screengrab.png)
## Goals
- Learn basic geofencing with MapKit.
- Invoke a HTTP request to an external API and notify the user with a local notification when the user enters or exits a geographic region.## Getting Started
- Clone
- Change coordinate values in `MapViewModel`'s `mapDefaults` with your coordinates. [latlong.net](https://www.latlong.net/) may help.
- Run the app on your physical device
- Walk around and trigger notifications/API calls!