Skip to content

Integration with RevenueCat: doc compile error #108

@f3dm76

Description

@f3dm76

I'm trying to connect OneSignal with RevenueCat (https://www.revenuecat.com/docs/integrations/third-party-integrations/onesignal). I'm on step 1.1 from documentation, I have OneSignal version 3.12.10 (doc says "11.0 and above", but I hope it means minor version). SwiftUI code sample says to use this to subscribe to userID:
OneSignal.User.addObserver(self)
here is the error I get:
Type 'OneSignal' has no member 'User'
Could you please share the updated way of fetching this?

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