OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your Unity app with OneSignal. https://onesignal.com
Other
222
stars
61
forks
source link
[Feat] Bump OneSignal Android and iOS SDK versions #743
Updates included OneSignal Android SDK from 5.1.13 to 5.1.17 and OneSignal iOS SDK from 5.2.0 to 5.2.2
Details
Motivation
Applies fixes made in the native SDKs to the Unity wrapper SDK.
Scope
Updates included Android SDK from 5.1.13 to 5.1.17
Fixes Xiaomi notification click not foregrounding app
Fixes FCM push token not being refreshed
Poll for notification permission changes to detect permission change when prompting outside of OneSignal
Cold start creates new session and refreshes the user from the server
Immediately process pending operations when privacy consent goes from false to true
Fixes OneSignal.Notifications.RequestPermissionAsync() not firing when permission was already granted
Fixes Operation Model Store adding duplicate operations when the same ones that were previously added to the store and persisted, are re-read from cache
Fixes a bug causing clicking an unexpanded group notification results in only registering the click result for the final notification in the group
Tested OneSignal initialization, app build with Unity 2022.3.10f1 of the OneSignal example app on a emulated Pixel 4 with Android 12 and a physical iPhone 12 with iOS 17.5.1.
Affected code checklist
[ ] Notifications
[ ] Display
[ ] Open
[ ] Push Processing
[ ] Confirm Deliveries
[ ] Outcomes
[ ] Sessions
[ ] In-App Messaging
[ ] REST API requests
[ ] Public API changes
Checklist
Overview
[x] I have filled out all REQUIRED sections above
[x] PR does one thing
If it is hard to explain how any codes changes are related to each other then it most likely needs to be more than one PR
[x] Any Public API changes are explained in the PR details and conform to existing APIs
Testing
[x] I have included test coverage for these changes, or explained why they are not needed
[x] All automated tests pass, or I explained why that is not possible
[x] I have personally tested this on my device, or explained why that is not possible
Final pass
[x] Code is as readable as possible.
Simplify with less code, followed by splitting up code into well named functions and variables, followed by adding comments to the code.
[x] I have reviewed this PR myself, ensuring it meets each checklist item
WIP (Work In Progress) is ok, but explain what is still in progress and what you would like feedback on. Start the PR title with "WIP" to indicate this.
Description
One Line Summary
Updates included OneSignal Android SDK from 5.1.13 to 5.1.17 and OneSignal iOS SDK from 5.2.0 to 5.2.2
Details
Motivation
Applies fixes made in the native SDKs to the Unity wrapper SDK.
Scope
Updates included Android SDK from 5.1.13 to 5.1.17
Updates included iOS SDK from 5.2.0 to 5.2.2
Testing
Manual testing
Tested OneSignal initialization, app build with Unity 2022.3.10f1 of the OneSignal example app on a emulated Pixel 4 with Android 12 and a physical iPhone 12 with iOS 17.5.1.
Affected code checklist
Checklist
Overview
Testing
Final pass
This change is