expo-random - unimodules TypeError on IOS

I have not been able to get expo-random to work on native CLI app created via npx react-native init. I have modified the files for IOS as documented and have expo-crypto working. The same code works in an expo native app. Does expo-random currently work with unimodules? Thanks

Code (blank test app and cribbed from expo-crypto example):
useEffect(() => {
async function runRandom() {
const randomBytes = await Random.getRandomBytesAsync(16);
console.log('Bytes: ', randomBytes);
/* Some crypto operation… */

backend.js:32 Possible Unhandled Promise Rejection (id: 0):
TypeError: Cannot read property ‘getRandomBytesAsync’ of undefined

I’m experiencing the same issue. Did you ever find a solution?

hi there. you need to install react-native-unimodules for this to work. also, ensure that you are using expo-random@9.0.0.