Swipe is no longer working

Swipe is no longer working with java client 5.0.4 and selenium client versions 3.11.Is there a work around to this.I am using appium version 1.3.1

try with latest appium server 1.8.4-beta4, you’re using very very old version of appium server

I believe @Ekta_Yadav was referring to Appium Desktop version (1.3.1).

Yes, swipe was removed from java client. You can use TouchAction yourself to implement it. Just look around forum