tabby_flutter_inapp_sdk 2.0.0
tabby_flutter_inapp_sdk: ^2.0.0 copied to clipboard
Flutter SDK for Tabby Buy Now, Pay Later. A package that allows you to integrate Tabby payment methods into your Flutter app.
2.0.0 #
- β Breaking change:
TabbySDK().setup(...)is nowFuture<void>and must be awaited. Partners must update their integration (this is really an easy todo). - π SDK now bootstraps sharded base URLs from
POST /api/v1/sdk/configduringsetup(). Per-request hosts are resolved byCurrency(e.g.Currency.saris routed to KSA-resident endpoints) with adefaultfallback. - New public types:
SdkConfig,SdkEndpoints. - Removed
TabbySDK().widgetsBaseUrlgetter (was currency-agnostic). UsewidgetsBaseUrlFor(Currency)if you need direct access to the resolved widgets base URL. - Removed
Environment.widgetsHost; renamedEnvironment.hostβEnvironment.bootstrapApiBaseUrl(used only for the bootstrap call). - The bootstrap call is merchant-agnostic and does not include the partner
Authorizationheader; subsequent calls (e.g.createSession) continue to sendAuthorization: Bearer <apiKey>. - Hard-fail on bootstrap failure:
setup()propagatesServerExceptionfor non-200 responses,FormatExceptionfor malformed payloads, and transport errors are passed through unchanged. No retry, no fallback to embedded URLs, no on-disk caching. - π Fixed an iOS 26 crash (
EXC_BAD_ACCESSinflutter_inappwebview_ios) reported on iPhone 17 / iOS 26.4.2 by removing theflutter_inappwebviewdependency entirely. The "Learn more" page now opens in a full-screen modal sheet powered bywebview_flutter, with RTL-aware close affordance for Arabic. No integration changes required.
1.11.0 #
- [Android] Resolved issue of user sometimes unable to attach files during the checkout
1.10.1 #
- Minor fix: removing
setOnConsoleMessageas not needed
1.10.0 #
- Getting rid of deprecated
TabbyCheckoutSnippet - Getting rid of deprecated
TabbyPresentationSnippetNonStantard - βοΈ Breaking change: Getting rid of deprecated
TabbyPresentationSnippet. Please useTabbyProductPageSnippetinstead - it's an easy migration - π Adding new web-view based dynamic
TabbyProductPageSnippet - Lowering code dependency on
flutter_inappwebviewpackage, usingwebview_flutterinstead
1.9.0 #
- Updating example app to the latest Flutter version
- Migrating
TabbyWebViewfrom usingflutter_inappwebviewto more stablewebview_flutter
1.8.1 #
- Fixed typo in package description
1.8.0 #
TabbyWebViewis now in charge of managing permissions requests asked by the web page. TheTabbyWebViewwill ask for permissions only when needed- β Important: please refer to Readme.md and update your integration to handle the new
TabbyWebViewbehavior - Example app reworked to demonstrate the new
TabbyWebViewbehavior
1.7.0 #
- Added
SessionStatus - β Important: The
TabbySession.statuscan now be eitherSessionStatus.rejectedorSessionStatus.created. Some customers may be rejected immediately after a session creation. You need to handle this scenario before openingTabbyWebView. For reference, check the example implementation inexample/lib/pages/home_page.dart, specifically the functions:void openInAppBrowser() {...}andvoid openCheckOutPage() {...} - Added
TabbySDK.rejectionTextEnandTabbySDK.rejectionTextAr
1.6.2 #
TabbyCheckoutSnippetreworked to use png images
1.6.1 #
Environment.stageremoved from SDK internals
1.6.0 #
- βοΈBreaking change: update required fields for
TabbySDK().createSession(TabbyCheckoutPayload payload) {...} - flutter_inappwebview updated dependency
1.5.0 #
- No-breaking change built in widgets usage staticsics
1.4.2 #
- Fix TabbyPresentationSnippet not displaying updated price
1.4.1 #
- Fix Bahrain currency
1.4.0 #
- Removed credit_card_installments
- Removed monthly_billing
1.3.0 #
- Added TabbyCheckoutSnippet
- Added TabbyPresentationSnippetNonStantard
1.2.0 #
- Qatar supported, Egypt deprecated.
1.1.2 #
- Updated domains for checkout result pages
1.1.1 #
- Integration docs updated
1.1.0 #
- Added internal webview params for proper analytics
1.0.2 #
- Fixed WebView dependency
1.0.1 #
- Fixed optional params of Payment
1.0.0 #
- Webview
- Bottom Sheet page