- Permission notification
- iOS shouldShowRationale false when notDetermined, true when restricted or denied
- iOS default locale to currentLocale
rememberFeinnPermissionState
: A new@Composable
function that remembers and provides aFeinnPermissionState
instance for a given permission. It takes a permission type ofFeinnPermissionType
and a callback(onPermissionResult)
that is invoked when the permission result is obtained, providing aBoolean
indicating whether the permission was granted or denied.
- Context Handling: Fixed an issue where the previous implementation was incorrectly relying on context, which has now been removed for improved functionality.
- Platform Context: Enhanced context functionality to handle various utilities that require context.
- Launch Open Uri: Launch functionality to handle web open uri and local storage uri.
- Improved Date Parsing: Enhanced parsing functions to handle a broader range of date formats with better error handling.
- Custom Date Format Support: Added support for custom date formats to
FeinnDateTime.getFormattedDateTime()
for more flexible date-time formatting. - Locale Support for Regions:
FeinnLocale
now supports Regions information, allowing formatting and parsing across multiple regions. - Time Zone Conversion: Introduced a method to convert
FeinnDateTime
to different regions.
- Date Formatting Inconsistencies: Fixed an issue where certain date formats were not rendering consistently on iOS and Android.
- Crash Fix for Parsing Invalid Dates: Fixed a crash that occurred when parsing invalid date strings. Now, a
FeinnDateTimeThrowable
is thrown with a clear error message.
- FeinnDate: A class representing date with platform-specific implementations for different environments (Android and iOS).
- FeinnLocale: A locale utility class that allows you to retrieve and format dates based on the system's locale.
- Date Formatting and Parsing: Functions for formatting
FeinnDate
to strings and parsing strings intoFeinnDate
instances️. - Multi-platform Support: Designed to work across multiple platforms, including Android and iOS.