I have added a `paywallFooter` to my SwiftUI screen and it seems to be working fine.
However, I have noticed that the `restoreCompleted` and `restoreFailure` callbacks are not getting triggered. I have observed that the `restoreStarted` callback is getting triggered when the user clicks on the "Restore Purchase" button, but the other callbacks do not seem to be working.
.paywallFooter(
fonts: CustomPaywallFontProvider(fontName: FontFamily.ZenMaruGothic.medium.name),
purchaseCompleted: { customerInfo in
// Triggers as expected
},
restoreStarted: {
// Triggers as expected
},
restoreCompleted: { _ in
// Doesn't work
}, restoreFailure: { _ in
// Doesn't work
}
)
I can see that the restore logic is successful based on the console log, but nothing appears on the screen upon completion, resulting in a poor experience for customers.
Could you please help me?