Reputation: 21
I've recently made a local build for my Amplify/React Native/Expo project using eas build. Within the local build, when attempting to sign in using Amplify's Auth.signIn() feature, I am receiving the error: Could not find a native getRandomBase64 implementation. Validate that amazon-cognito-identity-js is linked.
A quick search suggested that this problem could be fixed by installing the amazon-cognito-identity-js package, which I did (yarn add amazon-cognito-identity-js). Unfortunately, this did not resolve the error. Are there additional steps that I need to take to fix this that I have yet to do?
Upvotes: 0
Views: 420
Reputation: 21
Fixed this by running eas build again and creating another build.
Upvotes: 0