Skip to content

Repository files navigation

Game Frame X Logo

Game Frame X Advertisement (Alipay Mini Game)

License Version Unity Version Documentation

All-in-One Solution for Indie Game Development · Empowering Indie Developers' Dreams


Documentation · Quick Start · QQ Group: 467608841 / 233840761


English | 简体中文 | 繁體中文 | 日本語 | 한국어

Project Overview

Alipay Mini Game platform adapter for the Game Frame X Advertisement system. This package provides rewarded video ad integration for games published on the Alipay Mini Game platform.

Features

  • Rewarded video ad support via Alipay SDK
  • Automatic ad loading with show-failure retry
  • IL2CPP code stripping protection
  • Conditional compilation (ENABLE_ALIPAY_MINI_GAME, ENABLE_ALIPAY_MINI_GAME_ADVERTISEMENT)
  • Seamless integration with the Game Frame X Advertisement component

Architecture

This package is an adapter implementation of BaseAdvertisementManager from the Game Frame X Advertisement core. It is discovered and loaded automatically by AdvertisementComponent via Unity Inspector configuration.

Class Description
AliPayMiniGameAdvertisementManager Rewarded video ad manager — load, show, and lifecycle
AliPayVideoAdCallback Callback handler for ad load/show events
GameFrameXAdvertisementAliPayMiniGameCroppingHelper IL2CPP link.xml alternative — preserves type references

Quick Start

Installation

Choose one of the following methods:

  1. Edit your Unity project's Packages/manifest.json and add the scopedRegistries section:

    {
      "scopedRegistries": [
        {
          "name": "GameFrameX",
          "url": "https://gameframex.upm.alianblank.uk",
          "scopes": [
            "com.gameframex"
          ]
        }
      ],
      "dependencies": {
        "com.gameframex.unity.advertisement.alipayminigame": "1.0.0"
      }
    }

    scopes controls which packages are resolved through this registry. Only packages whose names start with com.gameframex will be fetched from it.

  2. Add to manifest.json dependencies:

    {
       "com.gameframex.unity.advertisement.alipayminigame": "https://github.com/gameframex/com.gameframex.unity.advertisement.alipayminigame.git"
    }
  3. Use Package Manager in Unity with Git URL: https://github.com/gameframex/com.gameframex.unity.advertisement.alipayminigame.git

  4. Clone the repository into your Unity project's Packages directory. It will be loaded automatically.

Platform Support

Platform Supported
Alipay Mini Game (WebGL) Yes
Android No
iOS No
Standalone No

Requires UNITY_WEBGL and ENABLE_ALIPAY_MINI_GAME scripting define symbols.

Documentation & Resources

Community & Support

Changelog

v1.0.0

  • Initial release
  • Rewarded video ad support for Alipay Mini Game platform
  • IL2CPP cropping protection

Dependencies

Package Description
(无) -

License

See LICENSE.md for license information.

About

Game Frame X Unity advertisement component for Alipay Mini Game platform — rewarded video ads with auto-retry, IL2CPP stripping protection, and conditional compilation support

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages