Hi,
I’m currently playing around with POS UI Extensions “@shopify/ui-extensions”: “2025.10.x” following the guide on creating a tile and modal. Then I wanted to check out what the different APIs had to offer and I noticed that the Device API registerName always return undefined?
Is this not available always, or do I need to get it in a particular way. The async getDeviceId, and the name are working fine.
Is this a bug, or am I missing a scope or something?
Modal snippet for reference
import {render} from 'preact';
import "@shopify/ui-extensions/preact";
export default async () => {
render(<Extension />, document.body);
};
function Extension() {
return (
<s-page heading='Where am I?'>
<s-scroll-box>
<s-box padding="small">
<s-text>
{`You are on register ${shopify.device.registerName}`}
</s-text>
</s-box>
</s-scroll-box>
</s-page>
);
}