Skip to content

Commit 864d2f3

Browse files
Merge pull request #7 from CoderGamester/develop
Release 0.1.7
2 parents 8d26671 + f358498 commit 864d2f3

File tree

9 files changed

+10
-287
lines changed

9 files changed

+10
-287
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ 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.7] - 2020-09-24
8+
9+
**Fixed**:
10+
- Fixed unreached code compiler warning
11+
712
## [0.1.6] - 2020-08-03
813

914
**Fixed**:

Documentation.meta

Lines changed: 0 additions & 8 deletions
This file was deleted.

Documentation/Notification Service.md

Lines changed: 0 additions & 169 deletions
This file was deleted.

Documentation/Notification Service.md.meta

Lines changed: 0 additions & 7 deletions
This file was deleted.

Documentation/images.meta

Lines changed: 0 additions & 8 deletions
This file was deleted.

Documentation/images/example.png

-51 KB
Binary file not shown.

Documentation/images/example.png.meta

Lines changed: 0 additions & 92 deletions
This file was deleted.

Runtime/MobileNotificationService.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,9 @@ public IGameNotification CreateNotification()
9393
{
9494
#if UNITY_EDITOR
9595
return new EditorGameNotification();
96-
#endif
96+
#else
9797
return _monoBehaviour.CreateNotification();
98+
#endif
9899
}
99100

100101
/// <inheritdoc />
@@ -107,8 +108,9 @@ public PendingNotification ScheduleNotification(IGameNotification gameNotificati
107108
gameNotification.Id = Math.Abs(DateTime.Now.ToString("yyMMddHHmmssffffff").GetHashCode());
108109
}
109110
return new PendingNotification(gameNotification);
110-
#endif
111+
#else
111112
return _monoBehaviour.ScheduleNotification(gameNotification);
113+
#endif
112114
}
113115

114116
/// <inheritdoc />

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.notificationservice",
33
"displayName": "Notification Service",
4-
"version": "0.1.6",
4+
"version": "0.1.7",
55
"unity": "2019.4",
66
"description": "This package provides an easier to use service to help manage the notification sent to mobile devices, and based on the Unity's Mobile Notifications package.\nIt allows to schedule local notifications, receive remote notifications and clear any type of notification.",
77
"dependencies": {

0 commit comments

Comments
 (0)