Since StoreKit2
Transaction.currentEntitlements
will able to return us user current owned purchased, during app startup.
If that is the case, is it still necessary for developer to provide a restore button?
If we still need to provide a restore button, what should the restore button do and what API should it call?
Thanks
Yes, AppStore.sync() - https://developer.apple.com/documentation/storekit/appstore/3791906-sync/
Providing a Restore Purchases button is still required per guidelines. As it requires customer authentication, this also gives customers a chance to verify the Apple ID signed in, or to sign-in with one if they were not already.