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.
Single Tag Demo
Repo Link to check the demos clone the repo and test the apps locally.
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, the demo 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 “Single Tag Initialize“ option, afterwards the SDK will locally setup the single tag configuration via R89SDK.singleTagConfiguration
and will start the initialization process with specifiedR89SDK.initialize(...,singleTag: true,)
.
Manual Implementation Demo
Repo Link, if you want to check the demos fork and clone the repo and test the apps locally
Download the official release in the Store Link. You can directly execute the app in your device and see everything that way.
Purpose
This demo showcases how to use RefineryAdFactory
with each adFormat and also illustrates how quick, in terms of lines of code added, you can add monetization to the app. One activity has all the formats by pressing the each format button and showing it in a programmatically created wrapper.
If required for showcasing each special format, there will be an activity for each one, such as Infinite Scroll. These do not have any more formats than the one it’s suppose to show.