Mobile Badge

The Mobile Badge plugin is specifically designed to implement native mobile badge notification features in both Android and iOS, for games built using Construct 3 and Construct 2.


Mobile application icon badges tell users when they have unread notifications. This includes the number of unread notifications as well.


Sample use cases include native mobile badges for unread message or event notifications.


Note: This plugin is currently deprecated, please use plugins that have this built-in like the Mobile OneSignal and Mobile Notification plugins.

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 Badge plugin is specifically designed to implement native mobile badge notification features in both Android and iOS, for games built using Construct 3 and Construct 2.


Mobile application icon badges tell users when they have unread notifications. This includes the number of unread notifications as well.


Sample use cases include native mobile badges for unread message or event notifications.


Note: This plugin is currently deprecated, please use plugins that have this built-in like the Mobile OneSignal and Mobile Notification plugins.


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

  • Android badge notifications

  • iOS badge notifications

  • Badge increment

  • Badge decrement

  • Set badge count

  • Clear badge count

  • Built-in permission request and check.

  • Badge indicator styles

  • Default badge indicator

  • Circular badge indicator

  • Download progress badge indicator

  • Easy to use with only basic events.

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 (c2runtime)

  • Construct 2

 
 

How to use?

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

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


 
 

Documentation

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

 

Actions, Conditions & Expressions

Actions

press to zoom

press to zoom
1/1

The following action groups:

  • Add or Subtract

  • General

  • Requirements

Add or Subtract

  • Increment Badge - Increase the badge number.

  • Count - The number count of the badge charge.


  • Decrement Badge - Decrease the badge number.

  • Count - The number count of the badge charge.


General

  • Clear Badge - Clear out the badge number manually.

  • Set Badge - Set the Badge number.

  • Count - The number count of the badge charge.


  • Set Indicator - Set the badge indicator, default is "Badge". Only available on OSX.

  • Indicator - "Badge" is the default style for both Android and IOS. The others are OSX special features.


Requirements

  • Request Permission - This is already automated but this allows to manually request permission for badge notifications.

Conditions

The following condition groups:

  • General

  • Requirements

press to zoom

press to zoom
1/1

General

  • On Add Badge - Triggered when the badge has been successfully incremented.

  • On Subtract Badge - Triggered when the badge has been successfully decremented.

  • On Set Badge - Triggered when the badge has been successfully set.



Requirements

  • Is Permission Granted - Check if Badge Notifications permission has already been granted.

Expressions

press to zoom

press to zoom
1/1

The following expression groups:

  • General

General

  • GetBadge - Get the Badge number.

Object   Properties

Plugin Properties

press to zoom

press to zoom
1/1

The following property groups:

  • Configuration

Configuration - The options to set how the mobile badge will behave.

  • Auto-Clear - To clear the badge number automatically if the user taps the app icon.

  • Enabled

  • Disabled


 
 

Showcase

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

 

Game Projects 

Instructions Kit

Construct 3 Project
Construct 3 Project

press to zoom
Construct 2 Project
Construct 2 Project

press to zoom
Construct 3 Project
Construct 3 Project

press to zoom
1/2

Specifications

  • Instructions - The game project contains instructions and steps on how to use the addon and its features.

  • Action, Conditions and Expressions - It covers the implementation of each action, condition and expression.

  • Tips and Tricks - It provides some tips and tricks on the recommended ways of using the addon.

Supporters

Only