OneSignal-XCFramework icon indicating copy to clipboard operation
OneSignal-XCFramework copied to clipboard

Integration with RevenueCat: doc compile error

Open f3dm76 opened this issue 1 year ago • 2 comments

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?

f3dm76 avatar Nov 28 '24 08:11 f3dm76

Any updates on this issue?

bobakemamian avatar Dec 09 '24 01:12 bobakemamian

Hi @f3dm76 and @bobakemamian apologies for the delayed response. OneSignal.User.xxxx is our v5 API. You would need to use a OneSignal v5.x.x version.

nan-li avatar Apr 16 '25 22:04 nan-li