You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@TimmyBest Per the OneSignal 2.x.x to 3.x.x migration guide the OneSignal.GetPermissionSubscriptionState(); has been split up into different methods. Please see the guide for each conversion you should use.
If you see OneSignal.GetPermissionSubscriptionState(); anywhere in the OneSignal guides still please share so we can correct them.
The Xcode screenshot looks only to be a warning, not a compile or runtime error. If you use notifications from other libraries test to ensure they are still working and check for updates from them if they are not.
jkasten2
changed the title
[Bug]: The code provided in the tutorial doesn't compile. The Xcode complains with a deprecated method.
[Bug]: Code in tutorial references old 2.x.x method GetPermissionSubscriptionState
Jun 28, 2022
What happened?
The code provided in the tutorial doesnt compile. The Xcode complains with a deprecated method.
See screenshots here. Unity version 2020.3.32
https://drive.google.com/drive/folders/1AiKLfFIELVVLbgYwlrb11vIIbKxfu7GT?usp=sharing
Edit: attachment directly added by @jkasten2:

Steps to reproduce?
What did you expect to happen?
To have no errors and for the example snippet code to compile.
Unity version
2020.3.32
OneSignal Unity SDK version
3.0.2
Platform
iOS
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: