telegram_web_app 0.2.1 telegram_web_app: ^0.2.1 copied to clipboard
Representation and implementation of telegram web/mini apps apis
Changelog #
0.2.1 #
- BOT API 8.0 partial support
- isActive, isFullscreen, isOrientationLocked, safeAreaInset, contentSafeAreaInset
OlegNovosad
#43 - lockOrientation, unlockOrientation, isOrientationLocked, DeviceOrientation, deviceOrientationStarted, deviceOrientationStopped, deviceOrientationChanged, deviceOrientationFailed #46
- activated, contentSafeAreaChanged, deactivated, fullscreenChanged, locationManagerUpdated, fullscreenFailed, locationRequested, safeAreaChanged, requestFullscreen, exitFullscreen, locationManager
OlegNovosad
#47 - addToHomeScreen, checkHomeScreenStatus, shareMessage, downloadFile, homeScreenAdded, homeScreenChecked, shareMessageSent, shareMessageFailed, fileDownloadRequested #48
0.2.0 BETA #
- Added support for Bot API 7.10
- Fixed incorrect implementation of the TelegramWebApp interface (removed invalid Future
- Corrected event implementations and added missing events:
BiometricAuthRequestedEvent
,BiometricManagerUpdatedEvent
,BiometricTokenUpdatedEvent
,ScanQrPopupClosedEvent
,SecondaryButtonClickedEvent
- Migrated to the dart:js_interop package
0.1.6 #
- Support for Bot Api 7.8 - shareToStory
0.1.5 #
- Update example app for #21
- username is not optional in WebAppChat #14
- Bug fixes for popup button and section bg color.
OlegNovosad
#15 - Make WebAppInitData mockable #24
- Added BiometricManager support
- Added section_separator_color
- Added
isVerticalSwipesEnabled
,enableVerticalSwipes()
,disableVerticalSwipes()
apis
0.1.4 #
- Remove
tgWebAppStartParam
- doesn't exist in telegram script - Add test for parsing raw to TelegramInitData
- Handle null values for
chat_type
,chat_instance
,username
- Add
queryId
param forTelegramInitData
0.1.3 #
- Bug fix -
openInvoice
callback not working OlegNovosad - Bug fix - User name/surname
utf-8
support bugrevealingbme - Update
example
app index.html in accordance with latest flutter version
0.1.2 #
- Add support for telegram theme colors for widgets in theme_util.dart
- Make telegram objects mockable
- Add start param value
- Add telegram raw in init data
0.1.0 #
- Fix bug - requestWriteAccess callbacks not working
0.0.6 #
- Add mocking for theme
0.0.5 #
- Add TelegramWebAppFake for mocking
- Fix bug - make allowsWriteToPm bool
0.0.4 #
- Update Readme.md, add repository link and add tutorial
0.0.1 #
- Initial release