AdaptySDK-iOS icon indicating copy to clipboard operation
AdaptySDK-iOS copied to clipboard

logShowPaywall from SwiftUI Demo not working

Open snake302 opened this issue 1 year ago • 2 comments

Hey,

We are using PaywallService from SwiftUI Demo and it's looks like that func logPaywallDisplay() { paywall.map { Adapty.logShowPaywall($0) } } Not working properly, since we have implemented this service class in a few projects and calling it .onAppear but no logged events displaying in the Adapty Dashboard.

Could you please check your code and confirm that it's actual and working

snake302 avatar Feb 26 '24 15:02 snake302

Thanks for reporting this, @snake302. We'll check it out and fix any problems we find. Stay tuned for updates!

x401om avatar Feb 29 '24 12:02 x401om

Hi, @snake302! I've updated the SwiftUI example dependency (you can find it here) and checked the issue you reported. The logPaywallDisplay is being called as expected every time the paywall is shown. Are you sure that your UI hierarchy is correct and that onAppear you are relying on is placed accurately?

x401om avatar Mar 07 '24 21:03 x401om

Closing this issue due to inactivity. If you're facing this issue and have more details, feel free to reopen. Thanks!

x401om avatar Mar 27 '24 12:03 x401om