Mobile Enhance

The Mobile Enhance add​on implements the Enhance SDK into your mobile application on both Android and iOS.

Features include Advertisements with Admob Ads and ad-network mediation, Analytics, GDPR, In-App-Purchases and Local Notifications.

It's a c3runtime port of the Enhance SDK for the Construct 3 Editor.

The best benefit for this addon is that it supports all  runtimes of Construct 3. Both, Construct 2 runtime and Construct 3 runtime.

It will integrate the native mobile features into your mobile application through the Enhance SDK.

Intstructions

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

Enhance Configuration

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

  • Enhance SDK Tutorial for Construct 3 and Construct 2, click here.

  • Enhance SDK Documentation, click here.

 

The Enhance addon is the original addon for Enhance SDK integration created by Enhance.co themselves. Although, it doesn't have a c3runtime version, which gave rise to the Mobile Enhance addon.

  • Enhance.co's addon for Construct 3 : c2runtime and Construct 2, click here.

Actions, Conditions & Expressions

Actions

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

Ads :

  • On interstitial ad success - Triggered when the ad is available and successfully displayed.

  • On interstitial ad failed - Triggered when Enhance failed to show the ad (e.g. received no fill error from the ad network).

  • On rewarded ad success - Triggered when the ad is available and sucessfully displayed.

  • On rewarded ad failed - Triggered when Enhance failed to show the ad (e.g. received no fill error from the ad network).

  • On reward granted - Triggered when the reward was granted to the user.

  • On reward declined - Triggered when the reward was declined by the user.

  • On reward unavailable - Triggered when the reward is unavailable.

  • On banner ad success - Triggered when the ad is available and sucessfully displayed.

  • On banner ad failed - Triggered when Enhance failed to show the ad (e.g. received no fill error from the ad network).

  • Is banner ad shown - Check whether a banner ad is currently displayed.

  • On offerwall success - Triggered when the offerwall is available and sucessfully displayed.

  • On offerwall failed - Triggered when Enhance failed to show the offerwall (e.g. received no fill error from the ad network).

  • On offerwall currency granted - Triggered when the user finishes an offerwall and receives a reward from it.

  • On special offer success - Triggered when the special offer is available and sucessfully displayed.

  • On special offer failed - Triggered when Enhance failed to show the special offer (e.g. received no fill error from the ad network).

Local Notifications :

  • On permission granted - Triggered when permission to show local notifications is granted.

  • On permission refused - Triggered when permission to show local notifications is refused.

  • Is permission granted - Check whether the permission to show local notifications is granted.


In-App Purchases :

  • Is supported - Check whether you can use In-App Purchases. First execute 'Refresh status'.

  • On purchase success - Triggered when a purchase is finished successfully.

    • Product ID - Unique Product ID.

  • On purchase failed - Triggered when a purchase failed.

    • Product ID - Unique Product ID.

  • On display price received - Triggered when a display price of the product is received.

    • Product ID - Unique Product ID.

  • On item is owned - Triggered when the item is owned.

    • Product ID - Unique Product ID.

  • On item is not owned - Triggered when the item is NOT owned.

    • Product ID - Unique Product ID.

  • On item count received - Triggered when an owned count of the item is received.

    • Product ID - Unique Product ID.

  • On consume success - Triggered when consumption of the item succeeded.

    • Product ID - Unique Product ID.

  • On consume failed - Triggered when consumption of the item failed.

    • Product ID - Unique Product ID.

  • On restore purchases success - Triggered when restore of purchases succeeded.

  • On restore purchases failed - Triggered when restore of purchases failed.

  • On display title received - Triggered when a display title of the product is received.

    • Product ID - Unique Product ID.

  • On display description received - Triggered when a display description of the product is received.

    • Product ID - Unique Product ID.

  • On status received - Triggered when IAP status is received after calling 'Refresh IAP status' action.


GDPR :

  • On service opt-in requirement - Invoked after a response for 'Requires data consent opt-in' comes in. Use 'Is service opt-in required' to fetch the response.

  • Is service opt-in required - True when any kind of opt-in is required by services that are included in your app.

  • On opt-in dialogs complete - Invoked after all built-in opt-in dialogs are closed.

Expressions

Ads :

  • LastRewardType - Type of the latest granted reward.

  • LastRewardValue - Value of the latest granted reward.

  • LastCurrencyAmount - Amount of the latest granted currency.

  • REWARDED_PLACEMENT_NEUTRAL - Neutral placement.

  • REWARDED_PLACEMENT_SUCCESS - Success placement.

  • REWARDED_PLACEMENT_HELPER - Helper placement.

  • INTERSTITIAL_PLACEMENT_DEFAULT - Interstitial default placement.

  • PLACEMENT_DEFAULT - Default placement.

  • REWARD_TYPE_ITEM - Reward type.

  • REWARD_TYPE_COINS - Reward type.


In-App Purchases :

  • LastDisplayPrice - Last received display price.

  • LastOwnedItemCount - Last received owned item count.

  • LastDisplayTitle - Last received display title.

  • LastDisplayDescription - Last received display description.

Features

The Mobile Enhance is an addon that integrates the native mobile Enhance SDK into an application made by Construct 3 with support for both android and ios, and support for both c2runtime and c3runtime.
It allows you to implement lots of important native mobile features through Enhance's Cloud Service.

Features :

  • Full native Android SDK integration.

  • Full native iOS SDK integration.

  • Enhance SDK drag & drop cloud enhancer.

  • Full of native-mobile SDK integrations..

  • Easy to use and no programming required.

  • Well-supported and fully tested.

  • Ads with Admob and ad-network mediation.

  • Analytics

  • GDPR

  • In-application purchases.

  • Local Notifications

  • Construct 2 editor (Enhance).

  • Construct 3 editor support.

  • Construct 2 runtime (Enhance).

  • Construct 3 runtime.

  • C3 Build Service, PhoneGap.

  • Cordova CLI & Android Studio.

 
 
 

Game Project

Sample Setup Project

Specifications

  • Instructions - The sample project has comments and instructions on how to use the addon and its features.

  • A.C.E. Coverage - It covers the implementation of each action, condition and expression.

  • Tips and Tricks - It provides some tips and tricks to a better use of the addon and of the event-sheet system alongside it.

Supporters

Only

 
 

Get the tools

for your pro games!

Constuct Master Collection - Itch.io
Constuct Master Collection - Discord
Constuct Master Collection - Construct 3

© Construct Master Collection 2020 • All rights reserved

Contact Information: