Я только что успешно настроил Azure NotificationHubService и смог получить уведомление pu sh. Однако мне интересно, где мой токен устройства хранится в Azure?
// Initialize the Notification Registration Service
self.registrationService = NotificationRegistrationService(
withInstallationId: installationId,
andPushChannel: pushChannel,
andHubNamespace: notificationHubNamespace!,
andHubName: notificationHubName!,
andKeyName: notificationHubKeyName!,
andKey: notificationHubKey!)
// Call register, passing in the tags and template parameters
self.registrationService!.register(withTags: tags, andTemplates: ["genericTemplate" : self.genericTemplate]) { (result) in
if !result {
print("Registration issue")
} else {
print("Registered")
}
}