I investigated before about testID feature if ReactNative [ReactNative][Appium]testIDの振られ方.
Then, I found the framework maps the testID as android view tag. link
The view tag is available via Espresso framework. Appium had not accessed the element by uiautomator2-driver since it uses uiautomator framework.
But, appium-espresso-driver has been published. The driver can access to Espresso framework. As a result, the driver finally can access the view tag as one of find_element/s strategy.
For example,
# Ruby
find_element :viewtag, 'your view tag'
find_elements :viewtag, 'your view tag'
You can find available clients in https://github.com/search?q=org%3Aappium+-android+viewtag&type=Code