top of page

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

Introduction
Features

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.


Instructions
Documentation

Documentation

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

ACEs

Actions, Conditions & Expressions

Actions

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