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

fix: include useAuth in module initialization check #1886

Merged
merged 1 commit into from
Feb 24, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions starter/lib/generated/ensemble_modules.dart
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ class EnsembleModules {
Future<void> init() async {
// Note that notifications is not a module

if (useMoEngage || useNotifications || useFirebaseAnalytics) {
if (useMoEngage || useNotifications || useFirebaseAnalytics || useAuth) {
// if payload is not passed, Firebase configuration files
// are required to be added manualy to iOS and Android
// are required to be added manually to iOS and Android
try {
await Firebase.initializeApp();
} catch (e) {
Expand Down