'Tap' method is not working in android

Hi @All
The ‘Tap’ method is not functioning fine on an element which found working with ‘click’ method .
Iam using the following method below in order to tap on an element … See the attached screen shot

@FindBy(how = How.XPATH, using ="//android.widget.RelativeLayout[contains(@resource-id,‘com.wallet.client:id/pin_code_button_1’)]")
private WebElement number1;

driver.tap(1, number1, 100);

iam getting null pointer exception above method

Appreciate if anyone can help out here… please

Try with below way of clicking the eliment:
Hope it works fine for you.


You can watch this video : https://youtu.be/HnG4-PuKcL4