I have seen this error sometimes:
Cannot read property 'productIdentifier' of undefined
Why would RevenueCat have an incomplete response when: const info = await Purchases.getCustomerInfo();
Then I access by:info?.entitlements?.active?.[entitlementName]?.productIdentifier
This only seems to be in production, of course.