Open
Description
Please list the package(s) involved in the issue, and include the version you are using
- @shopify/ui-extensions-react/point-of-sale version 2024.10.0
Describe the bug
The merchant has 5 locations, and the session.getSessionToken() method works correctly at 3 locations. However, at the other 2 locations, it consistently returns null.
const token = await session.getSessionToken();
const response = await fetch(urlString, {
headers: { Authorization: `Bearer ${token}` },
});
Interestingly, when accessing the 2 problematic locations on a different device, everything works as expected, suggesting the issue may be device-specific.
What we have tried:
- Reinstalled the POS app on the affected iPads.
- Removed and re-added the extensions from the smart grid.
- Created a minimal smart grid setup with only our app extensions.
- Tested with different POS staff PINs that have full permissions.
Questions:
- Under what conditions does
session.getSessionToken()
return null? - Are there any specific device configurations or iPadOS version requirements (currently running iOS 18) for using POS extensions?