Skip to content

Commit edae9e7

Browse files
Update notification-hubs-enable-firebase-cloud-messaging.md
The user must enable the firebase legacy API, because it is now disabled by default, but notification-hubs depends on it.
1 parent cb46323 commit edae9e7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

includes/notification-hubs-enable-firebase-cloud-messaging.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,10 @@
5252
![Select Project Settings](./media/notification-hubs-enable-firebase-cloud-messaging/notification-hubs-firebase-console-project-settings.png)
5353
4. If you haven't downloaded the google-services.json file into the **app** folder of your Android Studio project, you can do so on this page.
5454
5. Switch to the **Cloud Messaging** tab at the top.
55-
6. Copy and save the **Server key** for later use. You use this value to configure your hub.
55+
6. Copy and save the **Server key** for later use. You use this value to configure your hub.
56+
7. If you do not see a **Server Key** on the firebase Cloud Messaging tab, follow these additional steps
57+
1. Click on the three-dots menu of the "Cloud Messaging API (Legacy) 🚫 Disabled" Heading
58+
2. Follow the offered link to manage in google cloud console, and there press the button to enable the googlecloudmessaging API
59+
3. Wait a few minutes
60+
4. Go back to your Firebase console Cloud Messaging Tab, and refresh.
61+
5. See that the Cloud Messaging API header has changed to "Cloud Messaging API (Legacy) ✅ Enabled" and that a Server Key is now shown.

0 commit comments

Comments
 (0)