Do I need to provide a button to restore in case of app data is cleared or it will be automatically restored by calling onPurchaseSuccess method?
In simple words on android: Do I need to provide a restore button or it will be restored automatically by SDK box?
### Restore purchase
To restore purchase call `sdkbox::IAP::restore()` .
> `onRestored` will be triggered if restore is successful.
http://docs.sdkbox.com/en/plugins/iap/v3-cpp/#restore-purchase
On Android it’s not required no have Restore
button, on iOS is required.
So better to add it to have similar functionality.
Thank you for your answer. Do I have to call restore() or it gets called automatically by sdkbox on android?
As far I know, sdkbox does not restore automatically.