Skip to content

Commit b54b4e8

Browse files
committed
Various tweaks
1 parent 2629988 commit b54b4e8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/notification-hubs/browser-push.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ At a high level, the process is:
2727
- Using the REST API
2828
- Using the .NET SDK
2929

30-
2. [Create registrations and installations](#create-registrations-and-installations)
30+
2. [Create registrations and installations](#create-registrations-and-installations).
3131

3232
3. [Send push notifications](#send-push-notifications):
3333
- Direct sends
@@ -55,21 +55,21 @@ Browser push support on tablet PCs:
5555
| Operating system | Browsers |
5656
|------------------|-------------------------------------------|
5757
| Windows OS | Chrome v48+<br>Firefox v44+<br>Opera v42+ |
58-
| IOS | Not supported |
58+
| iOS | Not supported. |
5959
| Android OS | Chrome v48+<br>Firefox v44+<br>Opera v42+ |
6060

6161
Browser push support on mobile devices:
6262

6363
| Operating system | Browsers |
6464
|------------------|-------------------------------------------|
65-
| IOS | Not supported |
65+
| iOS | Not supported. |
6666
| Android OS | Chrome v48+<br>Firefox v44+<br>Opera v42+ |
6767

6868
## Set credentials
6969

7070
To subscribe to browser push notifications on your web site, you can use VAPID keys. You can generate VAPID credentials by using services such as the [VAPID key generator](https://www.attheminute.com/vapid-key-generator/). The credentials should look similar to the following:
7171

72-
```csharp
72+
```json
7373
{
7474
"location": "South Central US",
7575
"properties": {
@@ -138,7 +138,7 @@ The following examples show the registration request body for a native registrat
138138

139139
### Installation request body
140140

141-
```csharp
141+
```json
142142
{
143143
"installationId": "installation-id",
144144
"platform": "browser",
@@ -207,7 +207,7 @@ To create a direct send notification, follow these steps:
207207

208208
1. Create the message body. The message body is typically in this format:
209209

210-
```csharp
210+
```json
211211
{
212212
"title": "Some Title",
213213
"body": "Some body of a message"

0 commit comments

Comments
 (0)