Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AES is null on real device and simulator (IOS and Android) #96

Closed
frankelly001 opened this issue Dec 10, 2024 · 2 comments
Closed

AES is null on real device and simulator (IOS and Android) #96

frankelly001 opened this issue Dec 10, 2024 · 2 comments

Comments

@frankelly001
Copy link

i tried logging AES and getting error of some properties like randomKey, encrypt, decrypt is null, i have been using this module without having any issues for a long time abt 2 years now.
Am now facing this weird error, can't push this changes to prod.

@frankelly001 frankelly001 changed the title AES is null on real device and simulator AES is null on real device and simulator (IOS and Android) Dec 10, 2024
@bohdanbirdie
Copy link

For now this is what helped me on ios, haven't tried android

import { NativeModules } from "react-native";
import AesLib from "react-native-aes-crypto";
const Aes: typeof AesLib = NativeModules.Aes;

@tectiv3
Copy link
Owner

tectiv3 commented Dec 18, 2024

#89

@tectiv3 tectiv3 closed this as completed Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants