Skip to content

Commit de6c9c3

Browse files
Merge pull request #1886 from EnsembleUI/fix-auth-firebase-initialization
fix: include useAuth in module initialization check
2 parents 8844d48 + 3f68202 commit de6c9c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

starter/lib/generated/ensemble_modules.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ class EnsembleModules {
8989
Future<void> init() async {
9090
// Note that notifications is not a module
9191

92-
if (useMoEngage || useNotifications || useFirebaseAnalytics) {
92+
if (useMoEngage || useNotifications || useFirebaseAnalytics || useAuth) {
9393
// if payload is not passed, Firebase configuration files
94-
// are required to be added manualy to iOS and Android
94+
// are required to be added manually to iOS and Android
9595
try {
9696
await Firebase.initializeApp();
9797
} catch (e) {

0 commit comments

Comments
 (0)