You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The iOS app has its own custom arrival notification/reminder feature that was built using a backend service hosted at onebusaway.co (source code can be found here: https://github.com/onebusaway/onebusaway-deep-links). These systems are pretty straightforward in their design and implementation:
In the iOS app, the user requests an alert when their bus is X minutes away
If the user has not previously granted push notification permission, they are prompted to do so, and their push notification credentials are established with OneSignal, the service we use for push notifications
The iOS app makes a POST to https://onebusaway.co/api/v1/regions/:region_id/alarms (Obaco) with some POST body params representing the alarm
The Obaco server adds the new alarm to a database table of alarms, which it polls the relevant server for details about once per minute
If an alarm's conditions are met (i.e. it's time to fire the alarm), the Obaco server makes an API call to OneSignal, which in turn sends a push notification to the iOS app.
Tapping on the push notification displays the relevant stop information
We'll essentially replicate this setup on Android.
The iOS app has its own custom arrival notification/reminder feature that was built using a backend service hosted at onebusaway.co (source code can be found here: https://github.com/onebusaway/onebusaway-deep-links). These systems are pretty straightforward in their design and implementation:
https://onebusaway.co/api/v1/regions/:region_id/alarms
(Obaco) with some POST body params representing the alarmWe'll essentially replicate this setup on Android.
Screenshots and videos
Creating the alarm
Part.1.MP4
receiving the alarm
Other screenshots
Relevant iOS source code
Related issues
Fixing this would render the following issues moot: (i.e. they could be closed)
Tasks
BUILD.md
to include the configuration steps for the OneSignal SDK.The text was updated successfully, but these errors were encountered: