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?