Skip to content

Refactor NetworkHelper into a library #2088

@morebytes

Description

@morebytes

Refactor NetworkHelper into a small library to be used across all UCSD Flutter projects.

Motivation NetworkHelper is being used across multiple UCSD projects, including Campus Mobile and SPM. The code is currently being duplicated. The version in SPM is more up to date compared to Campus Mobile. Dio version can be maintained automatically for all projects if it is updated globally through a separate package. Any bugfixes or new features can also automatically be distributed to all projects relying on this package.

Additional goals: Refactor code structure, improve API for better readability, optimize efficiency, and upgrade to a new version of Dio while we are doing Dart 3 migration.

Undecided: Should this library be stored in GitHub, BitBucket, or somewhere else? Do we want to keep it as a subproject of Campus Mobile for now?

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions