Versions Compared

Key

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

1. Enter Debug Mode

For testing manual implementation add this before initialization

Code Block
languagedart
R89SDK.setDebug();

We also recommend adding

Code Block
languagedart
R89SDK.setLogLevel(LogLevel.debug);

Full Example

Code Block
languagedart
R89SDK.setDebug();
R89SDK.setLogLevel(LogLevel.debug);
R89SDK.initialize(
      publisherId: "TestRefinery89ID",
      appId: "TestDemoApp",
      singleTag: false,);

2. Use Debug Config Ids

Implement the ad formats following their guide and using debug config ids available in https://refinery89.atlassian.net/wiki/spaces/SDKpDocs/pages/1731198996/Flutter+-+Ad+Formats?atlOrigin=eyJpIjoiOTk2YWZkYTMxYzc5NGU4Y2FiMDE1OGRiOTcxYjdmZDIiLCJwIjoiYyJ9

Example:

Code Block
languagedart
Widget build(BuildContext context) {
    ...
     R89Banner(configurationId: ConfigBuilder.bannerTestR89ConfigId,)
    ...
}