Skip to content

Commit 29dd611

Browse files
Merge pull request #10 from CoderGamester/develop
Release 0.2.5
2 parents 3081c14 + 3cbe803 commit 29dd611

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ All notable changes to this package will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7-
## [0.2.3] - 2020-09-24
7+
## [0.2.5] - 2021-01-15
8+
9+
**Fixed**:
10+
- Fixed crash when showing Alert buttons on the editor
11+
12+
## [0.2.4] - 2020-09-24
813

914
**Fixed**:
1015
- Fixed compiler warning for not using native code

Runtime/NativeUiService.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,8 @@ public static void ShowToastMessage(string message, bool isLongDuration)
102102
#endif
103103
}
104104

105-
#if UNITY_EDITOR
106-
#elif UNITY_IOS
107-
public delegate void AlertButtonDelegate(string buttonText);
105+
#if UNITY_IOS
106+
internal delegate void AlertButtonDelegate(string buttonText);
108107

109108
[System.Runtime.InteropServices.DllImport("__Internal")]
110109
private static extern void AlertMessage(bool isSheet, string title, string message, string[] buttonsText,

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "com.gamelovers.nativeui",
33
"displayName": "Native UI",
4-
"version": "0.2.4",
5-
"unity": "2019.4",
4+
"version": "0.2.5",
5+
"unity": "2020.3",
66
"description": "This package provides the OS functionality to show the native UI alerts, Game Review PopUp and message Toasts",
77
"type": "library"
88
}

0 commit comments

Comments
 (0)