Skip to content

Commit

Permalink
FIX: remove line break and add full stop
Browse files Browse the repository at this point in the history
  • Loading branch information
TheHandyOwl authored and alemohamad committed Dec 9, 2024
1 parent c9e9d47 commit 30421a1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/advanced/apns.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ The first parameter accepts the push notification alert and the second parameter

## Alert

`APNSAlertNotification` is the actual metadata of the push notification alert to send. More details on the specifics of each property are provided [here](https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/PayloadKeyReference.html). They follow a one-to-one naming scheme listed in Apple's documentation
`APNSAlertNotification` is the actual metadata of the push notification alert to send. More details on the specifics of each property are provided [here](https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/PayloadKeyReference.html). They follow a one-to-one naming scheme listed in Apple's documentation.

```swift
let alert = APNSAlertNotification(
Expand All @@ -131,7 +131,6 @@ let alert = APNSAlertNotification(

This type can be passed directly to the `send` method.


### Custom Notification Data

Apple provides engineers with the ability to add custom payload data to each notification. In order to facilitate this we accept `Codable` conformance to the payload parameter on all `send` apis.
Expand Down

0 comments on commit 30421a1

Please sign in to comment.