Created
May 13, 2020 14:36
-
-
Save sjehutch/7edfd9acb4c66bccd8f77ecfab58d27b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Retrieve installation from local storage and | |
// create new one if it does not exist | |
var installation = SettingsHelper.Installation; | |
if (installation == null) | |
{ | |
installation = new Installation | |
{ | |
InstallationId = Guid.NewGuid().ToString(), | |
Platform = NotificationPlatform.Wns, | |
PushChannel = pushNotificationChannel.ToString(), | |
Tags = new List<string> {“news", "sports"} | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment