Hi,
I’m currently using PaywallActivityLauncher
to display the paywall in my Android application. I need to manage both the purchase state and the restoration of previous purchases. While I’ve come across methods to handle the purchase state, I haven’t found any options for managing the restoration of state.
Could you provide guidance on how to handle restoring the state of purchases with PaywallActivityLauncher
when user click the restore button.override fun onActivityResult(result: PaywallResult) { when(result){ PaywallResult.Cancelled -> Log.d("revenuecat ","Cancelled") is PaywallResult.Error -> Log.d("revenuecat ","Error") is PaywallResult.Purchased -> Log.d("revenuecat ","Purchased") }}
Thank you!