OneBusAway / onebusaway-ios

OneBusAway for iOS, written in Swift.
Other
81 stars 33 forks source link

Add a way to automatically pick region at app launch #608

Open aaronbrethorst opened 1 year ago

aaronbrethorst commented 1 year ago

Request from @wkulesza:

He'd suggested automatically selecting the region if there's only one available. I wonder if we could do that, or perhaps specify a hardcoded region in the OBAKitConfig data in the Info.plist. That way, it would remove any ambiguity in the case of a data issue.

wkulesza commented 1 year ago

That would be a great addition, as this would bring both mobile apps (ios and android) one step closer to being the same. Android app handles this by explicitly allowing to choose a fixed region and provide it's name and url directly in the config file:

https://github.com/OneBusAway/onebusaway-android/blob/master/onebusaway-android/build.gradle#L180

aaronbrethorst commented 1 year ago

Thanks for the extra info, @wkulesza!