Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nicholassheehan/unity-native-toasts
A Unity plugin to show native toasts on iOS and Android
https://github.com/nicholassheehan/unity-native-toasts
android ios toasts unity unity-plugin
Last synced: about 1 month ago
JSON representation
A Unity plugin to show native toasts on iOS and Android
- Host: GitHub
- URL: https://github.com/nicholassheehan/unity-native-toasts
- Owner: NicholasSheehan
- License: mit
- Created: 2020-03-28T20:21:35.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-11-24T20:04:05.000Z (about 1 year ago)
- Last Synced: 2024-11-12T17:03:58.586Z (about 1 month ago)
- Topics: android, ios, toasts, unity, unity-plugin
- Language: Java
- Homepage:
- Size: 191 KB
- Stars: 41
- Watchers: 3
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
🍞 Unity-Native-Toasts 🍞️
Unity-Native-Toasts is a plugin to display toasts on iOS and Android.
[![openupm](https://img.shields.io/npm/v/com.unitynative.toasts?label=openupm®istry_uri=https://package.openupm.com)](https://openupm.com/packages/com.unitynative.toasts/)
📱 Social 📱
![GitHub](https://img.shields.io/github/followers/NicholasSheehan?label=Follow%20on%20GitHub&style=social) ![Twitter](https://img.shields.io/twitter/follow/NSheehanDev?label=Follow%20on%20Twitter)
👊 Support 👊
All of these projects are made during my free time, with more being added over time. If you'd like to support me, you can do it either by [sponsoring me on GitHub](https://github.com/users/NicholasSheehan/sponsorship) or by donating via PayPal
[![](https://img.shields.io/badge/paypal-donate-yellow.svg)](https://www.paypal.me/NicholasSheehan)
📝 Changelog 📝
### [What's New? Check the CHANGELOG](CHANGELOG.md)
Watch this repository to be notified of new releases! ![](https://img.shields.io/github/watchers/NicholasSheehan/Unity-Native-Toasts?style=social)
🤝 Contribution 🤝
For contributing please read [CONTRIBUTING.md](CONTRIBUTING.md)
Don't worry about getting it 100% right, I can tidy it up as I review
🖥️ 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](https://github.com/NicholasSheehan/Unity-Native-Example-Project)
🛠️ Installation 🛠️
Unity 2019.3 or later (Using Unity Package Manager)
![AddPackageFromGitURL](Images~/AddPackageFromGitURL.PNG)
`https://github.com/NicholasSheehan/Unity-Native-Toasts.git#v1.0.4`
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.git"
```To update the package, change suffix `#{version}` to the target version.
* e.g. `"com.unitynative.toasts" : "https://github.com/NicholasSheehan/Unity-Native-Toasts.git#v1.0.4"`
Unity 2018.3 or later (Using OpenUPM)
[![openupm](https://img.shields.io/npm/v/com.unitynative.toasts?label=openupm®istry_uri=https://package.openupm.com)](https://openupm.com/packages/com.unitynative.toasts/)
This package is available on [OpenUPM](https://openupm.com)
You can install it via [openupm-cli](https://github.com/openupm/openupm-cli)
```
openupm add com.unitynative.toasts
```Unity 2018.2
`Unity 2018.2` supports embedded packages.
1. Download a source code zip file from the [Releases](https://github.com/NicholasSheehan/Unity-Native-Toasts/releases) page
2. Extract it
3. Import it under the `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
* Look into custom display durations