Skip to content

Commit

Permalink
refactor: remove unused imports for Firebase Analytics and notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
sharjeelyunus committed Dec 24, 2024
1 parent 4dcda8a commit 68e84eb
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 11 deletions.
5 changes: 0 additions & 5 deletions starter/lib/generated/ensemble_modules.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import 'package:ensemble/module/auth_module.dart';
import 'package:ensemble/module/location_module.dart';
//import 'package:ensemble_bluetooth/ensemble_bluetooth.dart';
import 'package:firebase_core/firebase_core.dart';
import 'package:firebase_messaging/firebase_messaging.dart';
//import 'package:ensemble_network_info/network_info.dart';
//import 'package:ensemble_firebase_analytics/firebase_analytics.dart';
// import 'package:ensemble_location/location_module.dart';
Expand Down Expand Up @@ -49,10 +48,6 @@ import 'package:get_it/get_it.dart';
// Uncomment to enable deeplink services
// import 'package:ensemble_deeplink/deferred_link_manager.dart';

// Uncomment to enable push notifications services or Firebase Analytics
// import 'package:flutter/foundation.dart';
// import 'dart:io';

/// TODO: This class should be generated to enable selected Services
class EnsembleModules {
static final EnsembleModules _instance = EnsembleModules._internal();
Expand Down
2 changes: 0 additions & 2 deletions starter/scripts/modules/enable_firebase_analytics.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ void main(List<String> arguments) async {
'moduleStatements': [
"import 'package:ensemble_firebase_analytics/firebase_analytics.dart';",
"GetIt.I.registerSingleton<LogProvider>(FirebaseAnalyticsProvider());",
"import 'dart:io';",
"import 'package:flutter/foundation.dart';",
],
'useStatements': [
'static const useFirebaseAnalytics = true;',
Expand Down
4 changes: 0 additions & 4 deletions starter/scripts/modules/enable_notifications.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ void main(List<String> arguments) {
List<String> platforms = getPlatforms(arguments);

final statements = {
'moduleStatements': [
"import 'package:flutter/foundation.dart';",
"import 'dart:io';",
],
'useStatements': [
'static const useNotifications = true;',
],
Expand Down

0 comments on commit 68e84eb

Please sign in to comment.