The navigator.clipboard.writeText() doesn't work in POS UI Extension

Hi, I want to use navigator.clipboard.writeText() but POS UI extension doesn’t allow it, I want my users can copy information faster.

This is my code

import React from 'react';
import {
  reactExtension,
  Navigator,
  Screen,
  Button,
} from '@shopify/ui-extensions-react/point-of-sale';

const Modal = () => {

  const handleCopy = async () => {
    try {
      await navigator.clipboard.writeText('Text copy test');
      console.log('Copied to clipboard!');
    } catch (err) {
      console.error('Failed to copy: ', err);
    }
  };

  return (
    <Navigator>
      <Screen name="ScreenOne" title="Screen One Title">
        <Button
          title="Navigate to Cart"
          onPress={() => {
            handleCopy()
          }}
        />
      </Screen>
    </Navigator>
  );
};

export default reactExtension('pos.home.modal.render', () => (
  <Modal />
));

Hey again @Fernando_Gutierrez :waving_hand: - I know we offer clipboard functionality for other UI extensions like Checkout UI Extensions for example:

Taking a look at our docs it doesn’t appear that we support this functionality, but I’ll do some more digging on my end to confirm things and loop back with you here :slight_smile:

@Fernando_Gutierrez :waving_hand: - just confirming this is a limitation, but we are looking at ways we can implement clipboard functionality into POS UI extensions. I can’t confirm when this would be rolled out, but we do have this on our radar.

Hope this helps and thanks for flagging this - let me know if I can help out further as always!