RevenueCat
Integration
- Go to the official RevenueCat documentation and integrate it into your project.
- Initialize the Magify SDK and call
magify.setup(). - Pass the Magify
clientIdas theappUserIDwhen configuring RevenueCat:
magify.setup()
let clientId = magify.clientId
let configuration = Configuration.Builder(withAPIKey: "your_api_key")
.with(appUserID: clientId)
.build()
Purchases.configure(with: configuration)
Providing the appUserID during configuration links all RevenueCat purchase and subscription events to the Magify identity, enabling accurate revenue attribution.