View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0
- Last updated
- First released
- Unity version
- 6000.0.58 or later
- Package size
- 14 KB
- Files
- 8
- Favorites
- 6
- Views in the past week
- 7
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- Free on
Keywords
- Search for alert dialog
- Search for async alert
- Search for unity mobile
- Search for Cross Platform
- Search for android alert
- Search for native message box
- Search for popup dialog
- Search for confirmation dialog
- Search for native alert
- Search for system dialog
- Search for ios alert
- Search for mobile alert
Native Alert PopUp for Android™ & iOS
Bring true native popup alerts to Unity for Android™ and iOS. Native Alerts lets you display confirmation, information, and warning dialogs that automatically adapt to system Light/Dark mode.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 1
Native Alert PopUp for Android™ & iOS video 1
About this asset
Native Alert is a lightweight Unity plugin that provides fully native popup alerts for both Android™ and iOS without requiring any external libraries, Gradle setup, or Java/Kotlin code.
Every alert is rendered using the platform’s real UI components (AlertDialog on Android™ and UIAlertController on iOS), guaranteeing an authentic and future-proof look that matches the user’s device and system theme.
Ideal for confirmation dialogs, warnings, simple prompts, and system messages — all accessible from a single, async Unity API.
Key highlights:
- Automatic Dark/Light/System theme detection.
- Supports up to 3 buttons (OK, Cancel, and an optional extra).
- No Gradle/Kotlin dependencies — pure C#/Objective-C++.
- Seamless async/await API: int result = await NativeAlert.ShowAsync(...).
- Small footprint, zero configuration.
- Works flawlessly with IL2CPP and Android™/iOS builds.
- Includes demo scene and source code.
Use Cases:
- Confirmations (“Are you sure?”)
- Error or information messages
- System-like alerts that blend with device UI
- Mobile games or apps needing native consistency
Android is a trademark of Google LLC.
From the publisher's Asset Store listing.
Technical details
Documentation
https://github.com/way2tushar/Native-Alert-PopUp-for-Android---iOS
Supported Platforms:
- Android™ (API 21 and above)
- iOS (11 and above, optimized for iOS 13+ themes)
- Unity 2021.3 or newer
Implementation:
- Android™: AlertDialog.Builder (System, Light, Dark)
- iOS: UIAlertController with optional theme override (Dark/Light/System)
- No third-party dependencies
- Compatible with both Mono and IL2CPP scripting backends
Folder Structure:
Assets/way2tushar/NativeAlerts/
├── Runtime/
│ ├── NativeAlert.cs
│ ├── NativeAlertBridge.cs
├── iOS/
│ ├── NativeAlerts.h
│ ├── NativeAlerts.mm
├── Samples~/
│ ├── AlertDemo.cs
└── README.md
Package Size:
~50 KB — extremely lightweight.
License:
Royalty-free for commercial and personal projects.
Compatibility
| Unity version | Built-in | URP | HDRP |
|---|---|---|---|
| 6000.0.58f2 | Compatible | Compatible | Compatible |
As listed on the Asset Store.