Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(analytics): Expose modular API that matches the Firebase web JS SDK v9 API #6816

Merged
merged 15 commits into from
Feb 15, 2023
Prev Previous commit
Next Next commit
fix exception
  • Loading branch information
russellwheatley committed Jan 31, 2023
commit 03a45d87097cfccbdd44aef5c0574e8df5aefd8c
2 changes: 1 addition & 1 deletion packages/analytics/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ class FirebaseAnalyticsModule extends FirebaseModule {
);
}

if (!isBoolean(options.global)) {
if (!isUndefined(options.global) && !isBoolean(options.global)) {
throw new Error("'options.global' property expected a boolean.");
}
}
Expand Down