diff --git a/packages/app/android/src/reactnative/java/io/invertase/firebase/common/RCTConvertFirebase.java b/packages/app/android/src/reactnative/java/io/invertase/firebase/common/RCTConvertFirebase.java index 8914bff2af..8627e4ce45 100644 --- a/packages/app/android/src/reactnative/java/io/invertase/firebase/common/RCTConvertFirebase.java +++ b/packages/app/android/src/reactnative/java/io/invertase/firebase/common/RCTConvertFirebase.java @@ -98,7 +98,7 @@ public static FirebaseApp readableMapToFirebaseApp( if (appConfig.hasKey("automaticDataCollectionEnabled")) { firebaseApp.setDataCollectionDefaultEnabled( - appConfig.getBoolean("automaticDataCollectionEnabled")); + Boolean.valueOf(appConfig.getBoolean("automaticDataCollectionEnabled"))); } if (appConfig.hasKey("automaticResourceManagement")) {