Fetching OTP from notification panel
Clone or download the project. An apk is available in the resources folder to make it easier for you to start.
Don't forget to make changes to the properties files according to your setup.
To run the project you need to use the testng.xml file found in the resources folder.
More in-depth explanation is at this Medium blog post.
This same project also implements the case where the User is taken to a different Main page randomly i.e. After each launch user sees a different Main page(Out of possible four) in the application.
The main logic is in the EnterPhoneNumberScreen.java
file found here.
Complete step by step information is given at this blog post.