top of page

Mobile Master IAP

[Note] Please use the new Mobile IAP (Pro) plugin which supports the latest In-App Purchases, In-App Subscriptions, In-App Billing  and Store Kit.


The Mobile Master IAP plugin is specifically designed to implement complete In-App Billing, In-App Purchases and In-App Subscriptions features in both Android and iOS, for games built using Construct 3 and Construct 2.


The Mobile Master IAP has support for purchases, subscriptions and server-validation with data credentials, in which this plugin is first to release such features in both Construct 3 and Construct 2.


The Mobile Master IAP supports both Construct 3 editor and Construct 2 editor, initially developed in Construct 2. It has full support of all essential features in both the Android and iOS SDK.

PlayFab API v2.png

Introduction

Step 1.png

The Construct Master Collection supports the full and easy integration of native mobile Android SDKs and iOS SDKs for both Construct 3 and Construct 2.


Please click here to learn more about Mobile.

Features


The Mobile Master IAP plugin is specifically designed to implement complete In-App Billing, In-App Purchases and In-App Subscriptions features in both Android and iOS, for games built using Construct 3 and Construct 2.


The Mobile Master IAP has support for purchases, subscriptions and server-validation with data credentials, in which this plugin is first to release such features in both Construct 3 and Construct 2.


Here are some of the native features of the mobile plugin:

  • Purchases

    • Consumables

    • Non-consumables

  • Subscriptions

    • Free trial

    • Free subscriptions

    • Paid subscriptions

  • Restore purchases

  • Store details

  • Product details, including international currency.

  • Localized product details, including local currency.

  • Transaction receipts

  • Server validation features

  • Fingerprint support, and other sensors.

  • PDF documentation included.

For more information about native mobile or Android and iOS features, please click here to learn the introductory lessons to Mobile.


Platform Integration


Here are some of the platforms that are natively supported:

  • Android

  • iOS

  • Native Android

  • Native iOS


Build Support


Here are some of the supported build options:


Editor Features


Here are some of the features in the Construct editor:

  • Construct 3

  • Construct 2

Introduction
Features

How to use?

It is easy to use the Mobile Master IAP plugin, you will only need to follow the steps below.

1. The first step is to add the Mobile Master IAP object into the project.


2. If the application is for Android, create a manifest.json or import the prepared one in the plugin documentation.


The manifest.json should contain the key "play_store_key", then set the value "<your_public_key>", fill in your own app public key.

Skip this step for iOS projects.


As of now, there is no way to make this easier in this plugin. However, there is now the new and better Mobile Billing plugin that no longer requires this step.

3. The Mobile Master IAP also requires you to fully configure your Google Developer Console to properly work. This includes the store listing, default pricing, localized pricing, etc. The project also needs to be in its released state, even if just on the beta release phase. Otherwise, any attempts to purchase or subscribe to any product in your application will launch an error.


4. To test purchases, it is important to add your account to your application's testing group. Your Google Account that has the Google Developer Console in which the project is owned, is automatically a tester account. 5. If the purchase or subscribe dialog popup shows the product is not available for this user or application, then please check if your in-application products are available to your current country location set in your Google Account. And, if the local price for that country is set in your Google Developer Console. Additionally, check if instruction #4 above is also properly set.


6. Lastly, from the plugin properties. If the Debug Mode property is enabled, the plugin will log errors in the debug console.


The debugging logs are available in different debug consoles, including the Android Studio, Xcode, Chrome Developer Tools - Console and Safari's Web Inspector.

Instructions
Documentation

Documentation

There is currently nothing to show, we will add more in the future.



User Manual


The Mobile Master IAP has a built-in user manual, you can read it to learn more. ​ The manual is not a replacement for the Google Developer documentation or the Apple Developer documentation, it is of utmost importance to reads those too, including all regulations and policies. We will not be liable to any violation or malpractice use of each plugin, it is always the account holder whom agreed to the use of each platform's service. Therefore, we highly recommend reading the official documentations, policies, regulations and terms of each platform.




ACEs

Actions, Conditions & Expressions

Actions

The following action groups:

  • Initialization

  • Monetization

  • App Sync

Initialization

  • Initialize - Initialize after all the products and subscriptions are installed. Initialize all before continuing further.


  • Install Product - Install the product to be listed for initialization. Install before initializing.

    • Product ID - The Product ID enlisted from the store.

    • Product Type - Type of product. Consumables are products that can be bought again.


  • Install Subscription - Install the subscription to be listed for initialization. Install before initializing.

    • Product ID - The Product ID enlisted from the store.



Monetization

  • Purchase - Purchase the product.

    • Product ID - The Product ID enlisted from the store.


  • Subscribe - Subscribe the product.

    • Product ID - The Product ID enlisted from the store.


App Sync

  • Restore Purchases - Restore the unconsumed products that were bought.

Conditions

The following condition groups:

  • Initialization

  • App Sync

  • Debugging

  • Monetization : Purchase

  • Monetization : Subscription

  • Monetization : Universal