Getting InvalidSelectorException with Locator Strategy '-image' in appium v2.0.0-rc.5

org.openqa.selenium.InvalidSelectorException: Locator Strategy ‘-image’ is not supported for this session
snippet
By image = AppiumBy.image(Base64.getEncoder().encodeToString(Files.readAllBytes(file.toPath())));
new WebDriverWait(driver, timeout)
.until(ExpectedConditions.presenceOfElementLocated(image)).getLocation().getX();

what result you have here?

appium plugin list
✔ Listing available plugins
- [email protected] [installed (npm)]
- images [not installed]
- relaxed-caps [not installed]
- universal-xml [not installed]**strong text**

:heavy_check_mark: Listing available plugins

And I see the same issue.
My code:
{
By img = null;
WebDriverWait wait = new WebDriverWait(driver, Duration.ofSeconds(10));
try {
img = AppiumBy.image(new ImageUtil().getReferenceImageB64(“popup/dismissButton.png”));
} catch (URISyntaxException | IOException e) {
throw new RuntimeException(e);
}
wait.until(ExpectedConditions.presenceOfElementLocated(img)).click();
}

and :
public String getReferenceImageB64(String fileName) throws URISyntaxException, IOException {
URL refImgUrl = getClass().getClassLoader().getResource(fileName);
File refImgFile = Paths.get(refImgUrl.toURI()).toFile();
return Base64.getEncoder().encodeToString(Files.readAllBytes(refImgFile.toPath()));
}