Flutter - Monetize App SDK Documentation

⌘K
  1. Flutter – Monetize ...
  2. Tipos de inicialización
  3. Inicialización manual

Inicialización manual

Check a full implementation in the Demo Apps section.

¿Cómo funciona?

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 Formatos de anuncios to see how to do it with each format.

¿Qué se necesita?

  1. Comience creando una cuenta con nosotros. Contact us para iniciar el proceso y proporcionar toda la información necesaria que se detalla a continuación.

  2. Add the Initialization code.

  3. Follow our ad format guides for their implementation.

  4. Tu aplicación está ahora preparada para la monetización con nosotros.

Información que necesitamos sobre tu aplicación

  • ¿Qué formatos tienes la intención de utilizar? Si no estás seguro de los formatos, por favor consulta su páginas dedicadas o comunícate para pedir ayuda contactarnos.

  • Enlace de la tienda (métricas de Google o Manzana uno).

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

  • (Optional) Desired App Keywords.

Ejemplos

Al final del ejemplo encontrarás un plantilla de producción aquí.

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();

Ejemplo en la demostración

Usar R89SDK.initialize method for the auto initialization by providing publisherId y appId.

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

Plantilla

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

¿Cómo podemos ayudarte?