top of page

Mobile Enhance

The Mobile Enhance plugin is specifically designed to integrate the Enhance SDK in both Android and iOS, for games built using Construct 3 and Construct 2.


Features include advertisements with ad-network mediation, analytics, GDPR, in-app purchases and local mobile notifications.


The Mobile Enhance plugin is a c3runtime port for the Enhance SDK for the Construct 3 editor.


Note: This plugin is currently deprecated and the Enhance service has shut down, please use our own plugins in the collection since we have replacement for all features in the Enhance 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 Enhance plugin is specifically designed to integrate the Enhance SDK in both Android and iOS, for games built using Construct 3 and Construct 2.


Features include advertisements with ad-network mediation, analytics, GDPR, in-app purchases and local mobile notifications.


The Mobile Enhance plugin is a c3runtime port for the Enhance SDK for the Construct 3 editor.


Note: This plugin is currently deprecated and the Enhance service has shut down, please use our own plugins in the collection since we have replacement for all features in the Enhance SDK.


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

  • Enhance Android SDK

  • Enhance iOS SDK

  • Drag & drop cloud enhancer

  • Advertisements

  • Analytics

  • GDPR

  • In-app purchases

  • Local mobile notifications

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 Enhance plugin, you will only need to follow the steps below.

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


Instructions
Documentation

Documentation

The Mobile Enhance plugin is using the Enhance SDK to do easy SDK integration through their Cloud Enhancer.

The Enhance plugin is the original addon for Enhance SDK integration created by Enhance.co themselves. However, it doesn't have a c3runtime version at this time of writing, hence the creation of the new Mobile Enhance plugin.

ACEs

Actions, Conditions & Expressions

Actions

The following action groups:

  • Ads

  • Analytics

  • Local Notifications

  • In-App Purchases

  • GDPR

Ads

  • Show interstitial ad - Try to show an interstitial ad.

    • Placement - Placement of the ad (optional).


  • Show rewarded ad - Try to show a rewarded ad.

    • Placement - Placement of the ad. Leave default if you are unsure what to put here.


  • Show banner ad - Try to show a banner ad.

    • Position - Position on the screen.

    • Placement - Placement of the ad (optional).



Analytics

  • Log simple event - Send a simple event to the hooked analytics networks.

    • Event Name - Name of the event.


  • Log event - Send an event to the hooked analytics networks.

    • Event Name - Name of the event.

    • Parameter Key - Key of the event's parameter.

    • Parameter Value - Value of the event's parameter.


Local Notifications

  • Request permission - Request a permission from the user to schedule local notifications.

  • Enable local notification - Enable a new local notification.

    • Title - Title of the notification.

    • Message - Message of the notification.

    • Delay - Delay of the notification (in seconds).


  • Disable local notification - Disable any local notification.


In-App Purchases

  • Attempt purchase - Start the purchase flow for a given product.

    • Product ID - Unique Product ID.


  • Get display price - Get a string containing the localised display price, e.g. 'Free', '$1.23', '¥1234', '1234,56 zł'.

    • Product ID - Unique Product ID.

    • Default price - Default price of the product.


  • Check if item is owned - Check if the user has purchased a certain product and still has it in his inventory.

    • Product ID - Unique Product ID.


  • Get item count - Get the number of the given product the user owns, or 0 if none. This can be useful for consumables.

    • Product ID - Unique Product ID.


  • Consume purchase - Consume the given product from the users inventory.

    • Product ID - Unique Product ID.


  • Manually restore purchases - Restore purchases manually.


  • Get display title - Get a string containing the localised display title.

    • Product ID - Unique Product ID.

    • Default title - Default title of the product.


  • Get display description - Get a string containing the localised display description.

    • Product ID - Unique Product ID.

    • Default description - Default description of the product.


  • Refresh status - Check if In-App Purchases are enabled in the app.

GDPR

  • Requires data consent opt-in - This method returns true to callback method when any kind of opt-in is required by services that are included in your app. This will check if the user is within a country where GDPR regulations are enforced, and whether you have any services that require opt-in which are not already opted into. If this method returns false to callback then all of your SDKs will be operating as normal, or the user has explicitly opted out of data collection/processing.

  • Service terms opt-in - Calling this method will opt the current user in to using the services that you selected during the Enhance process. This should be used for any services which don't provide their own opt-in dialogs. You can optionally pass in an array of service IDs to be opted into. You should only call this method after showing a clear consent dialog which contains all of the details regarding consent required by the affected SDKs.

    • SDKs list - JSON Array of SDK IDs, e.g. "[""unity"", ""admob""]" (optional).


  • Show service opt-in dialogs - This method will instruct any services which contain built-in opt-in dialogs to display them. The Enhance process will inform you about which services allow this type of opt-in. Using SDKs with built-in dialogs is the easiest way to ask your users whether they'd like to opt-in.

    • SDKs list - JSON Array of SDK IDs, e.g. "[""unity"", ""admob""]" (optional).


  • Service terms opt-out - This explicit opt-out will instruct any GDPR compliant services that you're using that the user has specifically declined an opt-in to their data collection and processing. It can also be used to revert a previous opt-in decision by the user - if the user chooses to revoke their consent.

Conditions

The following condition groups:

  • Ads

  • Local Notifications

  • In-App Purchases

  • GDPR