Skip to content

Commit

Permalink
Version 4.1 to support Push to User (#163)
Browse files Browse the repository at this point in the history
* User Story 7571836: .Net SDK changes for supporting send by userId (#139)

.Net SDK changes for supporting send by userId

* Bump version 4.1.0-preview1

* Update package version to 4.1

Co-authored-by: olga chistyakova <[email protected]>
Co-authored-by: Artem Egorov <[email protected]>
Co-authored-by: Denis Stankovski <[email protected]>
  • Loading branch information
4 people authored Sep 30, 2020
1 parent 06c0cdd commit 58b0c2e
Show file tree
Hide file tree
Showing 15 changed files with 666 additions and 36 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"HttpCalls":[
{
"RequestUriPath":"/sdk-sample-nh/registrations?api-version=2020-06&$top=100",
"StatusCode":200,
"Headers":{
"Transfer-Encoding":"chunked",
"Strict-Transport-Security":"max-age=2592000",
"Date":"Wed, 22 Jul 2020 07:00:59 GMT",
"Server":"Microsoft-HTTPAPI/2.0"
},
"ContentHeaders":{
"Content-Type":"application/atom+xml; type=feed; charset=utf-8"
},
"Content":"<feed xmlns=\"http://www.w3.org/2005/Atom\"><title type=\"text\">Registrations</title><id>https://sdk-sample-namespace.notificationhub.int7.windows-int.net/sdk-sample-nh/registrations?api-version=2020-06&amp;$top=100</id><updated>2020-07-22T07:00:59Z</updated><link rel=\"self\" href=\"https://sdk-sample-namespace.notificationhub.int7.windows-int.net/sdk-sample-nh/registrations?api-version=2020-06&amp;$top=100\"/><entry a:etag=\"W/&quot;1&quot;\" xmlns:a=\"http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\"><id>https://sdk-sample-namespace.notificationhub.int7.windows-int.net/sdk-sample-nh/registrations/8697951862487716102-1012849077441598430-1?api-version=2020-06&amp;$top=100</id><title type=\"text\">8697951862487716102-1012849077441598430-1</title><published>2020-07-22T07:00:59Z</published><updated>2020-07-22T07:00:59Z</updated><link rel=\"self\" href=\"https://sdk-sample-namespace.notificationhub.int7.windows-int.net/sdk-sample-nh/registrations/8697951862487716102-1012849077441598430-1?api-version=2020-06&amp;$top=100\"/><content type=\"application/xml\"><GcmTemplateRegistrationDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><ETag>1</ETag><ExpirationTime>9999-12-31T23:59:59.999Z</ExpirationTime><RegistrationId>8697951862487716102-1012849077441598430-1</RegistrationId><GcmRegistrationId>amzn1.adm-registration.v2.123</GcmRegistrationId><BodyTemplate><![CDATA[{\"data\":{\"message\":\"Message\"}}]]></BodyTemplate><TemplateName>Template Name</TemplateName></GcmTemplateRegistrationDescription></content></entry></feed>"
},
{
"RequestUriPath":"/sdk-sample-nh/registrations/8697951862487716102-1012849077441598430-1?api-version=2020-06",
"StatusCode":200,
"Headers":{
"Strict-Transport-Security":"max-age=2592000",
"Date":"Wed, 22 Jul 2020 07:00:59 GMT",
"Server":"Microsoft-HTTPAPI/2.0"
},
"ContentHeaders":{
"Content-Length":"0"
},
"Content":null
},
{
"RequestUriPath":"/sdk-sample-nh/installations/08c88ecf-32b5-412b-aba2-29be97ce34c3?api-version=2020-06",
"StatusCode":200,
"Headers":{
"Strict-Transport-Security":"max-age=2592000",
"Date":"Wed, 22 Jul 2020 07:00:59 GMT",
"Server":"Microsoft-HTTPAPI/2.0"
},
"ContentHeaders":{
"Content-Length":"0",
"Content-Type":"application/xml; charset=utf-8"
},
"Content":null
},
{
"RequestUriPath":"/sdk-sample-nh/installations/08c88ecf-32b5-412b-aba2-29be97ce34c3?api-version=2020-06",
"StatusCode":200,
"Headers":{
"Transfer-Encoding":"chunked",
"Strict-Transport-Security":"max-age=2592000",
"Date":"Wed, 22 Jul 2020 07:01:01 GMT",
"Server":"Microsoft-HTTPAPI/2.0"
},
"ContentHeaders":{
"Content-Type":"application/xml; charset=utf-8"
},
"Content":"{\"installationId\":\"08c88ecf-32b5-412b-aba2-29be97ce34c3\",\"pushChannel\":\"62BCD3484834B7E2DC56733AC5509259230CC1BA82BA1AE7D06E91908A05A8FA\",\"pushChannelExpired\":false,\"platform\":\"apns\",\"expirationTime\":\"9999-12-31T23:59:59.9999999Z\",\"userId\":\"d798d460-79d2-449a-b2fc-fa5bf4090f38\"}"
}
],
"Guids":[
"08c88ecf-32b5-412b-aba2-29be97ce34c3",
"d798d460-79d2-449a-b2fc-fa5bf4090f38"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"HttpCalls":[
{
"RequestUriPath":"/sdk-sample-nh/registrations?api-version=2020-06&$top=100",
"StatusCode":200,
"Headers":{
"Date":"Thu, 23 Jul 2020 06:14:27 GMT",
"Server":"Microsoft-HTTPAPI/2.0",
"Transfer-Encoding":"chunked",
"Strict-Transport-Security":"max-age=2592000"
},
"ContentHeaders":{
"Content-Type":"application/atom+xml; type=feed; charset=utf-8"
},
"Content":"<feed xmlns=\"http://www.w3.org/2005/Atom\"><title type=\"text\">Registrations</title><id>https://sdk-sample-namespace.notificationhub.int7.windows-int.net/sdk-sample-nh/registrations?api-version=2020-06&amp;$top=100</id><updated>2020-07-23T06:14:27Z</updated><link rel=\"self\" href=\"https://sdk-sample-namespace.notificationhub.int7.windows-int.net/sdk-sample-nh/registrations?api-version=2020-06&amp;$top=100\"/><entry a:etag=\"W/&quot;2&quot;\" xmlns:a=\"http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\"><id>https://sdk-sample-namespace.notificationhub.int7.windows-int.net/sdk-sample-nh/registrations/2958766974336277382-3933120332950681062-2?api-version=2020-06&amp;$top=100</id><title type=\"text\">2958766974336277382-3933120332950681062-2</title><published>2020-07-23T06:14:27Z</published><updated>2020-07-23T06:14:27Z</updated><link rel=\"self\" href=\"https://sdk-sample-namespace.notificationhub.int7.windows-int.net/sdk-sample-nh/registrations/2958766974336277382-3933120332950681062-2?api-version=2020-06&amp;$top=100\"/><content type=\"application/xml\"><AppleRegistrationDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><ETag>2</ETag><ExpirationTime>9999-12-31T23:59:59.9999999Z</ExpirationTime><RegistrationId>2958766974336277382-3933120332950681062-2</RegistrationId><Tags>$InstallationId:{8bd50745-1399-4f29-a8c7-34d1e0472e4e}</Tags><DeviceToken>62BCD3484834B7E2DC56733AC5509259230CC1BA82BA1AE7D06E91908A05A8FA</DeviceToken></AppleRegistrationDescription></content></entry></feed>"
},
{
"RequestUriPath":"/sdk-sample-nh/registrations/2958766974336277382-3933120332950681062-2?api-version=2020-06",
"StatusCode":200,
"Headers":{
"Date":"Thu, 23 Jul 2020 06:14:27 GMT",
"Server":"Microsoft-HTTPAPI/2.0",
"Strict-Transport-Security":"max-age=2592000"
},
"ContentHeaders":{
"Content-Length":"0"
},
"Content":null
},
{
"RequestUriPath":"/sdk-sample-nh/installations/d578eed1-1eef-4dfa-badf-a3a0c14e71e4?api-version=2020-06",
"StatusCode":200,
"Headers":{
"Date":"Thu, 23 Jul 2020 06:14:27 GMT",
"Server":"Microsoft-HTTPAPI/2.0",
"Strict-Transport-Security":"max-age=2592000"
},
"ContentHeaders":{
"Content-Type":"application/xml; charset=utf-8",
"Content-Length":"0"
},
"Content":null
},
{
"RequestUriPath":"/sdk-sample-nh/installations/d578eed1-1eef-4dfa-badf-a3a0c14e71e4?api-version=2020-06",
"StatusCode":200,
"Headers":{
"Date":"Thu, 23 Jul 2020 06:14:27 GMT",
"Server":"Microsoft-HTTPAPI/2.0",
"Strict-Transport-Security":"max-age=2592000"
},
"ContentHeaders":{
"Content-Type":"application/xml; charset=utf-8",
"Content-Length":"0"
},
"Content":null
},
{
"RequestUriPath":"/sdk-sample-nh/installations/d578eed1-1eef-4dfa-badf-a3a0c14e71e4?api-version=2020-06",
"StatusCode":200,
"Headers":{
"Date":"Thu, 23 Jul 2020 06:14:29 GMT",
"Server":"Microsoft-HTTPAPI/2.0",
"Transfer-Encoding":"chunked",
"Strict-Transport-Security":"max-age=2592000"
},
"ContentHeaders":{
"Content-Type":"application/xml; charset=utf-8"
},
"Content":"{\"installationId\":\"d578eed1-1eef-4dfa-badf-a3a0c14e71e4\",\"pushChannel\":\"62BCD3484834B7E2DC56733AC5509259230CC1BA82BA1AE7D06E91908A05A8FA\",\"pushChannelExpired\":false,\"platform\":\"apns\",\"expirationTime\":\"9999-12-31T23:59:59.9999999Z\"}"
}
],
"Guids":[
"22ce92d1-f035-470c-a5d4-5b10e2fb25c1"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
{
"HttpCalls":[
{
"RequestUriPath":"/sdk-sample-nh/registrations?api-version=2020-06&$top=100",
"StatusCode":200,
"Headers":{
"Date":"Thu, 23 Jul 2020 06:17:19 GMT",
"Server":"Microsoft-HTTPAPI/2.0",
"Transfer-Encoding":"chunked",
"Strict-Transport-Security":"max-age=2592000"
},
"ContentHeaders":{
"Content-Type":"application/atom+xml; type=feed; charset=utf-8"
},
"Content":"<feed xmlns=\"http://www.w3.org/2005/Atom\"><title type=\"text\">Registrations</title><id>https://sdk-sample-namespace.notificationhub.int7.windows-int.net/sdk-sample-nh/registrations?api-version=2020-06&amp;$top=100</id><updated>2020-07-23T06:17:19Z</updated><link rel=\"self\" href=\"https://sdk-sample-namespace.notificationhub.int7.windows-int.net/sdk-sample-nh/registrations?api-version=2020-06&amp;$top=100\"/><entry a:etag=\"W/&quot;2&quot;\" xmlns:a=\"http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\"><id>https://sdk-sample-namespace.notificationhub.int7.windows-int.net/sdk-sample-nh/registrations/1235678600237462167-6691617373323867479-2?api-version=2020-06&amp;$top=100</id><title type=\"text\">1235678600237462167-6691617373323867479-2</title><published>2020-07-23T06:17:19Z</published><updated>2020-07-23T06:17:19Z</updated><link rel=\"self\" href=\"https://sdk-sample-namespace.notificationhub.int7.windows-int.net/sdk-sample-nh/registrations/1235678600237462167-6691617373323867479-2?api-version=2020-06&amp;$top=100\"/><content type=\"application/xml\"><AppleRegistrationDescription xmlns=\"http://schemas.microsoft.com/netservices/2010/10/servicebus/connect\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><ETag>2</ETag><ExpirationTime>9999-12-31T23:59:59.9999999Z</ExpirationTime><RegistrationId>1235678600237462167-6691617373323867479-2</RegistrationId><Tags>$InstallationId:{69ddbc47-864d-4b90-ac0a-3e5d45655e42},$UserId:{77a8db6e-c1d3-41a3-9aa7-06bfef487a5a}</Tags><DeviceToken>62BCD3484834B7E2DC56733AC5509259230CC1BA82BA1AE7D06E91908A05A8FA</DeviceToken></AppleRegistrationDescription></content></entry></feed>"
},
{
"RequestUriPath":"/sdk-sample-nh/registrations/1235678600237462167-6691617373323867479-2?api-version=2020-06",
"StatusCode":200,
"Headers":{
"Date":"Thu, 23 Jul 2020 06:17:19 GMT",
"Server":"Microsoft-HTTPAPI/2.0",
"Strict-Transport-Security":"max-age=2592000"
},
"ContentHeaders":{
"Content-Length":"0"
},
"Content":null
},
{
"RequestUriPath":"/sdk-sample-nh/installations/716f40c0-f43f-49e5-ac73-d0fe162d1417?api-version=2020-06",
"StatusCode":200,
"Headers":{
"Date":"Thu, 23 Jul 2020 06:17:19 GMT",
"Server":"Microsoft-HTTPAPI/2.0",
"Strict-Transport-Security":"max-age=2592000"
},
"ContentHeaders":{
"Content-Type":"application/xml; charset=utf-8",
"Content-Length":"0"
},
"Content":null
},
{
"RequestUriPath":"/sdk-sample-nh/installations/716f40c0-f43f-49e5-ac73-d0fe162d1417?api-version=2020-06",
"StatusCode":200,
"Headers":{
"Date":"Thu, 23 Jul 2020 06:17:19 GMT",
"Server":"Microsoft-HTTPAPI/2.0",
"Strict-Transport-Security":"max-age=2592000"
},
"ContentHeaders":{
"Content-Type":"application/xml; charset=utf-8",
"Content-Length":"0"
},
"Content":null
},
{
"RequestUriPath":"/sdk-sample-nh/installations/716f40c0-f43f-49e5-ac73-d0fe162d1417?api-version=2020-06",
"StatusCode":200,
"Headers":{
"Date":"Thu, 23 Jul 2020 06:17:21 GMT",
"Server":"Microsoft-HTTPAPI/2.0",
"Transfer-Encoding":"chunked",
"Strict-Transport-Security":"max-age=2592000"
},
"ContentHeaders":{
"Content-Type":"application/xml; charset=utf-8"
},
"Content":"{\"installationId\":\"716f40c0-f43f-49e5-ac73-d0fe162d1417\",\"pushChannel\":\"62BCD3484834B7E2DC56733AC5509259230CC1BA82BA1AE7D06E91908A05A8FA\",\"pushChannelExpired\":false,\"platform\":\"apns\",\"expirationTime\":\"9999-12-31T23:59:59.9999999Z\",\"userId\":\"5812c2fb-756d-41d0-acde-0cdb3ca5e511\"}"
}
],
"Guids":[
"038fde2f-382b-4ef9-a017-54f24a7bc609",
"5812c2fb-756d-41d0-acde-0cdb3ca5e511"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"HttpCalls":[
{
"RequestUriPath":"/sdk-sample-nh/registrations?api-version=2020-06&$top=100",
"StatusCode":200,
"Headers":{
"Transfer-Encoding":"chunked",
"Strict-Transport-Security":"max-age=2592000",
"Date":"Thu, 23 Jul 2020 04:33:54 GMT",
"Server":"Microsoft-HTTPAPI/2.0"
},
"ContentHeaders":{
"Content-Type":"application/atom+xml; type=feed; charset=utf-8"
},
"Content":"<feed xmlns=\"http://www.w3.org/2005/Atom\"><title type=\"text\">Registrations</title><id>https://sdk-sample-namespace.notificationhub.int7.windows-int.net/sdk-sample-nh/registrations?api-version=2020-06&amp;$top=100</id><updated>2020-07-23T04:33:54Z</updated><link rel=\"self\" href=\"https://sdk-sample-namespace.notificationhub.int7.windows-int.net/sdk-sample-nh/registrations?api-version=2020-06&amp;$top=100\"/></feed>"
},
{
"RequestUriPath":"/sdk-sample-nh/installations/80fee11a-30ab-494c-970a-ce8eda14c142?api-version=2020-06",
"StatusCode":200,
"Headers":{
"Strict-Transport-Security":"max-age=2592000",
"Date":"Thu, 23 Jul 2020 04:33:54 GMT",
"Server":"Microsoft-HTTPAPI/2.0"
},
"ContentHeaders":{
"Content-Length":"0",
"Content-Type":"application/xml; charset=utf-8"
},
"Content":null
},
{
"RequestUriPath":"/sdk-sample-nh/installations/80fee11a-30ab-494c-970a-ce8eda14c142?api-version=2020-06",
"StatusCode":200,
"Headers":{
"Strict-Transport-Security":"max-age=2592000",
"Date":"Thu, 23 Jul 2020 04:33:55 GMT",
"Server":"Microsoft-HTTPAPI/2.0"
},
"ContentHeaders":{
"Content-Length":"0",
"Content-Type":"application/xml; charset=utf-8"
},
"Content":null
},
{
"RequestUriPath":"/sdk-sample-nh/installations/80fee11a-30ab-494c-970a-ce8eda14c142?api-version=2020-06",
"StatusCode":200,
"Headers":{
"Transfer-Encoding":"chunked",
"Strict-Transport-Security":"max-age=2592000",
"Date":"Thu, 23 Jul 2020 04:33:56 GMT",
"Server":"Microsoft-HTTPAPI/2.0"
},
"ContentHeaders":{
"Content-Type":"application/xml; charset=utf-8"
},
"Content":"{\"installationId\":\"80fee11a-30ab-494c-970a-ce8eda14c142\",\"pushChannel\":\"62BCD3484834B7E2DC56733AC5509259230CC1BA82BA1AE7D06E91908A05A8FA\",\"pushChannelExpired\":false,\"platform\":\"apns\",\"expirationTime\":\"9999-12-31T23:59:59.9999999Z\",\"userId\":\"ab25de9f-fcf7-49db-a527-28f797b148b6\"}"
}
],
"Guids":[
"ab25de9f-fcf7-49db-a527-28f797b148b6"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"HttpCalls":[
{
"RequestUriPath":"/sdk-sample-nh/messages?api-version=2020-06",
"StatusCode":201,
"Headers":{
"Strict-Transport-Security":"max-age=2592000",
"Date":"Thu, 23 Jul 2020 04:27:53 GMT",
"Location":"https://sdk-sample-namespace.notificationhub.int7.windows-int.net/sdk-sample-nh/messages/2e7f83cc61d44e3d9397c86939918508-20200723042753-586152-10?api-version=2020-06",
"Server":"Microsoft-HTTPAPI/2.0"
},
"ContentHeaders":{
"Content-Length":"0",
"Content-Type":"application/xml; charset=utf-8"
},
"Content":null
}
],
"Guids":[

]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"HttpCalls":[
{
"RequestUriPath":"/sdk-sample-nh/messages?api-version=2020-06",
"StatusCode":201,
"Headers":{
"Strict-Transport-Security":"max-age=2592000",
"Date":"Thu, 23 Jul 2020 04:28:44 GMT",
"Location":"https://sdk-sample-namespace.notificationhub.int7.windows-int.net/sdk-sample-nh/messages/4995f50796f046d6a61aa7580af3c9c7-20200723042844-586152-24?api-version=2020-06",
"Server":"Microsoft-HTTPAPI/2.0"
},
"ContentHeaders":{
"Content-Length":"0",
"Content-Type":"application/xml; charset=utf-8"
},
"Content":null
}
],
"Guids":[

]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"HttpCalls":[
{
"RequestUriPath":"/sdk-sample-nh/messages?api-version=2020-06",
"StatusCode":201,
"Headers":{
"Strict-Transport-Security":"max-age=2592000",
"Date":"Thu, 23 Jul 2020 04:27:57 GMT",
"Location":"https://sdk-sample-namespace.notificationhub.int7.windows-int.net/sdk-sample-nh/messages/08fd2acb81ef40179d2cffb2f0bb61fb-20200723042757-586152-5?api-version=2020-06",
"Server":"Microsoft-HTTPAPI/2.0"
},
"ContentHeaders":{
"Content-Length":"0",
"Content-Type":"application/xml; charset=utf-8"
},
"Content":null
}
],
"Guids":[

]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"HttpCalls":[
{
"RequestUriPath":"/sdk-sample-nh/messages?api-version=2020-06",
"StatusCode":201,
"Headers":{
"Strict-Transport-Security":"max-age=2592000",
"Date":"Thu, 23 Jul 2020 04:29:00 GMT",
"Location":"https://sdk-sample-namespace.notificationhub.int7.windows-int.net/sdk-sample-nh/messages/95b3a2e4ebad4a6792844af93a2e2a88-20200723042900-586152-11?api-version=2020-06",
"Server":"Microsoft-HTTPAPI/2.0"
},
"ContentHeaders":{
"Content-Length":"0",
"Content-Type":"application/xml; charset=utf-8"
},
"Content":null
}
],
"Guids":[

]
}
Loading

0 comments on commit 58b0c2e

Please sign in to comment.