Skip to content

[Bug]: Code in tutorial references old 2.x.x method GetPermissionSubscriptionState #517

@TimmyBest

Description

@TimmyBest

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:
Screenshot 2022-06-17 at 23 11 53

Steps to reproduce?

Build on unity for iOS

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

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions