Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
## [4.0.0-pre.1] - 2023-09-05

### Changed

- You can now only subscribe to OnNotificationReceived before calling RegisterForPushNotificationsAsync
  - Once RegisterForPushNotificationsAsync completes, OnNotificationReceived will be invoked if the app was launched from a remote notification
- Updated `com.unity.services.analytics` dependency to 5.0.0
- Updated `com.unity.services.core` dependency to 1.10.1
- Added `com.unity.mobile.notifications` version `2.2.0` as a dependency.

### Fixed

- Behaviour when the app is launched from a push notification is now consistent between iOS and Android (incoming push notification data is broadcast after RegisterForPushNotificationsAsync flow is complete)

## [3.0.1-pre.2] - 2023-08-15

### Fixed

- Bug fix for PushNotificationsService's OnNotificationReceived not being called on IOS
- Bug fix where RegisterForPushNotificationsAsync is stuck when the user disables notification settings.
  • Loading branch information
Unity Technologies committed Sep 5, 2023
1 parent 3e97b22 commit 295c6f2
Show file tree
Hide file tree
Showing 44 changed files with 753 additions and 1,231 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,27 @@ 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).

## [4.0.0-pre.1] - 2023-09-05

### Changed

- You can now only subscribe to OnNotificationReceived before calling RegisterForPushNotificationsAsync
- Once RegisterForPushNotificationsAsync completes, OnNotificationReceived will be invoked if the app was launched from a remote notification
- Updated `com.unity.services.analytics` dependency to 5.0.0
- Updated `com.unity.services.core` dependency to 1.10.1
- Added `com.unity.mobile.notifications` version `2.2.0` as a dependency.

### Fixed

- Behaviour when the app is launched from a push notification is now consistent between iOS and Android (incoming push notification data is broadcast after RegisterForPushNotificationsAsync flow is complete)

## [3.0.1-pre.2] - 2023-08-15

### Fixed

- Bug fix for PushNotificationsService's OnNotificationReceived not being called on IOS
- Bug fix where RegisterForPushNotificationsAsync is stuck when the user disables notification settings.

## [3.0.1-pre.1] - 2023-03-20

### Fixed
Expand Down
4 changes: 3 additions & 1 deletion Editor/Unity.Services.PushNotifications.Editor.asmdef
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
"Unity.Services.PushNotifications",
"Unity.Services.Core",
"Unity.Services.Core.Internal",
"Unity.Services.Core.Editor"
"Unity.Services.Core.Editor",
"Unity.Notifications.iOS",
"Unity.Notifications.Android"
],
"includePlatforms": [
"Editor"
Expand Down
Binary file modified Plugins/Android/PushNotificationsAndroidLib-release.aar
Binary file not shown.
31 changes: 30 additions & 1 deletion Plugins/Android/PushNotificationsAndroidLib-release.aar.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 0 additions & 29 deletions Plugins/iOS/PushNotificationManager.h

This file was deleted.

80 changes: 0 additions & 80 deletions Plugins/iOS/PushNotificationManager.h.meta

This file was deleted.

212 changes: 0 additions & 212 deletions Plugins/iOS/PushNotificationManager.mm

This file was deleted.

Loading

0 comments on commit 295c6f2

Please sign in to comment.