How it works?
We fetch all unit configurations from our Database and you simply need to use one of the built-in ad widgets. The usage looks as follows:
@override Widget build(BuildContext context) => Scaffold( appBar: ..., body: Column(children: [ ... R89Banner( configurationId: <provided-banner-config-id>), ... ],), );
Check Ad formats to see how to do it with each format.
What is needed?
-
Get started by creating an account with us. Contact us to initiate the process and provide all the necessary information listed below.
-
Add the Initialization code.
-
Follow our ad format guides for their implementation.
-
Your app is now prepared for monetization with us.
Information we require about your app
-
Which formats do you intend to utilize? If you’re unsure about the formats, please refer to their dedicated pages or reach out for assistance by contacting us.
-
Store Link (Google ou Apple one).
-
Domain of the app. E.g.:www.refinery89.com
-
(Optional) Desired App Keywords.
Examples
If you are in Debug mode, please add these lines before any of the R89SDK.initialize
. Marking the SDK as Debug will make the SDK use ConfigBuilder
IDs and data.
R89SDK.setLogLevel(LogLevel.debug); R89SDK.setDebug();
Example in the Demo
Use R89SDK.initialize
method for the auto initialization by providing publisherId
e appId
.
@override void initState() { super.initState(); // Add for debug R89SDK.setLogLevel(LogLevel.debug); R89SDK.setDebug(); // Auto initialization R89SDK.initialize( publisherId: "TestRefinery89ID", appId: "TestAutoConfigDemoApp"); }
Template
R89SDK.initialize( publisherId: <YOUR PLUBLISHER ID>, appId: <YOUR APP ID>);