Skip to content

Commit ee37b82

Browse files
committed
Incorp more feedback
1 parent 109d8f8 commit ee37b82

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed

articles/notification-hubs/firebase-migration-rest.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,23 @@ Go to your notification hub on the Azure portal, and select **Settings > Google
5959

6060
See the [description of a NotificationHub FcmV1Credential.](/rest/api/notificationhubs/notification-hubs/create-or-update?view=rest-notificationhubs-2023-10-01-preview&tabs=HTTP#fcmv1credential).
6161

62+
- Use API version: 2023-10-01-preview
63+
- **FcmV1CredentialProperties**:
64+
65+
| Name | Type |
66+
|--------------------|---------------|
67+
| `clientEmail` | string |
68+
| `privateKey` | string |
69+
| `projectId` | string |
70+
6271
#### Option 3: Update FcmV1 credentials via data plane hub operation
6372

64-
See [Create a notification hub](/rest/api/notificationhubs/create-notification-hub) and [Update a notification hub](/rest/api/notificationhubs/update-notification-hub). Make sure to put **FcmV1Credential** after **GcmCredential**, as the order is important. For example:
73+
See [Create a notification hub](/rest/api/notificationhubs/create-notification-hub) and [Update a notification hub](/rest/api/notificationhubs/update-notification-hub).
74+
75+
- Use API version: 2015-01
76+
- Make sure to put **FcmV1Credential** after **GcmCredential**, as the order is important.
77+
78+
For example, the following is the request body:
6579

6680
```xml
6781
<NotificationHubDescription xmlns:i='http://www.w3.org/2001/XMLSchema-instance'
@@ -175,6 +189,14 @@ Use this procedure to test notifications prior to option 2, 3, or 4. See [Notifi
175189
> [!NOTE]
176190
> Use API version: 2023-10-01-preview.
177191
192+
In the header:
193+
194+
| Request header | Value |
195+
|--------------------------------------|---------------------------------------|
196+
| `Content-Type` | `application/json;charset=utf-8` |
197+
| `ServiceBusNotification-Format` | Set to `fcmV1` or `template` |
198+
| `Servicebusnotification-Tags` | {single tag identifier} |
199+
178200
Test a payload [with the following structure](https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages/send) via debug send. Note that FcmV1 introduces a significant change in the structuring of the JSON message payload:
179201

180202
1. The entire payload moved under a message object.

articles/notification-hubs/notification-hubs-gcm-to-fcm.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.lastreviewed: 03/01/2024
1313

1414
# Azure Notification Hubs and Google Firebase Cloud Messaging migration
1515

16-
The core capabilities for the integration of Azure Notification Hubs with Firebase Cloud Messaging (FCM) v1 are ready for testing. As a reminder, Google will stop supporting FCM legacy HTTP on June 20, 2024, so you must migrate your applications and notification payloads to the new format before then. All methods of onboarding will be ready for migration by March 1, 2024.
16+
The core capabilities for the integration of Azure Notification Hubs with Firebase Cloud Messaging (FCM) v1 are avaiable. As a reminder, Google will stop supporting FCM legacy HTTP on June 20, 2024, so you must migrate your applications and notification payloads to the new format before then.
1717

1818
## Concepts for FCM v1
1919

@@ -22,7 +22,7 @@ The core capabilities for the integration of Azure Notification Hubs with Fireba
2222

2323
## Migration steps
2424

25-
The Firebase Cloud Messaging (FCM) legacy API will be deprecated by July 2024. You can begin migrating from the legacy HTTP protocol to FCM v1 on March 1, 2024. You must complete the migration by June 2024.
25+
The Firebase Cloud Messaging (FCM) legacy API will be deprecated by July 2024. You can begin migrating from the legacy HTTP protocol to FCM v1 now. You must complete the migration by June 2024.
2626

2727
- For information about migrating from FCM legacy to FCM v1 using the Azure SDKs, see [Google Firebase Cloud Messaging (FCM) migration using SDKs](firebase-migration-sdk.md).
2828
- For information about migrating from FCM legacy to FCM v1 using the Azure REST APIs, see [Google Firebase Cloud Messaging (FCM) migration using REST APIs](firebase-migration-rest.md).

0 commit comments

Comments
 (0)