Skip to content

Commit 2c87eeb

Browse files
committed
fix(android): forward-port to non-deprecated data collection API
available since 2020, so should have no affect on consumers
1 parent 83696ea commit 2c87eeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/app/android/src/reactnative/java/io/invertase/firebase/common/RCTConvertFirebase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public static FirebaseApp readableMapToFirebaseApp(
9898

9999
if (appConfig.hasKey("automaticDataCollectionEnabled")) {
100100
firebaseApp.setDataCollectionDefaultEnabled(
101-
appConfig.getBoolean("automaticDataCollectionEnabled"));
101+
Boolean.valueOf(appConfig.getBoolean("automaticDataCollectionEnabled")));
102102
}
103103

104104
if (appConfig.hasKey("automaticResourceManagement")) {

0 commit comments

Comments
 (0)