/
Flutter Demo Applications

Flutter Demo Applications

  • The demo app have examples for all the AdFormats documented.

  • Each example is a demo for each Implementation Type and how they are configured from the point of view of a Publisher.

  • Please, keep in mind they have been done for the purpose of showcasing the solution and and may not be optimized or with correct design patterns.

Repo Link to check the demos clone the repo and test the apps locally.

Single tag demo

Purpose

This demo demonstrates how to use the R89Tag(tag:) widget within the widget tree as a

  • standalone - The widget is used without specifying a child R89Tag(tag:),

  • wrapper - The widget wraps a child widget, acting as a container R89Tag(tag:, child:)

  • within scrollable widgets - The widget is placed inside scrollable elements such as ListView R89Tag(tag:, itemIndex:, child:,).

Additionally, it showcases how to configure and trigger interstitials for

  • In-route transitions – Interstitials displayed when navigating between screens.

  • Press events – Interstitials triggered when interacting with a button or another interactive element wrapped inside R89Tag(tag:,child:).

After running the demo, pick the “Single tag initialize“ option, and afterward, the app will locally set the single tag configuration via R89SDK.singleTagConfiguration and will start the initialization process with specifiedR89SDK.initialize(singleTag: true,...).

Manual implementation demo

Purpose

This demo showcases how to use RefineryAdFactory with each adFormat incorporating R89Banner and R89Outstream widgets and also illustrates how quickly, in terms of lines of code added, you can add monetization to the app.

After running the demo, pick the “Manual config initialize“ option, and afterward, the SDK will start the initialization process.