Migrating from Flutter plugin 0.x
Deprecation NoticeYou are viewing the SDK v3 docs. SDK v3 will be deprecated on September 30, 2026.
We recommend upgrading to SDK v4 — the latest and actively maintained version. To get started, follow the SDK v3 → v4 Migration Guide.
Overview
A number of objects and methods have changed in version 1.x of the Taboola Flutter plugin.
When migrating your app from version 0.x, refer to the checklist below.
Guidelines
- Update
importstatements to use the new package names.- Rename relevant objects.
- Rename callback methods.
- Rename the
getTaboolaClassicBuilder()method.- Ensure that you invoke
init()with a single param.- To pass
extraProperties, invoke a setter at the appropriate level:Taboola,TBLClassicPageorTBLClassicUnit.
Checklist
v0.x | v1.x |
|---|---|
|
|
PublisherInfo | TBLPublisherInfo |
TaboolaClassicListener | TBLClassicListener |
// Callback method:taboolaDidResize() | // Callback method:onResize() |
// Callback method:taboolaDidShow() | // Callback method:onAdReceiveSuccess() |
// Callback method:taboolaDidFailToLoad() | // Callback method:onAdReceiveFail() |
// Callback method:taboolaDidClickOnItem() | // Callback method:onItemClick() |
|
|
// (See above) |
|
// (See above) |
|
// (See above) |
|
TaboolaClassicBuilder | TBLClassicPage |
getTaboolaClassicBuilder() // method | getClassicPage() // method |
TaboolaClassicUnit | TBLClassicUnit |
Updated 23 days ago
