Skip to content

Add arrival notifications with region monitoring - #3

Merged
hbenabdallah merged 1 commit into
mainfrom
feat/arrivals
Nov 19, 2026
Merged

hbenabdallah merged 1 commit into
mainfrom
feat/arrivals

Conversation

@hbenabdallah

Copy link
Copy Markdown
Contributor

Watch places from PHP (Basho::monitorArrivals([new Arrival(...)]), each call replaces the list) and post a local notification on entering one, also when the app is closed: the list is saved in UserDefaults and the region monitor starts at launch (init_function is now BSHLaunch.install), so iOS background relaunches are handled natively, without PHP. Asks for the Always location permission; monitors the 20 places nearest to the last position, refreshed on significant location changes. New event ArrivalsFailed. Android: unsupported for now.

@hbenabdallah
hbenabdallah merged commit 313854c into main Nov 19, 2026
5 checks passed
@hbenabdallah
hbenabdallah deleted the feat/arrivals branch November 19, 2026 05:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant