Kotlin Multiplatform Support 🌍
This is a major milestone for Hijri Date Picker, bringing full Kotlin Multiplatform (KMP) support! You can now use this library across Android, iOS, macOS, and JVM (Desktop) applications with a single shared codebase.
🚀 Key Features
- Compose Multiplatform Support: Built from the ground up to support Android, iOS, macOS, and Desktop.
- Modern Material 3 Design: Consistent look and feel across all platforms using the latest Material3 components.
- Improved Date Handling: Integrated with
kotlinx-datetimefor robust timezone and date-time operations.
📱 Supported Platforms
- Android (Min SDK 26)
- iOS (Arm64 & Simulator Arm64)
- macOS (Arm64)
- JVM (Desktop) (JDK 11+)
⚠️ Breaking Changes
This version contains several breaking changes due to the KMP migration:
- API Changes:
- The library uses
HijrahDateclass (fromhijrahdatetimelibrary) to allow for Kotlin Multiplatform support. On Android/JVM and for convenience, you have an extension function to convert date intojava.time.chrono.HijrahDate.
- The library uses
- Dependency Changes:
- Now depends on
kotlinx-datetimeinstead ofjava.time. - Now depends on
com.abdulrahman-b:hijrahdatetime:2.0.0-alpha04to provide Hijri date across platforms.
- Now depends on