public CommandNotification PushNotification(PushNotificationPayload payload) { var visitDescription = PushNotificationProviderHelper.GetVisitDescription(payload); _textWriter.WriteLine(visitDescription); var deviceDescription = PushNotificationProviderHelper.GetDeviceDescription(payload); _textWriter.WriteLine(deviceDescription); _textWriter.WriteLine($"===> Localytics logging: {{ \"message\": \"{payload.Message}\", device_id: \"{payload.DeviceId}\" }}"); _textWriter.WriteLine(); return(new CommandNotification()); }
public CommandNotification PushNotification(PushNotificationPayload payload) { var visitDescription = PushNotificationProviderHelper.GetVisitDescription(payload); _textWriter.WriteLine(visitDescription); var deviceDescription = PushNotificationProviderHelper.GetDeviceDescription(payload); _textWriter.WriteLine(deviceDescription); _textWriter.WriteLine($"===> Mixpanel logging: Olar! {payload.Message}"); _textWriter.WriteLine(); return(new CommandNotification()); }