Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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!