swip 1.0.0+6 copy "swip: ^1.0.0+6" to clipboard
swip: ^1.0.0+6 copied to clipboard

Synheart Wellness Impact Protocol - Flutter SDK

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.0.0+5 - 2025-12-10 #

Fixed #

  • Permission Handling: Fixed redundant permission requests that prevented Health Connect UI from opening correctly on Android
  • Initialization Flow: Improved SDK initialization to follow best practices from synheart-poc-dart
    • Now calls initialize() first (matching synheart-poc-dart pattern), then checks for existing permissions
    • Gracefully handles cases where Health Connect is not yet installed
    • Re-initializes wearable SDK after permissions are granted
  • Android 14+ Compatibility: Fixed "Permission launcher not found" error by requiring MainActivity to extend FlutterFragmentActivity instead of FlutterActivity (see example app)

Changed #

  • Permission Request Pattern: Updated to explicitly request platform-specific permissions
    • Android: Requests heartRate, heartRateVariability (RMSSD), steps, calories (excludes distance as Health Connect doesn't support it)
    • iOS: Requests all types including distance (HealthKit supports all)
  • Error Handling: Better error handling for Health Connect availability issues
    • SDK can now work even if Health Connect is installed after initial initialization attempt

Improved #

  • Health Connect permissions screen now opens correctly when permissions are requested
  • Removed duplicate permission requests that were causing initialization issues
  • Better state management for wearable SDK initialization

1.0.0+4 2025-12-XX #

Added #

  • New version of synheart_wear with health connect for android

1.0.0+3 2025-11-XX #

Fixed #

  • Removed nested lib/packages/swip_core directory
  • Fixed undefined exports (EmotionRecognitionConfig, EmotionState)
  • Added version constraint to synheart_wear dependency

1.0.0 2025-11-XX #

Added #

  • Initial release of SWIP Flutter SDK
  • SWIP SDK Manager for session management
  • Integration with synheart_wear for sensor data collection
  • Integration with synheart_emotion for emotion recognition
  • Integration with swip_core for SWIP score computation
  • Consent management system
  • Local storage and sync capabilities
  • Legacy ML components (feature extraction, SVM predictor, emotion recognition)

Fixed #

  • Removed nested lib/packages/swip_core directory
  • Fixed undefined exports (EmotionRecognitionConfig, EmotionState)
  • Added version constraint to synheart_wear dependency