When running the app on an Android emulator, the RNGoogleSignin module isn't detected, leading to a TurboModule registry error. This suggests that the module might not be correctly linked or that the project setup is incomplete.
Steps to Reproduce the Issue
Run the app on an Android emulator.
Attempt to initiate Google Sign-In functionality.
Observe the Invariant Violation error indicating that RNGoogleSignin could not be found.
Expected Behavior
Google Sign-In should work as expected without any module errors.
Actual Behavior
The app fails to load Google Sign-In functionality and throws a module not found error.
Affected Platforms
Android (emulator)
Full log of this error
Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'RNGoogleSignin' could not be found. Verify that a module by this name is registered in the native binary.Bridgeless mode: false. TurboModule interop: false. Modules loaded: {"NativeModules":["PlatformConstants","LogBox","SourceCode","Appearance","AppState","UIManager","AccessibilityInfo","DeviceInfo","Timing","BlobModule","WebSocketModule","DevSettings","DevToolsSettingsManager","Networking","DevLoadingView","HeadlessJsTaskSupport","ImageLoader","SoundManager","IntentAndroid","DeviceEventManager","NativeAnimatedModule","I18nManager","StatusBarManager","StatusBarManager","RNCAsyncStorage"],"TurboModules":[],"NotFound":["NativePerformanceCxx","NativePerformanceObserverCxx","AccessibilityManager","RedBox","BugReporting","LinkingManager","RNCSafeAreaContext","NativeReactNativeFeatureFlagsCxx","RNSModule","FrameRateLogger","KeyboardObserver","PlatformLocalStorage","RNC_AsyncSQLiteDBStorage","RNGoogleSignin"]}, js engine: hermes [Component Stack]
OS: Windows 11 10.0.26100
CPU: (16) x64 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz
Memory: 16.02 GB / 31.78 GB
Binaries:
Node:
version: 20.18.0
path: C:\Program Files\nodejs\node.EXE
Yarn:
version: 1.22.22
path: ~\AppData\Roaming\npm\yarn.CMD
npm:
version: 10.8.2
path: C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK:
AllowAllTrustedApps: Disabled
AllowDevelopmentWithoutDevLicense: Enabled
IDEs:
Android Studio: AI-242.23339.11.2421.12483815
Visual Studio: Not Found
Languages:
Java: Not Found
Ruby: Not Found
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.74.5
wanted: ^0.74.5
react-native-windows: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
I have searched open and closed issues for this issue.
This is not a bug report for
DEVELOPER_ERRORMinimal reproducible example
https://github.com/ledainghia/MMA-PROJECT
What platform(s) does this occur on?
Android
Summary
Your computer environment