tnk_ppi_hyb 1.0.0
tnk_ppi_hyb: ^1.0.0 copied to clipboard
TNK hybrid offerwall SDK for Flutter (Android, iOS) with full-screen and embedded offerwall, placement ad lists, reward events and point queries.
1.0.0 #
- First release. Wraps the TNK hybrid offerwall SDK (Android
com.tnkfactory.ad:hrwd1.0.19, iOSTnkPpiHyb1.0.9). - Full-screen offerwall, direct ad entry (
adDetail,adJoin,adAction), point queries, privacy/COPPA/GDPR settings, deep link handling. rewards,eventsandofferwallClosedstreams (offerwallClosedworks on Android and iOS; Android reports every SDK screen, iOS only screens opened through the plugin).- Android: the plugin gives the SDK offerwall Activity a theme without an ActionBar; an app that sets its own theme there uses
tools:replace(see README). - Placements:
TnkPlacementViewwidget (auto height, horizontal swipe to the SDK,TnkPlacementControllerwithrefreshandclickItem; the widget keeps its native view when a lazy list scrolls it out of view,keepAlive, defaulttrue) andTnkPpiHybSdk.loadPlacementDatafor drawing the list yourself (TnkPlacementData, typedTnkPlacementPubInfoandTnkPlacementAdItem). Replaces the legacygetPlacementJsonDataandonItemClick.maxHeightandverticalScrollEnabledare currently not supported. - Embedded offerwall:
TnkOfferwallViewwidget (Android: hybrid composition) andTnkOfferwallControllerput the whole offerwall inside one of your screens (for example a bottom tab).onCloseRequestedis called instead of the SDK closing the host (the native side never closes your screen or app), the Android hardware back button goes to the offerwall first while it has somewhere to go back to (handleBackButton), all touches go to the native web view.