flutter_app_expiry 0.0.2
flutter_app_expiry: ^0.0.2 copied to clipboard
A Flutter package to enforce app expiration (trial period) based on a specific date. After the expiry date, the app is blocked and shows a customizable expiration screen.
Changelog #
0.0.2 #
- Added
ExpiryApp.remote()— fetch expiry date from a remote JSON endpoint - Added
RemoteExpiryServicefor standalone remote expiry checks - Configurable JSON key, timeout, loading widget, and fallback date
- Graceful fail-open behavior when network is unavailable
0.0.1 #
- Initial release
ExpiryAppwidget — wraps your app and enforces an expiration dateExpiryService— utility class for expiry checks (isExpired, remainingDays, remainingDuration)DefaultExpiredScreen— polished, animated expiration screen with customizable title, message, and contact info