Replies: 3 comments 8 replies
-
Technically, you can resolve Shiny.Push.AzureNotificationHubs.AzureNotificationConfig, change its values and call RequestAccess again. Anytime you are changing anything within the connection string, you will need to call UnRegister first to clear any existing configuration. This is not a supported scenario at all, but in theory, could work. Best of luck. |
Beta Was this translation helpful? Give feedback.
-
Cool, thanks for the quick reply. I will give it a shot! |
Beta Was this translation helpful? Give feedback.
-
For any who are interested here is how I accomplished this:
You can set some breakpoints and inspect the Also, this is for Shiny 2.2, not sure if it works in more recent versions. |
Beta Was this translation helpful? Give feedback.
-
I am still running v2.2 so I am registering my azure push like this:
services.UsePushAzureNotificationHubs<PushDelegate>(listenConnectionString, notificationHubName);
Based on the user's role that signs into my app I need to change the connection string and hub name.
Is there a way to "re-register" the push service stuff later in the app's runtime?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions