Scroll to Element ,Swipe & Key Events are Not working properly with Appium 1.10 & appium Java 7.0

Hi All,

I am using Appium 1.10
Appium Java: 7.0

I am working on both Android and iOS Native automation.
below Issues I am facing
No exact scroll for the required element both android and iOS
Using scroll by device size but it is not re-commanded
Please help me how to perform Scroll in Android and iOS for exact element.

also i need few kecode event actions like driver.pressKeyCode(AndroidKeyCode.KEYCODE_CAMERA);
not working as it is deprecated

please help how to achieve my targets with Latest Appium Server and Appium Jar 7.0

Thank you