flutter_smkit_ui 1.3.1
flutter_smkit_ui: ^1.3.1 copied to clipboard
Flutter Plugin for Sency's SMKitUI
0.1.0 #
created SMKitUI
0.1.1 #
Added Android support
0.1.2 #
Updated smkitUI
0.1.3 #
Bug fix
0.1.4 #
Add multiple Custom Workouts
0.1.5 #
Add Custom Assessment
0.1.6 #
Bug Fix
0.1.7 #
Bug fix
0.1.8 #
Update sdk
0.1.9 #
Bug fix
0.2.0 #
Bug fix
0.2.1 #
Bug fix
0.2.2 #
Bug fix
0.2.3 #
Bug fix
0.2.4 #
Bug fix
0.2.5 #
- Added support for loading
apiPublicKeyfrom.envfile usingflutter_dotenv. - Improved error handling for missing
.envfile. - Updated example app with new assessment and workout features.
0.2.6 #
- Unified user data handling for assessments: Flutter now sends
genderandbirthday(milliseconds since epoch) for both iOS and Android. - Android plugin converts
birthdaytoageand mapsgenderstring to native enum, supporting both lowercase and capitalized values. - Added
GenderSerializerfor Android to ensure correct serialization of gender values. showSummaryargument is now supported and configurable from Flutter for both iOS and Android.- Example app updated: assessment type selection via dropdown, showSummary toggle, and improved UI for starting assessments.
- Improved error handling and code alignment between platforms.
1.2.7 #
- Upgraded Android native module (SMKitUI 1.3.1 → 1.3.3) to improve video instructions management.
- Enhanced video playback and instruction handling in Android assessments and workouts.
1.2.8 #
- BREAKING FIX: Fixed critical hanging issue with preference setter methods (
setSessionLanguage,setCounterPreferences,setEndExercisePreferences) - Method Channel Fix: Made preference setters fire-and-forget to prevent timeout issues
- Platform Alignment: Updated Android and iOS implementations to properly handle method channel results
- Error Handling: Improved error handling and logging in
startCustomizedAssessmentmethod - iOS Fix: Fixed user data popup issue in custom assessments by providing default UserData
- Android SDK: Upgraded to SMKitUI 1.3.5 for improved stability
- Debugging: Enhanced logging and error reporting for better troubleshooting
- Performance: Removed blocking await calls from preference setters to improve assessment startup time
1.3.0 #
- Android 15 & 16 Compatibility: Upgraded Android SMKitUI to version 1.3.9 with full support for Android 15 and Android 16 (API 36) including 16KB page size compatibility
- Modern Build Tools: Updated to Android Gradle Plugin 8.11.1 and Gradle 8.11.1/8.13 for better stability and performance
- Kotlin 2.0: Upgraded to Kotlin 2.0.21 for improved compilation speed and modern language features
- SDK Update: Updated compileSdk to 36 (Android 16) for future-proof development
- Enhanced Compatibility: Better support for the latest Android development tools and SDKs
- Build System: Improved Gradle configuration for reliable builds on modern Android versions
1.3.1 #
- 🎯 MAJOR: Standardized Data Structure Across Platforms: Complete alignment of workout/assessment summary data between iOS and Android
- Native SDK Updates:
- iOS: Upgraded SMKitUI to 1.4.3 for enhanced data consistency
- Android: Upgraded SMKitUI to 1.4.0 for improved serialization
- 🔄 CamelCase Naming Convention: All JSON fields now use consistent camelCase naming across platforms:
userData,sessionId,activityType,startTime,endTime,totalTime,totalScoreexerciseId,uiElements,instructionVideo,voiceIntro,voiceOutro,prettyNamescoringParamswithscoreFactor,targetTime,targetReps
- 📊 Flattened Exercise Data: Removed nested
exercise_infostructure, all fields now at top level - ✅ Field Name Fixes:
- Fixed
voicOutrotypo →voiceOutroon Android - Unified
feedback(iOS) →feedbacks(both platforms) - Converted
type→activityTypefor clarity
- Fixed
- 🔧 Type Safety Improvements: Fixed Dart type issues (
Float?→double?) for better JSON parsing - 📱 Cross-Platform Consistency: iOS and Android now produce identical JSON structure for easy data handling
- 🐛 Bug Fixes: Resolved runtime errors related to type mismatches and missing fields
- 📝 Enhanced Logging: Added comprehensive debug logging in example app for easier testing and validation