Skip to content

Commit 99a3577

Browse files
authored
Update firebase-migration-update-sdk.md
1 parent bd67b3f commit 99a3577

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

articles/notification-hubs/firebase-migration-update-sdk.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,25 @@
11
---
2-
title: Updating Azure Notification Hub with FCMv1 Credentials
2+
title: Updating Azure notification hub with FCMv1 credentials
33
description: Describes how Azure Notification Hubs can be updated using FCMv1 credentials
44
author: sreeharir
55
manager: nanooka
66
ms.service: azure-notification-hubs
77
ms.topic: article
8-
ms.date: 09/04/2024
8+
ms.date: 09/12/2024
99
ms.author: sreeharir
1010
ms.reviewer: sethm
11-
ms.lastreviewed: 09/04/2024
11+
ms.lastreviewed: 09/12/2024
1212
---
1313

1414
# Updating Azure Notification Hub with FCMv1 Credentials
1515

16-
## Introduction
17-
This guide explains how to update an Azure Notification Hub with FCMv1 credentials using the Azure Management SDK for .NET. This is essential for enabling push notifications to Android devices via Firebase Cloud Messaging (FCMv1).
16+
This guide explains how to update an Azure notification hub with FCMv1 credentials using the Azure Management SDK for .NET. This is essential for enabling push notifications to Android devices via Firebase Cloud Messaging (FCMv1).
1817

1918
## Prerequisites
2019
- An existing Azure Notification Hub within a namespace.
2120
- FCMv1 credentials including `clientEmail`, `privateKey`, and `projectId`.
2221

23-
### Step 1: Setup and Retrieve the Notification Hub
22+
### Step 1: Set up and retrieve the Notification Hub
2423
Before you can update the Notification Hub, ensure that you have set up the `ArmClient` and retrieved the relevant Notification Hub resource.
2524

2625
```csharp
@@ -31,7 +30,7 @@ NotificationHubNamespaceResource notificationHubNamespaceResource = resourceGrou
3130
NotificationHubResource notificationHubResource = notificationHubNamespaceResource.GetNotificationHubs().Get(notificationHubName);
3231
```
3332

34-
### Step 2: Define and Update FCMv1 Credentials
33+
### Step 2: Define and update FCMv1 credentials
3534
Next, create an `FcmV1Credential` object with your FCMv1 details and use it to update the Notification Hub.
3635

3736
```csharp
@@ -44,7 +43,7 @@ NotificationHubResource updatedNotificationHub = await notificationHubResource.U
4443
Console.WriteLine($"Notification Hub '{notificationHubName}' updated successfully with FCMv1 credentials.");
4544
```
4645

47-
### Step 3: Verify the Update
46+
### Step 3: Verify the update
4847
After updating, you can verify the credentials by retrieving and printing them.
4948

5049
```csharp
@@ -54,7 +53,7 @@ Console.WriteLine($"FCMv1 Credentials Email: '{notificationHubCredentials.FcmV1C
5453

5554
This step confirms that the Notification Hub has been updated with the correct FCMv1 credentials.
5655

57-
## Complete Code Example
56+
## Complete code example
5857
Below is the complete code example that includes the setup, creation, update, and verification of the Notification Hub.
5958

6059
```csharp

0 commit comments

Comments
 (0)