Skip to main content

Changelog

⚠️ Note: This changelog may be outdated. For the most up-to-date information, please refer to the OnePub CHANGELOG.md file.

[2.2.11]

  • bump firebase dependencies to support Firebase SDK 11.0.0

[2.2.10]

  • fixed time attack mode issue that the timer doesn't count down normally towards the end

[2.2.9]

  • downgraded firebase dependencies to support Firebase SDK v10 instead of v11
    • firebase_auth: ^4.0.0
    • firebase_core: 2.31.0
    • firebase_storage: ^11.0.0
    • firebase_app_check: ^0.2.0
    • firebase_crashlytics: ^3.0.0
    • cloud_firestore: ^4.0.0
    • cloud_functions: ^4.0.0

[2.2.8]

  • fixed [gofa_mediapipe_pose], upgraded to 1.1.16
    • fixed webview javascript error due to @mediapipe/tasks-vision auto upgraded to 0.10.19
      • the fix is downgrade and lock to 0.10.18

[2.2.7]

  • added initialOrientations parameter to WorkoutSetScreen constructor
    • default is [DeviceOrientation.portraitUp] if not provided
  • upgraded gofa_core to 1.1.0
    • switched audio library from "assets_audio_player" to "just_audio" due to build error, "assets_audio_player" is not actively maintained

[2.2.6]

  • updated timeout values from 350ms to 600ms to tolerate bad high latency network
  • fixed the overlapping issue between bad network prompt and the "stay in frame" wording

[2.2.5]

  • added back button to workout set screen
  • updated all copywriting texts according to Bupa copywriting guideline

[2.2.4]

  • added back pubspec.lock to .gitignore, because it should not be included in the package, let main flutter app decide the version of the dependencies

[2.2.3]

  • up-ed carousel_slider from 4.2.1 to ^5.0.0 in pubspec.yaml

[2.2.2]

  • increased firebase call timeout from 100/150 to 350ms to avoid timeout error in high latency network

[2.2.1]

  • added loggings to find out why the workout doesn't progress ("Down" is not shown at all)

[2.2.0]

  • For WorkoutSetSetup, use key instead of poseName to specify the pose
  • Added localization to "ready" and "go" in WorkoutSetScreen
  • Fixed timeout monitor that _stableNetwork is true initially instead of false

[2.1.6]

  • updated gofa_mediapipe_pose to add the following to resolve blank screen issue in Android device. dependency_overrides: webview_flutter_android: 3.16.1

[2.1.5]

  • updated dependencies to latest version: connectivitiy_plus 6.0.3 wakelock_plus 1.2.5

[2.1.4]

  • Fixed to use flutter channel stable instead of master

[2.1.3]

  • Fixed progress indicator theme color

[2.1.0], [2.1.1], [2.1.2]

  • majoring refactoring on gofa_pose workout set screen logic on isInFrame and badNetwork streams, thus improved the performance
  • fixed to GS-279 [Challenge] 4 strange horizontal lines which disappear in a few seconds
  • added back GS-280 [Challenge] missing "stay in frame" keyword
  • gofa_mediapipe_pose updated to 1.1.8

[2.0.5]

  • fixing black screen issue when quit workout set screen and "Next" in workout set result screen

[2.0.4]

  • fixed poseDetectorView's _videoPoseDetector to use fromOfficialModelUrl

[2.0.3]

  • fixed timer icon in select pose bottom sheet

[2.0.2]

  • GofaChallenge home navigate to SelectPoseScreen by constructing MaterialPageRoute instead of using Navigator.pushNamed

[2.0.0], [2.0.1]

  • major change. removed all dependencies to google_mlkit_pose_detection and replaced with gofa_mediapipe_pose

[1.0.18]

!! major change on gofa_pose

  • Added TimeoutMonitor for checking firebase function's connection
  • Changed WillPopScope to PopScope in WorkoutSetScreen
  • Used poseKey instead of workoutName
  • Fetch GOFA Challenge pose list from firebase instead of local list
  • Lowered resolution to medium
  • Use base over accurate model
  • Fixed endTimeoutMonitor not being paused when workout resumes
  • Added checking whether audio's playing before stopping

[1.0.17]

  • Modified GofaCheckboxTile's visualDensity to more compact

[1.0.16]

  • Revamped Settings page
  • Added "Delete Account" button to Settings page
    • Behavior modifiable by GofaSDKManager.navigateToDeleteAccount

[1.0.15]

  • Removed face estimation markings from WorkoutSetScreen

