From 6c6db8c6ae0aa0b3d6dd8b6f3e7f4366d7c3b4af Mon Sep 17 00:00:00 2001 From: Mohammed Mohsin <59914433+mdmohsin7@users.noreply.github.com> Date: Fri, 15 Nov 2024 18:48:46 +0530 Subject: [PATCH] add chat message mixpanel event --- app/lib/pages/chat/page.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/lib/pages/chat/page.dart b/app/lib/pages/chat/page.dart index 2ad39aeeb..368a9bf45 100644 --- a/app/lib/pages/chat/page.dart +++ b/app/lib/pages/chat/page.dart @@ -15,6 +15,7 @@ import 'package:friend_private/providers/connectivity_provider.dart'; import 'package:friend_private/providers/home_provider.dart'; import 'package:friend_private/providers/memory_provider.dart'; import 'package:friend_private/providers/message_provider.dart'; +import 'package:friend_private/utils/analytics/mixpanel.dart'; import 'package:friend_private/widgets/dialog.dart'; import 'package:gradient_borders/gradient_borders.dart'; import 'package:provider/provider.dart'; @@ -317,6 +318,7 @@ class ChatPageState extends State with AutomaticKeepAliveClientMixin { } _sendMessageUtil(String message) async { + MixpanelManager().chatMessageSent(message); context.read().setSendingMessage(true); String? appId = SharedPreferencesUtil().selectedChatAppId == 'no_selected' ? null : SharedPreferencesUtil().selectedChatAppId;