npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

com.gmonks.crosspromotion

v3.2.1

Published

A CrossPromotion library for Unity, enabling seamless in-app promotion of other games and apps within your Unity projects.

Readme

GMonks CrossPromotion for Unity

A Unity package for seamless in-app cross-promotion of other games and apps within your Unity projects.

Features

  • Display image and video banners, interstitials, and rewarded promos
  • Supports Android platform
  • Easy integration with Unity UI
  • Automatic asset management and caching

Installation

Option 1: Using Unity Package Manager with Scoped Registry

  1. Open your Unity project.
  2. Go to Edit > Project Settings > Package Manager > Scoped Registries.
  3. Click + to add a new scoped registry and enter:
    • Name: GMonks
    • URL: https://registry.npmjs.org
    • Scope(s): com.gmonks
  4. Click Save.
  5. After adding the scoped registry, open the Package Manager.
  6. Locate com.gmonks.crosspromotion in the list, select it, and choose the desired version to install.
  7. Click Install.

Option 2: Modify manifest.json Directly

  1. Open your project folder and navigate to Packages/manifest.json.
  2. Add or update the scopedRegistries section:
    "scopedRegistries": [
      {
        "name": "GMonks",
        "url": "https://registry.npmjs.org",
        "scopes": [
          "com.gmonks"
        ]
      }
    ],
  3. Add the package to the dependencies section:
    "com.gmonks.crosspromotion": "x.y.z"
    Replace x.y.z with the specific version you want to install, as listed in the package registry or release notes
  4. Save the file and return to Unity. The package will be installed automatically.

Usage

  1. Add the CrossPromotion prefab to your scene.

    • If you are developing the package locally, the prefab is located at Assets/Package/Runtime/Prefabs/CrossPromotion.prefab.
    • If installed via Unity Package Manager, find it in the Packages/com.gmonks.crosspromotion/Runtime/Prefabs/ folder in your project window.
  2. Create and configure a CrossPromotionSettings asset:

    • In the Unity Editor, right-click in your Project window and select Create > GMonks > CrossPromotionSettings.
    • Fill in the required fields such as API Key, Platform, Device Type, etc.
  3. Assign the CrossPromotion prefab and settings in your scene:

    • Drag the CrossPromotion prefab into your scene.
    • In your script, reference the CrossPromotion component and assign the settings asset.
  4. Initialize the CrossPromotion system in your code:

    using GMonks.CrossPromotionLib;
    
    public class MyGameManager : MonoBehaviour
    {
        [SerializeField] private CrossPromotion crossPromotion;
        [SerializeField] private CrossPromotionSettings crossPromotionSettings;
    
        void Start()
        {
            if (crossPromotionSettings != null)
            {
                crossPromotion.Initialize(crossPromotionSettings);
            }
        }
    }
  5. Show or hide promos as needed:

    // Show an image banner
    crossPromotion.ShowImageBanner();
    
    // Show a video banner
    crossPromotion.ShowVideoBanner(/*Vector2 screen position or Transform reference*/);
    
    // Show a video interstitial
    crossPromotion.ShowVideoInterstitial(() => {
        // Callback after ad is closed or ad failed to show
    });
    
    // Show a rewarded video
    crossPromotion.ShowRewardedVideo(result => {
        if (result) {
            // Reward the user
        }
        else
        {
            // ad closed before reward granted or failed to show
        }
    });
    
    // Hide all promos
    crossPromotion.HideAllPromos();
  6. Listen for promo click events:

    crossPromotion.onPromoClickedEvent += (appId, promoType, platform) => {
        // Handle promo click, e.g., analytics or custom navigation
    };

API Reference

Support

This package is maintained by GMonks Entertainment Private Limited.
For support, please contact the package maintainer directly.


© 2014-2025 GMonks Entertainment Pvt. Ltd. All Rights Reserved.