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
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,11 +3,11 @@ title: Send push notifications to Android using Azure Notification Hubs and Fire
3
3
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).
4
4
author: sethmanheim
5
5
ms.author: sethm
6
-
ms.date: 06/30/2023
6
+
ms.date: 03/14/2024
7
7
ms.topic: tutorial
8
8
ms.service: notification-hubs
9
-
ms.reviewer: thsomasu
10
-
ms.lastreviewed: 05/27/2020
9
+
ms.reviewer: heathertian
10
+
ms.lastreviewed: 03/14/2024
11
11
ms.custom: devx-track-csharp
12
12
---
13
13
@@ -32,6 +32,9 @@ This tutorial covers the following steps:
32
32
33
33
To complete this tutorial, you must have an active Azure account. If you don't have an account, you can create a free trial account in just a couple of minutes. For details, see [Azure Free Trial](https://azure.microsoft.com/free/).
34
34
35
+
> [!NOTE]
36
+
> Google/Firebase APIs are not supported in Azure China regions.
37
+
35
38
You also need the following items:
36
39
37
40
- The latest version of [Android Studio](https://go.microsoft.com/fwlink/?LinkId=389797) is recommended.
After you [set credentials for browser push](#set-credentials) and [create registrations and installations](#create-registrations-and-installations) for the devices, you're ready to create push notifications. This section describes how to create a notification for a [direct send|](#create-direct-sends), [audience send](#create-audience-sends), and [debug (test) send](#create-debugtest-sends).
@@ -179,6 +236,19 @@ To create a direct send notification, follow these steps:
179
236
180
237
1. Send the notification.
181
238
239
+
You can also use the .NET SDK to create a direct send:
For an audience send, use the same `ServiceBus Notification-Format` header used for a direct send, and modify the message payload as desired. Optionally, specify a tag expression using the `ServiceBusNotification-Tags` header. For more information about creating an audience send, see [Send an APNS native notification](/rest/api/notificationhubs/send-apns-native-notification).
0 commit comments