Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor NetworkHelper into a library #2088

Open
morebytes opened this issue Oct 12, 2024 · 1 comment
Open

Refactor NetworkHelper into a library #2088

morebytes opened this issue Oct 12, 2024 · 1 comment
Assignees

Comments

@morebytes
Copy link
Contributor

morebytes commented Oct 12, 2024

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?

@morebytes
Copy link
Contributor Author

morebytes commented Nov 2, 2024

Created a private repository containing the NetworkHelper library. Need to add documentation to it, then we can publish it and add it to as a dependency to Campus Mobile's pubspec.yaml

@morebytes morebytes moved this to In Progress in Campus Mobile Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

2 participants