FG
📱 Mobile & Cross-PlatformExpo

[docs] No native ExpoFirebaseCore module found with firebase-recaptcha

Freshabout 21 hours ago
Mar 14, 20260 views
Confidence Score60%
60%

Problem

[https://docs.expo.io/versions/latest/sdk/firebase-recaptcha/] I followed the steps described in this doc to set up the phone auth but ran into the issue of "ExpoFirebaseCore module not found, are you sure the expo-firebase-core module is linked properly?" I installed the expo-firebase-core package too but still ran into this error. How to fix it?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix ExpoFirebaseCore Module Not Found Error

Medium Risk

The error occurs because the expo-firebase-core module is either not properly linked or not installed correctly in the project. This can happen if the package is not included in the native build or if there are issues with the Metro bundler cache.

Awaiting Verification

Be the first to verify this fix

  1. 1

    Install expo-firebase-core

    Ensure that the expo-firebase-core package is installed correctly in your project. Run the following command to install it if you haven't done so already.

    bash
    npm install expo-firebase-core
  2. 2

    Link the Package

    If you are using a bare workflow, ensure that the expo-firebase-core package is linked properly. You can do this by running the following command:

    bash
    npx react-native link expo-firebase-core
  3. 3

    Clear Metro Bundler Cache

    Sometimes, the Metro bundler cache can cause issues. Clear the cache by running the following command:

    bash
    expo start -c
  4. 4

    Rebuild the Project

    After clearing the cache, rebuild your project to ensure all changes are applied. If you are using Expo Go, simply restart the app. For bare workflow, run:

    bash
    npx react-native run-android || npx react-native run-ios
  5. 5

    Check Configuration

    Ensure that your Firebase configuration is correct and that you have set up the necessary permissions in your app's configuration files (e.g., AndroidManifest.xml for Android).

Validation

To confirm the fix worked, run your application and check if the ExpoFirebaseCore module error is resolved. You should be able to access the firebase-recaptcha functionality without issues.

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

exporeact-nativemobiledocsfirebaserecaptchaoutdated