org.openqa.selenium.TimeoutException: Expected condition failed: waiting for visibility of element located by By.AccessibilityId: ion-input-1 (tried for 30 second(s) with 500 milliseconds interval)

i have hybrid application , after app opened it takes 30 seconds to load then element can be visible , i choosed an element to click after splash screen but get error
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for visibility of element located by By.AccessibilityId: ion-input-1 (tried for 30 second(s) with 500 milliseconds interval)
my code :

AppiumDriver driver;
private static By pwBtn= MobileBy.AccessibilityId(“ion-input-1”);
public void handleContext(){
Set contexts =driver.getContextHandles();
for (String context:contexts){
if (context.contains(“WebView”)){
driver.context(context);
break;
}
}

}

@Test

public void pwBtn() {
WebDriverWait wait = new WebDriverWait(driver,30);
wait.until(ExpectedConditions.visibilityOfElementLocated(pwBtn)).click();

}