How to fetch ios clipboard text and assign it to a string variable in appium?

Hi,

I have an authentication application, where I have an element which will copy the verification code if I tap on it.
I need to send that verification code in desktop chrome browser so that user can log-in.

I am having trouble in getting the clipboard data. Please provide a solution.

Thanks