Appium Android Webview App: Different locators in diferent O.S versions

Hi, i am creating some scripts to test an Android webview app, but the app doesn’t have the WebContentsDebuggingEnabled = true. I am trying to map some buttons on a menu, but on android version 8.0 and 9.0 the field “text” has information and the “content-desc” is null, while in version 7.0 the “Text” is null and “content-desc” has infomation. How am i able to make a test for both 7.0 and 8.0+ versions, as the locators are in different fields on Appium inspector? Is this a bug?

Edit: I am using the android studio emulator and i noticed that i got different locators text/context-desc in android 7.0 using a Pixel 2l and a nexus 5x. Have no idea what could be happening.