the-blue-alliance / the-blue-alliance-ios

An iOS app for accessing information about the FIRST Robotics Competition.
MIT License
76 stars 23 forks source link

[ios14] Create Dependencies for base view dependencies, abstract error reporting and logging #883

Closed ZachOrr closed 4 years ago

ZachOrr commented 4 years ago

This got a little bit out of hand - the idea was to abstract the Crashlytics/Fabric reporting in to a protocol that can change based on the device, since building for macOS doesn't support any of the Firebase stuff. Of course, this meant injecting ANOTHER dependency in to all of our view controllers, which is incredibly painful. Instead, the base dependencies are now wrapped in a Dependency object that can get passed through the app.

TODO