Skip to content

Commit

Permalink
Merge pull request #10 from CoderGamester/develop
Browse files Browse the repository at this point in the history
Release 0.2.5
  • Loading branch information
CoderGamester authored May 3, 2021
2 parents 3081c14 + 3cbe803 commit 29dd611
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ All notable changes to this package will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [0.2.3] - 2020-09-24
## [0.2.5] - 2021-01-15

**Fixed**:
- Fixed crash when showing Alert buttons on the editor

## [0.2.4] - 2020-09-24

**Fixed**:
- Fixed compiler warning for not using native code
Expand Down
5 changes: 2 additions & 3 deletions Runtime/NativeUiService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,8 @@ public static void ShowToastMessage(string message, bool isLongDuration)
#endif
}

#if UNITY_EDITOR
#elif UNITY_IOS
public delegate void AlertButtonDelegate(string buttonText);
#if UNITY_IOS
internal delegate void AlertButtonDelegate(string buttonText);

[System.Runtime.InteropServices.DllImport("__Internal")]
private static extern void AlertMessage(bool isSheet, string title, string message, string[] buttonsText,
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "com.gamelovers.nativeui",
"displayName": "Native UI",
"version": "0.2.4",
"unity": "2019.4",
"version": "0.2.5",
"unity": "2020.3",
"description": "This package provides the OS functionality to show the native UI alerts, Game Review PopUp and message Toasts",
"type": "library"
}

0 comments on commit 29dd611

Please sign in to comment.