diff --git a/packages/stream_chat_v1/lib/main.dart b/packages/stream_chat_v1/lib/main.dart index 2211b9f..1803b09 100644 --- a/packages/stream_chat_v1/lib/main.dart +++ b/packages/stream_chat_v1/lib/main.dart @@ -11,7 +11,6 @@ import 'firebase_options.dart'; Future main() async { WidgetsFlutterBinding.ensureInitialized(); - debugPrint("#firebase; PN_1"); await Firebase.initializeApp( options: DefaultFirebaseOptions.currentPlatform, ); diff --git a/packages/stream_chat_v1/lib/pages/channel_page.dart b/packages/stream_chat_v1/lib/pages/channel_page.dart index 652f266..53d7151 100644 --- a/packages/stream_chat_v1/lib/pages/channel_page.dart +++ b/packages/stream_chat_v1/lib/pages/channel_page.dart @@ -1,6 +1,6 @@ import 'package:collection/collection.dart'; -import 'package:example/routes/routes.dart'; import 'package:example/pages/thread_page.dart'; +import 'package:example/routes/routes.dart'; import 'package:flutter/material.dart'; import 'package:go_router/go_router.dart'; import 'package:stream_chat_flutter/stream_chat_flutter.dart'; @@ -47,14 +47,12 @@ class _ChannelPageState extends State { @override Widget build(BuildContext context) { - print(">>>>>>>>>> CHANNEL PAGE"); return Scaffold( backgroundColor: StreamChatTheme.of(context).colorTheme.appBg, appBar: StreamChannelHeader( showTypingIndicator: false, onBackPressed: () => GoRouter.of(context).pop(), onImageTap: () async { - print(">>>>>>>>>> onImageTap"); final channel = StreamChannel.of(context).channel; final router = GoRouter.of(context); @@ -64,7 +62,6 @@ class _ChannelPageState extends State { (element) => element.user!.id != currentUser!.id, ); if (otherUser != null) { - print(">>>>>>>>>> GROUP_INFO_SCREEN otherUser"); router.pushNamed( Routes.CHAT_INFO_SCREEN.name, params: Routes.CHAT_INFO_SCREEN.params(channel), @@ -72,7 +69,6 @@ class _ChannelPageState extends State { ); } } else { - print(">>>>>>>>>> GROUP_INFO_SCREEN"); GoRouter.of(context).pushNamed( Routes.GROUP_INFO_SCREEN.name, params: Routes.GROUP_INFO_SCREEN.params(channel), diff --git a/packages/stream_chat_v1/lib/utils/notifications_service.dart b/packages/stream_chat_v1/lib/utils/notifications_service.dart index 35e21a5..d649170 100644 --- a/packages/stream_chat_v1/lib/utils/notifications_service.dart +++ b/packages/stream_chat_v1/lib/utils/notifications_service.dart @@ -1,5 +1,5 @@ -import 'package:example/utils/localizations.dart'; import 'package:example/routes/routes.dart'; +import 'package:example/utils/localizations.dart'; import 'package:flutter/material.dart'; import 'package:flutter_local_notifications/flutter_local_notifications.dart' hide Message; @@ -33,8 +33,6 @@ void showLocalNotification( await flutterLocalNotificationsPlugin.initialize( initializationSettings, onSelectNotification: (channelCid) async { - debugPrint("[onSelectNotification] #firebase; channelCid: $channelCid"); - debugPrint("[onSelectNotification] #firebase; context: $context"); if (channelCid != null) { final client = StreamChat.of(context).client; final router = GoRouter.of(context);