How to reset app in appium v8.3.0

Hello. I need to reset app with full cache clear. I used resetApp() method for appium v7.x.x but it is deprecated for v8.x.x now. What I should do?
Thank’s for your answers