/Unity-Native-Toasts

A Unity plugin to show native toasts on iOS and Android

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

Unity-Native-Toasts

Unity-Native-Toasts is a plugin to display toasts on iOS and Android.

openupm

Social

Support

All of these projects are made during my free time. If you'd like to support me, you can do it whether by sponsoring me on GitHub or by donating via PayPal

Changes

Watch this repository to be notified of new releases!

What's New? CHANGELOG

Contribution

For contributing please read CONTRIBUTING.md

System Requirements

Unity 2018.3.14f1 or later. Older versions may work, feel free to test!

Examples

Examples can be found at Unity-Native-Example-Project

Installation

For Unity 2018.3 or later (Using OpenUPM) openupm

This package is available on OpenUPM.
You can install it via openupm-cli.

openupm add com.unitynative.toasts

For Unity 2018.3 or later (Using Unity Package Manager)

Add this to the projects manifest.json

"com.unitynative.toasts" : "https://github.com/NicholasSheehan/Unity-Native-Toasts"

To update the package, change suffix #release/{version} to the target version.

  • e.g. "com.unitynative.toasts" : "https://github.com/NicholasSheehan/Unity-Native-Toasts#release/v1.0.0"

Or, use UpmGitExtension to install and update the package.

For Unity 2018.2

Unity 2018.2 supports embedded packages.

  1. Download a source code zip file from Releases page
  2. Extract it
  3. Import it under Packages directory in your Unity project

Features

  • Popup a toast with custom text for either 2 seconds or 3.5 seconds

Roadmap

  • Look into setting the location of the toasts
  • Add screenshots / gifs in readme