none_sbp

Results 28 comments of none_sbp

added more info here ![image](https://user-images.githubusercontent.com/77659032/176104837-623f3553-526e-4db6-9042-2cb1a3819a68.png) ![image](https://user-images.githubusercontent.com/77659032/176105021-607be87a-3d35-45b4-84de-d321756efcff.png)

@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 +=...