Skip to content

JS receives empty config {} due to BuildConfig class not found (RN 0.79.5 + Expo 53) #839

@shalini-mekala11

Description

@shalini-mekala11

In a React Native app (v0.79.5) using New Architecture and Expo SDK 53, react-native-config (v1.5.5) returns an empty config ({}) on both Android and iOS.

On Android, this seems to be caused by BuildConfig not being found correctly. Error logged in console ReactConfig: Could not find BuildConfig class

Disabling new architecture also does not resolve the issue

Versions:

React Native: 0.79.5

Expo SDK: 53

react-native-config: 1.5.5

Platforms: Android & iOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions