none_sbp
none_sbp
added more info here  
@paulinon sure, `FirebaseAnalytics.SetAnalyticsCollectionEnabled(true);` ` void InitializeFirebase() { DebugLog("Enabling data collection."); FirebaseAnalytics.SetAnalyticsCollectionEnabled(true); FirebaseAnalytics.SetUserId("xxxx"); FirebaseAnalytics.SetSessionTimeoutDuration(new TimeSpan(0, 30, 0)); firebaseInitialized = true; }`
@paulinon we are only using Messaging part, ``` public static event EventHandler MessageReceived FirebaseMessaging.MessageReceived += OnNotificationMessageReceived; ```
``` private void OnNotificationMessageReceived(object sender, MessageReceivedEventArgs args) { FMLogger.vCore("Push received"); if (args != null && args.Message != null) { string pushId = string.IsNullOrEmpty(args.Message.MessageId) ? "null" : args.Message.MessageId; AppState.PushNotificationId = pushId;...
@paulinon sure, already here https://github.com/firebase/quickstart-unity/issues/1286#issuecomment-1171550951
@paulinon `FirebaseAnalytics.LogEvent(eventName);` **Does the crash occur when the notification is received while the app is running or does it appear after tapping the notification?** We cannot reproduce it locally, but...
@paulinon I`m not sure that I catch your question, could you rephrase please. In my opinion, the root cause displayed on screenshots and the fix is easy.
@paulinon I added logs into the topic, please, take a look
@paulinon Will be great if your team pushed out Firebase code into open source, we can do all improvements by self... 1) ` public static void EnableTracking() { FirebaseMessaging.TokenRegistrationOnInitEnabled =...
Hi @paulinon in our code, we do: ` FirebaseMessaging.UnsubscribeAsync(topic); FirebaseMessaging.SubscribeAsync(topic); ` we use `EventHandler TokenReceived` **and** ` public static event EventHandler MessageReceived` **implementation** : `FirebaseMessaging.MessageReceived += OnNotificationMessageReceived;` ` FirebaseMessaging.TokenReceived +=...