Mobile Toast

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


The Mobile Toast plugin shows native notification messages used to display information for a short period of time, then disappears.


The Mobile Toast plugin is useful for showing transaction notification messages, including in-app purchases or in-app subscription messages, save completion messages, update completion messages, error messages, etc.

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


The Mobile Toast plugin shows native notification messages used to display information for a short period of time, then disappears.


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

  • Android toast notifications

  • iOS toast notifications

  • Toast templates

  • Easy toast templates

  • Premade toast settings

  • Customizable timing and sizes

  • Multiple variations

  • Toast styling

  • Including corner radius,

  • opacity

  • text color

  • size

  • background color

  • horizontal rule radius

  • vertical rule radius

  • Easy mobile toast notifications

  • Advanced mobile toast notifications.

  • Manual toast options

  • Timing and position options.

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

  • Windows (Ready)


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

 
 

How to use?

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

1. The first step is to add the Mobile Toast 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:

  • Easy Toast

  • Templates Toast

  • Advanced Toast

  • Styling

Easy Toast

  • Show - Show a Toast.

  • Message - The Message in the Toast.

  • Duration - The Duration of the toast on the screen.

  • Position - The Position of the toast on the screen.

  • Hide - Hide all open Toast manually.


Templates Toast

  • Show Short Top - Show a Short Top Toast.

  • Message - The Message in the Toast.


  • Show Short Center - Show a Short Center Toast.

  • Message - The Message in the Toast.


  • Show Short Bottom - Show a Short Bottom Toast.

  • Message - The Message in the Toast.


  • Show Long Top - Show a Long Top Toast.

  • Message - The Message in the Toast.


  • Show Long Center - Show a Long Center Toast.

  • Message - The Message in the Toast.


  • Show Long Bottom - Show a Long Bottom Toast.

  • Message - The Message in the Toast.


Advanced Toast

  • Advanced Show - Show a Toast. With advanced options.

  • Message - The Message in the Toast.

  • Duration - Either "short", "long" or a number in milliseconds(ms).

  • Position - The Position of the toast on the screen.

  • Offset Y - Add or Subtract Pixels to move up or down the toast.


Styling

  • Set Opacity - Set the Toast Styling, Opacity.

  • Opacity - "0.0" (transparent) to 1.0 (opaque). Default: "0.8".


  • Set Background Color - Set the Toast Styling, Background Color.

  • Background Color - Make sure you use "#RRGGBB". Default: "#333333".


  • Set Text Color - Set the Toast Styling, Text Color.

  • Text Color - Make sure you use "#RRGGBB". Default: "#FFFFFF".


  • Set Text Size - Set the Toast Styling, Text Size.

  • Text Size - Default is approximately "13".


  • Set Corner Radius - Set the Toast Styling, Corner Radius.

  • Corner Radius - Minimum is "0" (square). iOS default "20", Android default "100".


  • Set Horizontal Radius - Set the Toast Styling, Horizontal Radius.

  • Horizontal Padding - iOS default "16", Android default "50".


  • Set Vertical Radius - Set the Toast Styling, Vertical Radius.

  • Vertical Padding - iOS default "12", Android default "30".​


  • Reset Styling - Clear the Styling previously made and restore styling to default.

Conditions

The following condition groups:

  • Mobile Toast

press to zoom

press to zoom
1/1

Mobile Toast

  • On Show Toast - Triggered when a toast has been shown successfully.

  • On Show Toast Failed - Triggered when a toast has been shown successfully.

  • On Touch Toast - Triggered when a toast has been touched.

  • On Hide Toast - Triggered when a toast has been hidden.

Expressions

press to zoom

press to zoom
1/1

The following expression groups:

  • General

  • Debugging

General

  • Message - Return the message on any shown event.


Debugging

  • ErrorMessage - Return the error message on any show event failed.

Object   Properties

Plugin Properties

1/0
 
 

Showcase

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




 

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