You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am creating a react native project with expo.
When I try to run the sample code, I encounter the said error "[Unhandled promise rejection: TypeError: AesCrypto.encrypt is not a function. (In 'AesCrypto.encrypt(plaintxt, secretKey, iv)', 'AesCrypto.encrypt' is undefined)]".
The text was updated successfully, but these errors were encountered:
Yup it won't work on Expo. You have to use plain react-native or ExpoKit.
While using ExpoKit you have to publish the project first and then you can use ./android/gradlew installDebug.
Should work fine :)
I am creating a react native project with expo.
When I try to run the sample code, I encounter the said error "[Unhandled promise rejection: TypeError: AesCrypto.encrypt is not a function. (In 'AesCrypto.encrypt(plaintxt, secretKey, iv)', 'AesCrypto.encrypt' is undefined)]".
The text was updated successfully, but these errors were encountered: