‘ignoreUnimportantViews` desired capability not recognized by Appium

I have added ignoreUnimportantViews caps to DesiredCapabilities, but when i run this appium log said it is not recognized by appium:

e[35m[Appium]e[39m Appium v1.18.1 creating new AndroidUiautomator2Driver (v1.56.1) session
e[35m[BaseDriver]e[39m The following capabilities were provided, but are not recognized by Appium:
e[35m[BaseDriver]e[39m platform
e[35m[BaseDriver]e[39m ignoreUnimportantViews
e[35m[BaseDriver]e[39m Session created with session id: e4fcad49-e133-499e-9491-fa67d7c12a57

What did i miss here?

You should add settings prefix to set settings items like settings[ignoreUnimportantViews] as part of capabilities.

Thanks @KazuCocoa It is working now