By default, the GetRegistrationsByChannel hard codes the pnsHandle to equal ChannelUri which is only valid for WNS/MPNS, whereas other providers have DeviceToken. See GetAllRegistrationsImplAsync where it hard codes to ChannelUri.
Exception or Stack Trace
Add the exception log and stack trace if available
To Reproduce
Steps to reproduce the behavior:
Code Snippet
Add the code snippet that causes the issue.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):
OS: [e.g. Windows 10]
IDE : [e.g. Visual Studio 2019]
Version of the Library used
Additional context
Add any other context about the problem here.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
Describe the bug
By default, the
GetRegistrationsByChannel
hard codes thepnsHandle
to equalChannelUri
which is only valid for WNS/MPNS, whereas other providers haveDeviceToken
. See GetAllRegistrationsImplAsync where it hard codes toChannelUri
.Exception or Stack Trace Add the exception log and stack trace if available
To Reproduce Steps to reproduce the behavior:
Code Snippet Add the code snippet that causes the issue.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):
Additional context Add any other context about the problem here.
Information Checklist Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report