Repository navigation
Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'QuickBase64' could not be found. Verify that a module by this name is registered in the native binary馃敡聽#1052
Copy link
Copy link
Closed
Description
How were you trying to build the app?
I am trying to run application on 0.81 react native version, with below package versions:
"react-native-quick-base64": "3.0.0", "react-native-quick-crypto": "^1.1.5", "react-native-nitro-modules": "^0.35.7"
But I am getting below error on application launch.

Full build logs
Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'QuickBase64' could not be found. Verify that a module by this name is registered in the native binary.
at invariant (http://10.0.2.2:8081/index.bundle//&platform=android&dev=true&lazy=true&minify=false&app=com.my.package&modulesOnly=false&runModule=true&excludeSource=true&sourcePaths=url-server:4051:26)
at getEnforcing (http://10.0.2.2:8081/index.bundle//&platform=android&dev=true&lazy=true&minify=false&app=com.my.package&modulesOnly=false&runModule=true&excludeSource=true&sourcePaths=url-server:4664:28)
at anonymous (http://10.0.2.2:8081/index.bundle//&platform=android&dev=true&lazy=true&minify=false&app=com.my.package&modulesOnly=false&runModule=true&excludeSource=true&sourcePaths=url-server:3702:81)
at loadModuleImplementation (http://10.0.2.2:8081/index.bundle//&platform=android&dev=true&lazy=true&minify=false&app=com.my.package&modulesOnly=false&runModule=true&excludeSource=true&sourcePaths=url-server:275:14)
at guardedLoadModule (http://10.0.2.2:8081/index.bundle//&platform=android&dev=true&lazy=true&minify=false&app=com.my.package&modulesOnly=false&runModule=true&excludeSource=true&sourcePaths=url-server:182:38)
at metroRequire (http://10.0.2.2:8081/index.bundle//&platform=android&dev=true&lazy=true&minify=false&app=com.my.package&modulesOnly=false&runModule=true&excludeSource=true&sourcePaths=url-server:96:92)
at anonymous (http://10.0.2.2:8081/index.bundle//&platform=android&dev=true&lazy=true&minify=false&app=com.my.package&modulesOnly=false&runModule=true&excludeSource=true&sourcePaths=url-server:3567:60)
at loadModuleImplementation (http://10.0.2.2:8081/index.bundle//&platform=android&dev=true&lazy=true&minify=false&app=com.my.package&modulesOnly=false&runModule=true&excludeSource=true&sourcePaths=url-server:275:14)
at guardedLoadModule (http://10.0.2.2:8081/index.bundle//&platform=android&dev=true&lazy=true&minify=false&app=com.my.package&modulesOnly=false&runModule=true&excludeSource=true&sourcePaths=url-server:182:38)
at metroRequire (http://10.0.2.2:8081/index.bundle//&platform=android&dev=true&lazy=true&minify=false&app=com.my.package&modulesOnly=false&runModule=true&excludeSource=true&sourcePaths=url-server:96:92)
at anonymous (http://10.0.2.2:8081/index.bundle//&platform=android&dev=true&lazy=true&minify=false&app=com.my.package&modulesOnly=false&runModule=true&excludeSource=true&sourcePaths=url-server:1782:43)
at loadModuleImplementation (http://10.0.2.2:8081/index.bundle//&platform=android&dev=true&lazy=true&minify=false&app=com.my.package&modulesOnly=false&runModule=true&excludeSource=true&sourcePaths=url-server:275:14)
at guardedLoadModule (http://10.0.2.2:8081/index.bundle//&platform=android&dev=true&lazy=true&minify=false&app=com.my.package&modulesOnly=false&runModule=true&excludeSource=true&sourcePaths=url-server:182:38)
at metroRequire (http://10.0.2.2:8081/index.bundle//&platform=android&dev=true&lazy=true&minify=false&app=com.my.package&modulesOnly=false&runModule=true&excludeSource=true&sourcePaths=url-server:96:92)
at anonymous (http://10.0.2.2:8081/index.bundle//&platform=android&dev=true&lazy=true&minify=false&app=com.my.package&modulesOnly=false&runModule=true&excludeSource=true&sourcePaths=url-server:1504:39)
at loadModuleImplementation (http://10.0.2.2:8081/index.bundle//&platform=android&dev=true&lazy=true&minify=false&app=com.my.package&modulesOnly=false&runModule=true&excludeSource=true&sourcePaths=url-server:275:14)
at guardedLoadModule (http://10.0.2.2:8081/index.bundle//&platform=android&dev=true&lazy=true&minify=false&app=com.my.package&modulesOnly=false&runModule=true&excludeSource=true&sourcePaths=url-server:182:38)
at metroRequire (http://10.0.2.2:8081/index.bundle//&platform=android&dev=true&lazy=true&minify=false&app=com.my.package&modulesOnly=false&runModule=true&excludeSource=true&sourcePaths=url-server:96:92)
at anonymous (http://10.0.2.2:8081/index.bundle//&platform=android&dev=true&lazy=true&minify=false&app=com.my.package&modulesOnly=false&runModule=true&excludeSource=true&sourcePaths=url-server:1306:67)
at loadModuleImplementation (http://10.0.2.2:8081/index.bundle//&platform=android&dev=true&lazy=true&minify=false&app=com.my.package&modulesOnly=false&runModule=true&excludeSource=true&sourcePaths=url-server:275:14)
at guardedLoadModule (http://10.0.2.2:8081/index.bundle//&platform=android&dev=true&lazy=true&minify=false&app=com.my.package&modulesOnly=false&runModule=true&excludeSource=true&sourcePaths=url-server:175:47)
at metroRequire (http://10.0.2.2:8081/index.bundle//&platform=android&dev=true&lazy=true&minify=false&app=com.my.package&modulesOnly=false&runModule=true&excludeSource=true&sourcePaths=url-server:96:92)
at global (http://10.0.2.2:8081/index.bundle//&platform=android&dev=true&lazy=true&minify=false&app=com.my.package&modulesOnly=false&runModule=true&excludeSource=true&sourcePaths=url-server:1098609:4)Project dependencies
"dependencies": {
"react": "19.1.4",
"react-native": "0.81.6",
"react-native-nitro-modules": "^0.35.7",
"react-native-quick-base64": "3.0.0",
"react-native-quick-crypto": "^1.1.5",
}QuickCrypto Version
1.1.5
Target platforms
Android
Operating system
MacOS
Can you build the QuickCrypto Example app?
Yes, I can successfully build the Example app here
Additional information
- I am using Expo
- I have read the Troubleshooting Guide
- I agree to follow this project's Code of Conduct
- I searched for similar issues in this repository and found none.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Activity
abisalde commentedon May 31, 2026
downgrade your react-native-quick-crypto to
just did for mine and it working
XI3816-RajeshKumar commentedon Jun 1, 2026
@abisalde After downgrading, I am started getting below error:
Already tried removing node_modules / fresh yarn install / gradle clean. But this error not gone.
MuazzezA commentedon Jun 1, 2026
any update?
abisalde commentedon Jun 1, 2026
This could be due to your react-native version, check the version of nitro against your react-native version and I didn't install react-native-quick-base64
MuazzezA commentedon Jun 1, 2026
use this patch.
my versions :
Add ndkVersion rootProject.ext.ndkVersion to android/build.gradle (as shown in patch). I'm using NDK v28 with RN 0.85
Master-Antonio commentedon Jun 2, 2026
You can fix adding the version to your package.json waiting they fix.
fabrii commentedon Jun 14, 2026
Are you using Expo 53? I had a similar problem and it was resolved in Expo 54. Check expo/expo#38626
watadarkstar commentedon Jun 23, 2026
I have the same issue with Expo SDK 54
pinge commentedon Jul 1, 2026
Pin
react-native-quick-base64to version2.2.2and installreact-native-quick-cryptoversion1.1.3:boorad commentedon Jul 8, 2026
The error comes from
react-native-quick-base64, which is a dependency ofreact-native-quick-crypto, not fromreact-native-quick-cryptoitself.react-native-quick-cryptoimportsreact-native-quick-base64at startup, so its failure surfaces as a crash when your app launches.Why it happens:
react-native-quick-base643.0.0 was rewritten as a pure C++ TurboModule, which only registers when your app runs on React Native's New Architecture. Version 3.0.0 ofreact-native-quick-base64has no Old Architecture registration path, so on an Old Architecture appTurboModuleRegistry.getEnforcing('QuickBase64')fails with "could not be found".This matches every report in this thread:
react-native-quick-base64@2.2.2works, because the 2.x line still ships the legacy Old Architecture module.Fixes (pick one):
newArchEnabled=trueinandroid/gradle.properties, thencd android && ./gradlew cleanand rebuild.react-native-quick-base64@2.2.2.Note: the
ndkVersionpatch posted earlier in this thread targeted the oldreact-native-quick-base642.2.2android/build.gradle. Version 3.0.0 ofreact-native-quick-base64has nobuild.gradleat all (it is CMake only), so that patch does not apply to 3.0.0.Separately, while investigating this I found and fixed an unrelated bug in
react-native-quick-base64: building it from source failed because its generated codegen output was gitignored. That fix is in craftzdog/react-native-quick-base64#55, which also adds a README note documenting the New Architecture requirement. It does not affect npm installs, since the publishedreact-native-quick-base64package already includes the generated code.