Releases: clix-so/clix-flutter-sdk
Releases · clix-so/clix-flutter-sdk
0.0.3
Added
- Push Notifications
Clix.NotificationAPI with callback handlersonMessage(),onBackgroundMessage(),onNotificationOpened(),onFcmTokenError()handlers- Token management:
getToken(),deleteToken() - Permission management:
requestPermission(),getPermissionStatus(),setPermissionGranted() configure()withautoRequestPermission,autoHandleLandingURLoptions
Changed
-
Storage
- Migrated from SharedPreferences to MMKV for improved performance
- Automatic iOS app group configuration (
group.clix.{bundleId})
-
Platform Requirements
- Flutter minimum version: 3.33.0
- Android minimum SDK: API 23 (Android 6.0)
0.0.2
Changed
- Update the default
User-Agentheader sent byClixAPIClientto match the conventions used by our other SDKs.
0.0.1
Added
-
Core SDK
- ClixConfig-based initialization with projectId, apiKey, endpoint configuration
- Async/await and synchronous API support
- Thread-safe operations with automatic initialization handling
-
User Management
- User identification:
setUserId(),removeUserId() - User properties:
setUserProperty(),setUserProperties(),removeUserProperty()
- User identification:
-
Push Notifications
- Firebase Cloud Messaging integration
- ClixAppDelegate for automated push notification handling
- ClixNotificationServiceExtension for rich notifications with images
- Automatic device token management
-
Device & Logging
- Device information access:
getDeviceId(),getPushToken() - Configurable logging system with 5 levels (none to debug)
- Device information access:
-
Installation
- Swift Package Manager and CocoaPods support
- iOS 14.0+ and Swift 5.5+ compatibility
- Sample app with complete integration example