Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Prerequisites

Step

...

summary

  1. Add the Initialization code.

  2. Follow our ad format guides for their implementation.

  3. Test everything is working

  4. Change everything to production code

  5. Your app is now prepared for monetization with us.

...

Note

This appID is not the same as the Manifest App Id or the Info.plist GADApplicationIdentifier you used in previous steps.

Add navigation observer.

Just before starting to put R89Tag widgets into your widget tree, make sure to add Add R89SDK.routeObserver to your navigatorObservers list

Code Block
languagedart
@override
Widget build(BuildContext context) {
  return MaterialApp(
    navigatorObservers: [
      R89SDK.routeObserver,
    ],
    // ...
  );
}

Follow our

...

ad formats guides

Child pages (Children Display)
depth1
allChildrentrue
style
pageAndroid - Ad Formats
sortAndReverse
first0

Go into production

For going into production you will need to use your ids:

  • Remove the methods In the dart code remove the method R89SDK.setDebug() and addTestingSingleTagData().

  • Change the App In the Android module change the com.google.android.gms.ads.APPLICATION_ID in the manifest for the production one.

  • Change In the iOS module change the GADApplicationIdentifier in the info.plist for the production one.

  • Change In the dart code change the appId and publisherId in the initialization method for the production ones.

  • it’s also recommended to remove R89SDK.setLogLevel(LogLevels.DEBUG) but not neededrequired.

How does it work?

We fetch all ad unit configurations from our Database and you simply need to place the ad units using the R89 Ad widgets and the r89ConfigurationIDs we provide you. Incorporate them into the desired viewspages in your app.

Check Flutter - Ad Formats to see how each format is implemented.