onRestoreSuccess
This callback is invoked when a successful restore is made.
Check if the AdaptyProfile object contains the desired access level, and if so, you can navigate back from the flow.
Parameters
profile
An AdaptyProfile object containing up to date information about the user.
context
A UI Context within which the event occurred.