one_admax_flutter 1.0.1 copy "one_admax_flutter: ^1.0.1" to clipboard
one_admax_flutter: ^1.0.1 copied to clipboard

Flutter plugin for OneStore AdMax SDK, supporting banner, interstitial (full-screen), rewarded and native ads

one_admax_flutter #

GitHub Release [Pub Version Pub Points

A flutter plugin for ONE store AdMax Ads.

For more information, see the ONE AdMax Developer Guides.

Getting started #

Pre-Preparations for ONE ADMAX #

Installation #

  • Add package
    • Run this command with flutter:
      >
      >       ```
    $ flutter pub add one_admax_flutter
  ```
  • Add dependency to pubspec.yaml
  >       ```dart
    dependencies:
      one_admax_flutter: ^1.0.0
  ```
  • Click 'pub get' to download the package or run 'flutter pub get' from the command line.

  • Add dependencies to build.gradle

>   - Add the maven address to the **project's** build.gradle
      >
      >       ```groovy
    allprojects {
      repositories {
        maven { url 'https://repo.onestore.net/repository/onestore-sdk-public' }
      }
    }
  ```
      >
      >       ```xml
    <manifest>
        ...
        <queries>
            <intent>
                <action android:name="com.onestore.iaa.intent.action.REWARD" />
            </intent>
        </queries>
        ...
        <application>
            ...
        </application>
    </manifest>
  ```

Usage #

Import it and use in Dart code.

  import 'package:one_admax_flutter/one_admax_flutter.dart';

Android Proguard Rules #

It's already obfuscated and in aar, so add the package to the proguard rules.

-keeppackagenames com.oneadmax.**

-keep class com.oneadmax.global.** { public *; }
-keep enum com.oneadmax.internal.* { *; }

Note #

This plugin uses json_serializable for the many data structs passed between the underlying platform layers and Dart. After editing any of the serialized data structs, rebuild the serializers by running flutter packages pub run build_runner build --delete-conflicting-outputs. flutter packages pub run build_runner watch --delete-conflicting-outputs will watch the filesystem for changes.

0
likes
0
points
132
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter plugin for OneStore AdMax SDK, supporting banner, interstitial (full-screen), rewarded and native ads

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, json_annotation, plugin_platform_interface

More

Packages that depend on one_admax_flutter

Packages that implement one_admax_flutter