While Doing automation of Android based app on windows 10?

Overview of the App :In that app login screen we have to enter mobile no and after clicking on submit we will get the OTP to that perticular mobile number and that we need to enter to login.

While running the automation script(program) every time i need to enter mobile no and every time i need to enter the OTP received.

Is there any way to avoid or skip this step to go further???

Please Help…

You can get OTP through API or Database but if you need to automate UI then you can watch this video : https://youtu.be/DW5VJzdICF8?list=PLXbcghgSZDroz9nez1IrbL2hnMVJ0ba1W