Open Closed

Notification shown twice for a single Push. #5105


0
velu created

Hi,

We are using .netcore1.* angular 4(Combined)

When we send the notification to the user, User receives two notification for the single push.

Please help me to solve this issue.

Thanks


9 Answer(s)
  • 0
    ismcagdas created
    Support Team

    Hi @velu,

    Do you have two records on the database or a single record for the related notification ?

  • 0
    velu created

    Hi,

    We are using the following code to send notification.

    using (_unitOfWorkManager.Current.SetTenantId(null))
                {
                    await _notificationPublisher.PublishAsync(
                   notificationName,
                   new MessageNotificationData(message),
                   severity: NotificationSeverity.Info,
                   tenantIds: new[] { user.TenantId }
                   );
                   await _unitOfWorkManager.Current.SaveChangesAsync();
                }
    

    is there any problem with this code.

    Thanks

  • 0
    velu created

    Hi,

    We found that two records for the single push in the abptenantnotifications table.

    How can we solve this?

    Thanks.

  • 0
    ismcagdas created
    Support Team

    @velu could you share a screenshot of the data in AbpTenantNotifications table ?

  • 0
    velu created

    HI,

    Please check data from tenant notification.

    <a class="postlink" href="https://drive.google.com/open?id=1latLCFfxLExffvRxdJlKdKiMp8cgivEl">https://drive.google.com/open?id=1latLC ... iMp8cgivEl</a>

    Thanks

  • 0
    ismcagdas created
    Support Team

    @velu could you share your project via email ?

  • 0
    velu created

    Hi,

    Any bug found in this.

    Please help us to solve this issue.

    Thanks

  • 0
    alper created
    Support Team

    hi

    couldn't find your email, sorry. what was the topic of your email?

  • 0
    velu created

    Hi,

    Email subject: NOTIFICATION SHOWN TWICE FOR A SINGLE PUSH (SOLUTION)

    From Email <a href="mailto:Vaibhav@dpsecure.in">Vaibhav@dpsecure.in</a>

    Thanks.