Locators inconstancy with Android version changes

Appium inspector shows different locators across the android versions.

same apk shows the text ‘abcdefgh’ in android 6.x shows as ‘ABCDEFGH’ in android 7.x.
in another scenario the id ‘Username’ in android 6.x shows as ‘username’ in android 7 or 8.

Not sure why the tool identifies same locators/text differently across the versions though we us e same apk file.

Have you tried in uiautomatorviewer? The difference may be directly from google automator or even from some condition in apk implementation.

I have some diferentes in some dialogs on Android 7 from all the other Android versions. Nothing to do with appium, tho.