Open yuki-0310 opened 3 years ago
Bumping this issue - I have also ran into this issue.
A hacky work around seems to be to remove the Installation before calling CreateOrUpdateInstallation
. I.E. first calling DeleteInstallationAsync
It would be good to have some knowledge on how the Expiration Date works under the hood, since updating an existing installation does not seem to update the expiration date.
[Prerequisites and implementation procedures] The expiration date of the Installation is not updated after "NotificationHubClient.CreateOrUpdateInstallation()". The information is listed below.
(1)Prerequisite Vresion of NotificationHubClient:
region assembly Microsoft.Azure.NotificationHubs, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
// E:\ICF_AutoCapsule_disabled\SPApp_SOFT\main\nuget\packages\microsoft.azure.notificationhubs\4.0.0\lib\netstandard2.0\Microsoft.Azure.NotificationHubs.dll
endregion
ExpirationTime = System date + 2 hours,
Tags = ["ALL","PF:iOS","ID:120000524","USE:Registered"]
ExpirationTime = System date + 2 hours,
Tags = ["ALL","PF:iOS","ID:120000524","USE:Registered"]
ExpirationTime = System date + 2 hours,
Tags = ["ALL","PF:iOS","ID:120000524","USE:Registered"]
ExpirationTime = System date + 2 hours,
Tags = ["ALL","PF:iOS","ID:120000524","USE:Registered","test"]
If you have also updated the Tags in #3, the ExpirationTime has been updated.
[Question] After updating the expiration date in above (2)Implementation procedures -> Case 1 -> # 3 of the Implementation procedures, could you tell me why the expiration date is not being renewed ?