Closed kangks closed 7 years ago
I encountered undefined error when evaluating RNAWSCognito.computeModPow() in AuthenticationHelper.js, resolved by removing the {},
from
const { RNAWSCognito } = NativeModules;
to
const RNAWSCognito = NativeModules;
But now I encountered RNAWSCognito.computeModPow is not a function. Which dependency do I need for iOS?
@kangks Did you link the project? react-native link
react-native link
It works in a totally new project. Probably I screwed up something in the old project. Thanks!
Running react-native link fixed this issue for me.
I encountered undefined error when evaluating RNAWSCognito.computeModPow() in AuthenticationHelper.js, resolved by removing the {},
from
to
But now I encountered RNAWSCognito.computeModPow is not a function. Which dependency do I need for iOS?