Skip to content

[question]: Can't call optIn / optOut with 5.2.4 #1514

@sinosoidal

Description

@sinosoidal

How can we help?

Hi,

I'm having an error when compiling my project with 5.2.4:

[OneSignal.User.pushSubscription optIn];
Property 'pushSubscription' not found on object of type 'id'

[OneSignal.User.pushSubscription optOut];
Property 'pushSubscription' not found on object of type 'id'

I've tried the help of google, chat gpt, your migration guide but can't find a solution for this problem.

Can you please help me? Thanks!

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