Skip to content

Commit 6cd62de

Browse files
committed
ANH: fix template registration XML
1 parent 3e6408d commit 6cd62de

File tree

1 file changed

+21
-19
lines changed

1 file changed

+21
-19
lines changed

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

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ author: sethmanheim
55
manager: femila
66
ms.service: notification-hubs
77
ms.topic: article
8-
ms.date: 03/01/2024
8+
ms.date: 04/12/2024
99
ms.author: sethm
1010
ms.reviewer: heathertian
11-
ms.lastreviewed: 03/01/2024
11+
ms.lastreviewed: 04/12/2024
1212
---
1313

1414
# Google Firebase Cloud Messaging migration using REST API and the Azure portal
@@ -158,26 +158,28 @@ If you have an existing GCM registration, update the registration to **FcmV1Regi
158158

159159
```xml
160160
// FcmV1Registration
161-
<?xml version="1.0" encoding="utf-8"?>
162-
<entry xmlns="http://www.w3.org/2005/Atom">
163-
    <content type="application/xml">
164-
        <FcmV1RegistrationDescription xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect">
165-
<Tags>myTag, myOtherTag</Tags>
166-
            <FcmV1RegistrationId>{deviceToken}</FcmV1RegistrationId>
167-
        </FcmV1RegistrationDescription>
168-
    </content>
161+
<?xml version="1.0" encoding="utf-8"?>
162+
<entry xmlns="http://www.w3.org/2005/Atom">
163+
<content type="application/xml">
164+
<FcmV1RegistrationDescription xmlns:i="http://www.w3.org/2001/XMLSchema-instance"
165+
xmlns="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect">
166+
<Tags>myTag, myOtherTag</Tags>
167+
<FcmV1RegistrationId>{deviceToken}</FcmV1RegistrationId>
168+
</FcmV1RegistrationDescription>
169+
</content>
169170
</entry>
170171

171172
// FcmV1TemplateRegistration
172-
<?xml version="1.0" encoding="utf-8"?>
173-
<entry xmlns="http://www.w3.org/2005/Atom">
174-
    <content type="application/xml">
175-
        <FcmV1TemplateRegistrationDescription xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect">
176-
            <Tags>myTag, myOtherTag</Tags>
177-
            <FcmV1RegistrationId>{deviceToken}</FcmV1RegistrationId>
178-
            <BodyTemplate><![CDATA[ {BodyTemplate}]]></BodyTemplate>
179-
        </ FcmV1TemplateRegistrationDescription >
180-
    </content>
173+
<?xml version="1.0" encoding="utf-8"?>
174+
<entry xmlns="http://www.w3.org/2005/Atom">
175+
<content type="application/xml">
176+
<FcmV1TemplateRegistrationDescription xmlns:i="http://www.w3.org/2001/XMLSchema-instance"
177+
xmlns="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect">
178+
<Tags>myTag, myOtherTag</Tags>
179+
<FcmV1RegistrationId>{deviceToken}</FcmV1RegistrationId>
180+
<BodyTemplate><![CDATA[ {BodyTemplate}]]></BodyTemplate>
181+
</FcmV1TemplateRegistrationDescription>
182+
</content>
181183
</entry>
182184
```
183185

0 commit comments

Comments
 (0)