Exemplo n.º 1
0
        public CommandNotification PushNotification(PushNotificationPayload payload)
        {
            var preffix = PushNotificationProviderHelper.GetVisitDescription(payload);

            _textWriter.WriteLine(preffix);

            _textWriter.WriteLine("===> No campaign with matching target");

            _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($"===> Localytics logging: {{ \"message\": \"{payload.Message}\", device_id: \"{payload.DeviceId}\" }}");

            _textWriter.WriteLine();

            return(new CommandNotification());
        }
Exemplo n.º 3
0
        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());
        }