Native Android Toast

by leparlon

3

ToastPlugin

ToastPlugin is a Godot plugin that allows you to display native Android Toast messages from your Godot project. It connects toast callbacks via signals. The callbacks might not work perfectly on Android APIs under 30.

Source code:
https://github.com/leparlon/GodotToastPlugin

Features

  • Display native Android Toast messages
  • Supports toast callbacks via signals
  • Customizable toast duration and position

Requirements

  • Godot 4.2 or higher
  • Android API level 24 or higher (API level 30 recommended)

Installation

  1. Copy the addons/ToastPlugin folder into your Godot project's addons directory.
  2. Enable the plugin in your project settings: Project -> Project Settings -> Plugins.

Usage

Basic Usage

To display a simple toast message, you can use the show_toast method.

if Engine.has_singleton("ToastPlugin"):
    var toast_plugin = Engine.get_singleton("ToastPlugin")
    toast_plugin.show_toast("Hello, World!")

Version

1.0

Engine

4.2

Category

Misc

Download

Version1.0
Download Now

Support

If you need help or have questions about this plugin, please contact the author.

Contact Author