Flutter - Monetisera App SDK Dokumentation

⌘K
  1. Flutter - Tjäna pengar på din app SD...
  2. Användarguide
  3. Initialiseringstyper
  4. Manuell initialisering

Manuell initialisering

Check a full implementation in the Demo Apps section.

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>),
      ...
  ],),
);

Kontrollera Annonsformat för att se hur man gör det med varje format.

What is needed?

  1. Kom igång genom att skapa ett konto hos oss. Kontakta oss för att initiera processen och tillhandahålla all nödvändig information som listas nedan.

  2. Lägg till initialiseringskoden.

  3. Följ vår annonsformatguider för deras implementering.

  4. Din app är nu förberedd för intäktsgenerering med oss.

Information vi behöver om din app

  • Vilka format tänker ni använda? Om ni är osäkra på formaten, vänligen se deras dedikerade sidor eller kontakta oss för hjälp genom att kontakta oss.

  • Butikslänk (Google eller Äpple en).

  • Domain of the app. E.g.:www.refinery89.com

  • (Valfritt) Önskade app-sökord.

Exempel

At the end of the example you can find a mall för produktion här.

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 Konfigurationsbyggare IDs and data.

R89SDK.setLogLevel(LogLevel.debug);
R89SDK.setDebug();

Example in the Demo

Använd R89SDK.initialize method for the auto initialization by providing utgivarId och appId.

@override
void initState() {
  super.initState();
  // Add for debug
  R89SDK.setLogLevel(LogLevel.debug);
  R89SDK.setDebug();
  // Auto initialization
  R89SDK.initialize(
    publisherId: "TestRefinery89ID",
    appId: "TestAutoConfigDemoApp");
}

Mall

R89SDK.initialize(
  publisherId: <YOUR PLUBLISHER ID>,
  appId: <YOUR APP ID>);

Hur kan vi hjälpa till?