Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions PushSharp.Apple/ApnsFeedbackService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ public FeedbackService (ApnsConfiguration configuration)

public ApnsConfiguration Configuration { get; private set; }

public delegate void FeedbackReceivedDelegate (string deviceToken, DateTime timestamp);
public delegate void FeedbackReceivedDelegate (string deviceToken, DateTime timestamp, object optionalData);
public event FeedbackReceivedDelegate FeedbackReceived;

public void Check ()
public void Check (object optionalData = null)
{
var encoding = Encoding.ASCII;

Expand Down Expand Up @@ -94,7 +94,7 @@ public void Check ()
// Raise the event to the consumer
var evt = FeedbackReceived;
if (evt != null)
evt (token, timestamp);
evt (token, timestamp, optionalData);
} else {
continue;
}
Expand Down