getShadowRoot() method is not working on iOS Mobile Safari

getShadowRoot() method successfully works on desktop browsers and it throws the UnsupportedCommandException on iOS Mobile Safari.

Below is the code:
WebElement ele = parentObject.getShadowRoot().findElement(By.cssSelector(TEXT_CHILD));

The operation is not supported.
org.openqa.selenium.UnsupportedCommandException: The operation is not supported.
Build info: version: ‘4.12.0’, revision: ‘249f2a7d1b*’
System info: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘11.0.12’
Driver info: io.appium.java_client.ios.IOSDriver

Anyone have any idea how to achieve this in mobile we safari?