Launching fare payment integration into the OneBusAway open-source mobile apps (https://onebusaway.org/) for real-time transit information (August 2018)
3. Links to regional fare payment apps are live!
• OneBusAway Android (v2.3.9) now supports links to
regional fare payment apps
• Currently supported regions:
• Tampa
• San Diego
• Puget Sound
• An optional warning dialog can be shown if the
regional payment app doesn’t cover all service shown
in OneBusAway
• See Puget Sound example
7. If payment app
isn’t installed, user
goes to listing on
Google Play
If payment app is
installed, user goes
straight to app
8. Example – Puget Sound
Transit Go Ticket App for King County Metro Buses,
Sound Transit Light Rail, King County Water Taxi and
Seattle Streetcar
9. Until user
opts out
If payment app
isn’t installed, user
goes to listing on
Google Play
If payment app is
installed, user goes
straight to app
10. Android implementation details
• Three new fields added to the OneBusAway Regions API:
• paymentAndroidAppId – The application ID for unique app listing on
Google Play
• e.g., org.sdmts.riderapp for Compass Cloud in San Diego -
https://play.google.com/store/apps/details?id=org.sdmts.riderapp
• paymentWarningTitle – The title of the warning dialog, if the payment
app doesn’t cover all service shown in OBA
• e.g., “Check before you buy!”
• paymentWarningText – The body text of the warning dialog, if the
payment app doesn’t cover all service shown in OBA
• e.g., “The mobile fare payment app for Puget Sound does not support all transit service
shown in OneBusAway. Please check that a ticket is eligible for your agency and route
before you purchase!”
12. iOS Preview
• OneBusAway for iOS will gain support for payment app deep linking
this Fall.
• iOS will have feature and region deployment parity with Android.
• Supported regions:
• Puget Sound
• Tampa
• San Diego
• All development is complete and available in the latest TestFlight
beta, and the feature will be available in OBA 18.2.
13.
14.
15.
16. Future work
• Track usage of “Pay my fare” option by region
• Track installs of mobile fare payment apps in relation to availability
in OneBusAway
• Option for full SDK / API integration that allows payment from
within the OneBusAway native apps
17. Sean J. Barbeau, Ph.D.
Center for Urban Transportation Research
University of South Florida
813.974.7208 | QR Code | barbeau@usf.edu
Questions?
Aaron Brethorst
OneBusAway iOS
aaron@onebusaway.org