Skip to content

Commit db3dd05

Browse files
Merge pull request #2 from CoderGamester/develop
Release 0.1.2
2 parents 6636bbe + f47a862 commit db3dd05

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,15 @@ 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.1.2] - 2020-08-02
8+
9+
**Fixed**:
10+
- Package now working properly on Android
11+
712
## [0.1.1] - 2020-07-31
813

914
**Fixed**:
10-
- Package now working properly with iOS
15+
- Package now working properly on iOS
1116

1217
## [0.1.0] - 2020-07-30
1318

Runtime/NativeUiService.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ public static void ShowAlertPopUp(bool isAlertSheet, string title, string messag
7474
#elif UNITY_ANDROID
7575
using (var unityPlayer = new AndroidJavaClass("com.unity3d.player.UnityPlayer"))
7676
using (var unityActivity = unityPlayer.GetStatic<AndroidJavaObject>("currentActivity"))
77-
using (var alertDialogClass = new AndroidJavaClass("android.app.AlertDialog"))
78-
using (var alertDialogBuilder = alertDialogClass.CallStatic<AndroidJavaObject>("Builder", unityActivity))
77+
using (var alertDialogBuilder = new AndroidJavaObject("android.app.AlertDialog.Builder", unityActivity))
7978
using (var alertDialog = alertDialogBuilder.CallStatic<AndroidJavaObject>("create"))
8079
{
8180
alertDialog.Call("setTitle", title);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "com.gamelovers.nativeui",
33
"displayName": "Native UI",
4-
"version": "0.1.1",
4+
"version": "0.1.2",
55
"unity": "2019.4",
66
"description": "This package provides the OS functionality to show the native UI alerts, Game Review PopUp and message Toasts",
77
"type": "library"

0 commit comments

Comments
 (0)