Appium getClipboardText() is not working in Android newer version (i.e. >10)

getClipboardText() is giving null value (only for Android-10 devices) even after setting some value to clipboard using setClipboardText(). Setting value is working fine both for android and ios & getting clipboard value is not working in newer version of Android. But it’s working fine in Android-9 versions.

appiumTicket

Above code snippet for android device. Nothing is getting printed on console.