Unable to click on native app-generated pop-up button ,questions is I am able to click on it with 2 out of 3-4 times

Server logs for the successful click on Button
MJSONWP] Calling AppiumDriver.click() with args: [“4”,“5399f480-a561-4e79-acfe-ff96bce0c32c”]
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“element:click”,“params”:{“elementId”:“4”}}

//this para contains the unsuccessful click on Ok button and there is no such command as AppiumDriver.click() in the 2nd Operation

MJSONWP] Calling AppiumDriver.findElement() with args:

[“id”,“com.edmobilelabs.sling.dev:id/btnPositive”,“b5e8417e-3de8-4069-9570-efbe96241665”]

[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [BaseDriver] Waiting up to 5000 ms for condition [AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.edmobilelabs.sling.dev:id/btnPositive”,“context”:"",“multiple”:false}} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:

{“strategy”:“id”,“selector”:“com.edmobilelabs.sling.dev:id/btnPositive”,“context”:"",“multiple”:false}}

[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding

‘com.edmobilelabs.sling.dev:id/btnPositive’ using ‘ID’ with the contextId: ‘’ multiple: false

[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.edmobilelabs.sling.dev:id/btnPositive]

[AndroidBootstrap] Received command result from bootstrap [MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“5”}

[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding ‘com.edmobilelabs.sling.dev:id/btnPositive’ using ‘ID’ with the contextId: ‘’ multiple: false

[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.edmobilelabs.sling.dev:id/btnPositive]

[AndroidBootstrap] Received command result from bootstrap [MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“5”}

[MJSONWP] Calling AppiumDriver.elementDisplayed() with args: [“5”,“b5e8417e-3de8-4069-9570-efbe96241665”]

Here is the link to my complete code and server logs
https://stackoverflow.com/questions/45635657/unable-to-click-on-native-app-generated-pop-up-questions-is-i-am-able-to-click
This is for Sure an Appium Bug
Can any 1 help me out with this situation and I have tried absolute X-path and switching context
So any other idea

@Abishek try:

// 1
// update "PageFactory.initElements(driver, this);" to some reasonable time -> 
PageFactory.initElements(new AppiumFieldDecorator(driver, 10, SECONDS), this); //10 sec to wait

// 2
// replace FindBy (it is WEB mostly) to correct appium AndroidFindBy
@AndroidFindBy(id = "your_id")
private AndroidElement el;

// 3
// click it is WEB. replace with TAP
new TouchAction((MobileDriver) driver).press(el).waitAction(Duration.ofMillis(70)).release().perform();

// 4 
// you can try also with Automator search like:
@AndroidFindBy(uiAutomator = "new UiSelector().resourceIdMatches(\".*id/your_el_id\").clickable(true)")
private AndroidElement yourElement;

thanks for the suggestion but still no luck
here is my code

public boolean navigateToEneterOtpPage() {
newObj = new LogInPage();
wait = new WebDriverWait(driver,20);
wait.until(ExpectedConditions.visibilityOf(GetStarted));
GetStarted.click();
driver.manage().timeouts().implicitlyWait(5000, TimeUnit.MILLISECONDS);

	MobileNumber.sendKeys("********");
	Next.click();
	wait.until(ExpectedConditions.visibilityOf(OKButton));
	Point pt = OKButton.getLocation();
	int xcord= pt.getX();
	int ycord = pt.getY();
	
	System.out.println("X & Y is "+xcord+" "+ycord);
	/*new TouchAction((MobileDriver) driver).press(OKButton).waitAction(70).release().perform();*/
	TouchAction  tc = new TouchAction(driver);
	tc.tap(OKButton).waitAction(3000).perform();
	Utility.CaptureScreenShot(driver,"1stScreenShot");
	if(EnterOTP.isDisplayed())
	{	return true;
	}
	else
	{return false; 
	}
}

below are the logs

[MJSONWP] Calling AppiumDriver.performTouch() with args: [[{“action”:“tap”,“options”:{“element”:“7”,“x”:530,“y”:501}},{“action”:“wait”,“options”:{“ms”:3000}}],“dd27b07a-5c7b-4105-874b-7aed5d18b864”]
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“element:getLocation”,“params”:{“elementId”:“7”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“element:getLocation”,“params”:{“elementId”:“7”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getLocation
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:{“x”:530,“y”:501}}
[AndroidBootstrap] Received command result from bootstrap
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“element:getSize”,“params”:{“elementId”:“7”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“element:getSize”,“params”:{“elementId”:“7”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getSize
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:{“width”:128,“height”:80}}
[AndroidBootstrap] Received command result from bootstrap
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“element:click”,“params”:{“elementId”:“7”,“x”:1060,“y”:1002}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“element:click”,“params”:{“elementId”:“7”,“x”:1060,“y”:1002}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click
[AndroidBootstrap] Received command result from bootstrap
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:true}
[MJSONWP] Responding to client with driver.performTouch() result: null

I have tried everything else
If you have something plzz suggest