Skip to main content

Install "gofa_lessons" sdk

Add "gofa_lessons"

Approach 1: OnePub

  • Please contact GOFA Team to gain member access to our OnePub package. You will need to give us the developer email to grant you the access.

  • To install onepub run:

    dart pub global activate onepub
    onepub login

    The onepub login command will land you to the login page in your browser. Use the developer email to log in.

  • Run this command:

    onepub pub add gofa_lessons
  • Verify that lines like these are added to your package's pubspec.yaml (and run dart pub get or flutter pub get):

dependencies:
gofa_lessons:
hosted: https://onepub.dev/api/fvnuhnofly/
version: "^1.0.0"
# you may want to communicate with GOFA DEV team
# to get the recommended version range
# because the gofa_lessons is still under development

Upgrade "gofa_lessons"

We will publish version upgrades of "gofa_lessons" package from time to time.

Right now, our version is still v0.x.x. so we will publish breaking changes even in patch version.

After we launching v1 of "gofa_lessons", we will follow the rules for publishing new changes:

  • patch version upgrade only fix bugs and improve features without breaking changes
  • minor version upgrade may or may not include breaking changes.
    • The changes will be listed in the CHANGELOG.md
    • Breaking changes will be highlight.
  • major version upgrade will include breaking changes.

Way to upgrade

flutter pub upgrade