Skip to content

Release 0.1.7 #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ 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.1.7] - 2020-09-24

**Fixed**:
- Fixed unreached code compiler warning

## [0.1.6] - 2020-08-03

**Fixed**:
Expand Down
8 changes: 0 additions & 8 deletions Documentation.meta

This file was deleted.

169 changes: 0 additions & 169 deletions Documentation/Notification Service.md

This file was deleted.

7 changes: 0 additions & 7 deletions Documentation/Notification Service.md.meta

This file was deleted.

8 changes: 0 additions & 8 deletions Documentation/images.meta

This file was deleted.

Binary file removed Documentation/images/example.png
Binary file not shown.
92 changes: 0 additions & 92 deletions Documentation/images/example.png.meta

This file was deleted.

6 changes: 4 additions & 2 deletions Runtime/MobileNotificationService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,9 @@ public IGameNotification CreateNotification()
{
#if UNITY_EDITOR
return new EditorGameNotification();
#endif
#else
return _monoBehaviour.CreateNotification();
#endif
}

/// <inheritdoc />
Expand All @@ -107,8 +108,9 @@ public PendingNotification ScheduleNotification(IGameNotification gameNotificati
gameNotification.Id = Math.Abs(DateTime.Now.ToString("yyMMddHHmmssffffff").GetHashCode());
}
return new PendingNotification(gameNotification);
#endif
#else
return _monoBehaviour.ScheduleNotification(gameNotification);
#endif
}

/// <inheritdoc />
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.gamelovers.notificationservice",
"displayName": "Notification Service",
"version": "0.1.6",
"version": "0.1.7",
"unity": "2019.4",
"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.",
"dependencies": {
Expand Down