Swipe not working on Android device

Swipe not working on Android device
Tried on Samsung galaxy S8 & Nexus 4
Mobile.swipe(640, 2112, 1223, 520, FailureHandling.STOP_ON_FAILURE)
Affected version:
Katalon Studio
Version: 5.3.0

The same code is working on:
Katalon Studio
Version: 4.8.0
Build: 2

Swipe has been changed to use relative position for endX, endY instead:
http://docs.katalon.com/display/KD/Version+5.1.0.2

You need to adjust your positions, in this case it should be:
Mobile.swipe(640, 2112, 583, -1592)

Hello,

Does anyone have a working solution for swiping up/down or left/right one screen in Android?
It will help me (and many others i think) to go on with creating automated tests.

Tried almost all of the suggested solutions; none of them worked for me.

Thanks in advance for an answer!