[1.0.14]

  • Removed "Back" button from WorkoutSetScreen pop menu
  • Moved GameMode to gofa_pose
    • Breaking Change: you should use GameMode enum exposed by gofa_pose instead of creating one yourself
  • Support in-game voice support for GameMode.timeAttack
    • 30/20/10 seconds left
    • 5 to 1 count down
    • Time's up sound

[1.0.13]

  • Made WorkoutSetScreen to navigate to WorkoutSetResultScreen automatically when workout is done
  • Removed Stop, Play and Pause buttons from WorkoutSetScreen
  • Pop menu added "Quit" button to quit workout
  • Fixed result screen pixel overflow if reps >99.
  • Fixed error in firebase warmup call
  • Added "Time's up" text when workout ends

[1.0.12] (Important fix!)

  • Fixed GS-151 [workout] at the beginning, skeletons queue up and "flood out"
  • Fixed GS-171 early warm up server before workout ready

[1.0.11]

  • Removed theme selection in SettingsView. Now the only supported theme is light theme.

[1.0.10]

  • Added google fonts to pubspec.yaml
    • OpenSans and ChakraPetch
  • Upgraded google_mlkit_commons to v0.4.0

[1.0.9]

  • Added try-catch in _createWorkoutSet to catch error when creating workout set in Firestore

[1.0.8]

  • Added sign out button to SettingsView
  • Added dependency on google_sign_in to allow google sign out

[1.0.7]

  • Added version to SettingsController
  • Added themeSupport to GofaSDKManager
    • default is both. so user can choose between light and dark theme in Settings menu

[1.0.6]

  • Added gofaFirebaseProjectName to GofaSDKManager.init to allow the SDK to connect to a Firebase project with a different name than "gofa_sdk"
  • Added useFirebaseAppCheck, useFirebaseCrashlytics, useFirebaseFunctionsEmulator to GofaSDKManager
    • default is null.
    • if null, the GofaSDKManager will use isDemoApp to determine if it should use Firebase App Check, Firebase Crashlytics and Firebase Functions Emulator

[1.0.5]

  • Lock all package dependencies' version to avoid breaking changes
  • Updated GOFA API pose list
    • added key to each pose. e.g. "jumping-jacks" for "Jumping Jacks"
    • added localizedNames to each pose.
      • the localizedNames is a map of locale to localized name. e.g. "en" to "Jumping Jacks", "zh_Hant" to "開合跳"
      • there are three locales supported: en, zh_Hant, zh_Hans
  • Added isShowPopupMenu to WorkoutSetSetupEvent. default is false.

[1.0.4]

  • Adding locale support: en, zh, zh_Hant, zh_Hans
  • Fixed popup menu > Settings. migrated SettingsView to gofa_pose

[1.0.3]

  • Revamped WorkoutSetResultScreen
  • Lock version of package google_mlkit_commons to 0.3.0

[1.0.2]

  • Added Workout Set route handling to WorkoutSetResultScreen with WorkoutSetBloc
    • Added navigateToPreviousDuringWorkout, navigateToNextAfterWorkout and navigateToHomeAfterWorkout Functions to override the default navigation
    • You can now pass these override functions with WorkoutSetSetupEvent

[1.0.1]

  • Removed debug-use-only menu items

[1.0.0]

  • As our Gofa SDK becomes integratable to any Flutter app, we update the version to 1.0.0

[0.8.25]

  • Added more sounds to Workout Set Play, e.g. 30/20/10 left. 5,4,3,2,1. Let's go. Keep it up. Great job.

[0.8.24]

  • Added isConnected bool Stream to GofaSDKManager to indicate if the SDK is connected to the Firebase backend

[0.8.23]

  • Modified fireCallable to accept firebaseApp input parameter

[0.8.22]

  • Added createdAt to WorkoutSet in Firestore

[0.8.21]

  • Removed dependency on vector_math

[0.8.20]

  • Changed environment: sdk: from >=2.19.0 <3.0.0 to >=2.19.0 <4.0.0

[0.8.15], [0.8.16], [0.8.17], [0.8.18], [0.8.19]

  • GofaSDKManager now registerSingleton: WorkoutSetFirestore
  • Fixed WorkoutSetFirestore to use gofaFirebaseApp from GofaSDKManager
  • Fixed that gofaFirebaseApp must be named "gofa_sdk"
  • Fixed logo-S.png asset issue

[0.8.14]

  • Improved GofaSDKManager initialization logic

[0.8.13]

  • Extracted gofa-sdk firebase connection from Demo App (gofa_sdk) to this gofa_pose package