Native Dialogs for Android & iOS with Editor dialog View on Asset Store (opens in new tab)

Package details

Latest version
1.0.1
Last updated
First released
Unity version
2020.3.27 or later
Package size
341 KB
Files
9
Favorites
4
Views in the past week
6

Price tracking

Last checked
Tracked since
Lowest recorded
$4.99 on

Keywords

Native Dialogs for Android & iOS with Editor dialog

by Protorius42 (opens in new tab)

1 rating, too few to average

Native Dialogs for Android™ & iOS™ with Editor dialog for Unity™

Price $4.99

Buy on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for Native Dialogs for Android & iOS with Editor dialog, 6 months Current $4.99; lowest $4.99; highest $4.99 in this period. $0 $2.5 $5 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 4

Native Dialogs for Android & iOS with Editor dialog screenshot 1

Native Dialogs for Android & iOS with Editor dialog screenshot 1

About this asset

You can fast and easily show native alert dialogs with buttons such as alert, confirmation, question, and 3 buttons dialogs.

We've added support for HTML links and formatted text in the native dialog! You can now tap on links to open them directly. This new feature is available on both platforms.

For Android™ users, it's now possible to close a dialog box by tapping outside of it.

We hope the asset will save you lots of time and energy and you can focus on game/application development.

From the publisher's Asset Store listing.

Technical details

### Features

  • easy to use and implement, source code included
  • no dependencies
  • error safe handling
  • using async/await pattern for API methods
  • unity editor dialog for unity runtime
  • well-tested code

### How to use

https://gist.github.com/protorius42/d9175bdfc62629c33b4927f844e2eb6d

<code>

using (NativeAlertDialog dialog = new NativeAlertDialog())

{

DialogParams dialogParams = new DialogParams("<<Input your TITLE here>>", "<<Input your MESSAGE here>>");

dialog.ShowNativeDialogAsync(dialogParams).ContinueWith(task =>

{

if (task.Result.Item2 != ButtonErrorCode.NoError)

{

//your error handling here

}

else

{

//check your the pressed button here

}

});

}

</code>

Compatibility

Render pipelines supported in each Unity version
Unity version Built-in URP HDRP Custom
6000.0.44f1 Compatible Compatible Compatible Compatible
2020.3.27f1 Compatible Compatible Compatible Compatible

As listed on the Asset Store.