Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions Sources/SwiftyAPNS/Payload/LocalizedAlert.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,22 @@

/// Child properties of the alert property.
public struct APSLocalizedAlert: Encodable {

/// Fix 'APSLocalizedAlert' initializer is inaccessible due to 'internal' protection level
public init(title: String? = nil, subtitle: String? = nil, body: String? = nil, titleLocKey: String? = nil, titleLocArgs: [String]? = nil, subtitleLocKey: String? = nil, subtitleLocArgs: [String]? = nil, locKey: String? = nil, locArgs: [String]? = nil, actionLocKey: String? = nil, launchImage: String? = nil) {
self.title = title
self.subtitle = subtitle
self.body = body
self.titleLocKey = titleLocKey
self.titleLocArgs = titleLocArgs
self.subtitleLocKey = subtitleLocKey
self.subtitleLocArgs = subtitleLocArgs
self.locKey = locKey
self.locArgs = locArgs
self.actionLocKey = actionLocKey
self.launchImage = launchImage
}

/// A short string describing the purpose of the notification.
public var title: String?

Expand Down
14 changes: 0 additions & 14 deletions Tests/SwiftyAPNSTests/CertificateConfig.plist

This file was deleted.

16 changes: 0 additions & 16 deletions Tests/SwiftyAPNSTests/KeyConfig.plist

This file was deleted.