flutter_telegram_miniapp 0.1.0
flutter_telegram_miniapp: ^0.1.0 copied to clipboard
A Flutter package providing easy access to the Telegram Mini Apps API, enabling you to build interactive experiences within Telegram.
Changelog #
0.1.0 #
- Breaking: Unified the asynchronous API. The callback-based methods and their
*Asynccounterparts have been merged into singleFuture-returning methods (e.g.setItem,getItem,getItems,removeItem,removeItems,getKeys,showPopup,openInvoice,requestContact,init,requestAccess,authenticate,updateBiometricToken). - Breaking: Errors reported by the Telegram client are no longer silently ignored. Failing methods now complete with a
TelegramMiniAppExceptioninstead of returning a default value. - Added the
TelegramMiniAppExceptionclass to the public API. - Exported the
DeviceStorageandSecureStoragetypes. - Raised the minimum Dart SDK constraint to
^3.12.2. - Reformatted the codebase and refreshed the example and documentation to use the new async API.
0.0.11 #
- Fixed error with SafeAreaInset and ContentSafeAreaInset
0.0.10 #
- Implemented support for Bot API 9.1
- Added the method hideKeyboard to the class WebApp.
- Fixed an error during static analysis
0.0.9 #
- Fixed an error in exporting enums
0.0.8 #
- Implemented support for Bot API 9.0
- Implemented DeviceStorage and SecureStorage
- Fixed error with authDate in initDataUnsafe
0.0.7 #
- Fixed a critical error with number conversion
0.0.6 #
- Fixed a critical error in the event handler
- Added documentation for BackButton, BottomButton, CloudStorage, ContentSafeAreaInset, HapticFeedback, LocationData, LocationManager, MainButton.
- Fixed other minor bugs
0.0.5 #
- Fixed little problem
0.0.4 #
- Removed package 'async' from pubspec.yaml
- Fixed some problems
0.0.3 #
- Fixed some problems
0.0.2 #
- Added example project
0.0.1 #
- Repository inited