You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/notification-hubs/android-sdk.md
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ title: Send push notifications to Android using Azure Notification Hubs and Fire
4
4
description: In this tutorial, you learn how to use Azure Notification Hubs and Google Firebase Cloud Messaging to send push notifications to Android devices (version 1.0.0-preview1).
5
5
author: sethmanheim
6
6
ms.author: sethm
7
-
ms.date: 5/28/2020
7
+
ms.date: 11/14/2022
8
8
ms.topic: tutorial
9
9
ms.service: notification-hubs
10
10
ms.reviewer: thsomasu
@@ -82,6 +82,16 @@ The first step is to create a project in Android Studio:
82
82
83
83
8. Copy and save the **Server key** for later use. You use this value to configure your hub.
84
84
85
+
9. If you do not see a **Server key** on the **Firebase Cloud Messaging** tab, follow these steps:
86
+
1. Select the three-dots menu of the **Cloud Messaging API (Legacy) Disabled** heading.
87
+
1. Follow the link to **Manage API in Google Cloud Console**.
88
+
1. In the Google Cloud Console, select the button to enable the Google Cloud Messaging API.
89
+
1. Wait a few minutes.
90
+
1. Go back to your Firebase console project **Cloud Messaging** tab, and refresh the page.
91
+
1. See that the Cloud Messaging API header has changed to **Cloud Messaging API (Legacy) Enabled** and now shows a server key.
0 commit comments