Skip to content

Commit

Permalink
fix(android): forward-port to non-deprecated data collection API
Browse files Browse the repository at this point in the history
available since 2020, so should have no affect on consumers
  • Loading branch information
mikehardy committed Nov 16, 2024
1 parent 83696ea commit 2c87eeb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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")) {
Expand Down

0 comments on commit 2c87eeb

Please sign in to comment.