Changelog
⚠️ Note: This changelog may be outdated. For the most up-to-date information, please refer to the OnePub CHANGELOG.md file.
- bump firebase dependencies to support Firebase SDK 11.0.0
- fixed time attack mode issue that the timer doesn't count down normally towards the end
- 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
- 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
- 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
- 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
- added back button to workout set screen
- updated all copywriting texts according to Bupa copywriting guideline
- 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
- up-ed carousel_slider from 4.2.1 to ^5.0.0 in pubspec.yaml
- increased firebase call timeout from 100/150 to 350ms to avoid timeout error in high latency network
- added loggings to find out why the workout doesn't progress ("Down" is not shown at all)
- 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
- updated gofa_mediapipe_pose to add the following to resolve blank screen issue in Android device.
dependency_overrides:
webview_flutter_android: 3.16.1
- updated dependencies to latest version:
connectivitiy_plus 6.0.3
wakelock_plus 1.2.5
- Fixed to use flutter channel stable instead of master
- Fixed progress indicator theme color
- 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
- fixing black screen issue when quit workout set screen and "Next" in workout set result screen
- fixed poseDetectorView's _videoPoseDetector to use fromOfficialModelUrl
- fixed timer icon in select pose bottom sheet
- GofaChallenge home navigate to SelectPoseScreen by constructing MaterialPageRoute instead of using Navigator.pushNamed
- major change. removed all dependencies to google_mlkit_pose_detection and replaced with gofa_mediapipe_pose
!! 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
- Modified GofaCheckboxTile's visualDensity to more compact
- Revamped Settings page
- Added "Delete Account" button to Settings page
- Behavior modifiable by GofaSDKManager.navigateToDeleteAccount
- Removed face estimation markings from WorkoutSetScreen
- 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
- 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
- Fixed GS-151 [workout] at the beginning, skeletons queue up and "flood out"
- Fixed GS-171 early warm up server before workout ready
- Removed theme selection in SettingsView. Now the only supported theme is light theme.
- Added google fonts to pubspec.yaml
- Upgraded google_mlkit_commons to v0.4.0
- Added try-catch in _createWorkoutSet to catch error when creating workout set in Firestore
- Added sign out button to SettingsView
- Added dependency on google_sign_in to allow google sign out
- Added version to SettingsController
- Added themeSupport to GofaSDKManager
- default is both. so user can choose between light and dark theme in Settings menu
- 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
- 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.
- Adding locale support: en, zh, zh_Hant, zh_Hans
- Fixed popup menu > Settings. migrated SettingsView to gofa_pose
- Revamped WorkoutSetResultScreen
- Lock version of package
google_mlkit_commons to 0.3.0
- 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
- Removed debug-use-only menu items
- As our Gofa SDK becomes integratable to any Flutter app, we update the version to 1.0.0
- 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.
- Added isConnected bool Stream to GofaSDKManager to indicate if the SDK is connected to the Firebase backend
- Modified fireCallable to accept firebaseApp input parameter
- Added
createdAt to WorkoutSet in Firestore
- Removed dependency on vector_math
- Changed environment: sdk: from
>=2.19.0 <3.0.0 to >=2.19.0 <4.0.0
- 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
- Improved GofaSDKManager initialization logic
- Extracted gofa-sdk firebase connection from Demo App (gofa_sdk) to this gofa_pose package