gtfs-realtime-bindings icon indicating copy to clipboard operation
gtfs-realtime-bindings copied to clipboard

Flutter (Dart) Support?

Open veyhong opened this issue 5 years ago • 6 comments

veyhong avatar Mar 28 '19 10:03 veyhong

@cvhong For this bindings library we'll consider adding support for a new language if:

  • The language is supported by the official Google protobuf tooling
  • The process of using the library in an application, as well as the process of generating the bindings when gtfs-realtime.proto changes, is well documented (if contributed via pull request)
  • The process of renerating the bindings can be automated (we're working towards fully automating this process)

Fortunately it looks like there is support for Dart (including proto2 support) in the official protobuf tooling, so this is something we could consider.

Is there anyone else interested in Flutter (Dart) support?

barbeau avatar Mar 28 '19 13:03 barbeau

I think dart support could be useful for flutter apps that want to show transport data. I'd be interested in working on dart bindings if that would be helpful 🙂

jeff-arn avatar Jul 26 '19 12:07 jeff-arn

@repjarms contributions welcome! To make sure we can maintain them appropriately we'd need at least one unit test included.

barbeau avatar Jul 28 '19 05:07 barbeau

Great! I'll look into this shortly and will include tests.

jeff-arn avatar Jul 28 '19 22:07 jeff-arn

I successfully get GTFS to work on my Flutter app, so basically, My flutter app serialise the proto buffer from GTFS server directly. let me know if I can help anything.

veyhong avatar Jul 29 '19 02:07 veyhong

@veyhong Do you have any information as to how this works in flutter? I'm looking to utilize a local transit system api that is feeding GTFS data. I'm not sure how to handle it in dart/flutter.

JakeHadley avatar Jun 11 '21 19:06 JakeHadley