Skip to content

Commit

Permalink
Revert "New property for FCMAndroidNotification (#16)" (#17)
Browse files Browse the repository at this point in the history
This reverts commit 8bae36d.
  • Loading branch information
MihaelIsaev authored Dec 12, 2019
1 parent 66d4ec0 commit ae99fd0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@
/Packages
/*.xcodeproj
Package.resolved
/.swiftpm
9 changes: 1 addition & 8 deletions Sources/FCM/FCMAndroidConfig/FCMAndroidNotification.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,7 @@ public struct FCMAndroidNotification: Codable, Equatable {
/// The notification's body text.
/// If present, it will override FCMNotification.body.
public var body: String?

/// The notification's channel id (new in Android O).
/// The app must create a channel with this channel ID before any notification with this channel ID is received.
/// If you don't send this channel ID in the request, or if the channel ID provided has not yet been created by the app, FCM uses the channel ID specified in the app manifest.
public var android_channel_id: String?


/// The notification's icon. Sets the notification icon to myicon for drawable resource myicon.
/// If you don't send this key in the request,
/// FCM displays the launcher icon specified in your app manifest.
Expand Down Expand Up @@ -54,7 +49,6 @@ public struct FCMAndroidNotification: Codable, Equatable {
/// Public Initializer
public init(title: String? = nil,
body: String? = nil,
android_channel_id: String? = nil,
icon: String? = nil,
color: String? = nil,
sound: String? = nil,
Expand All @@ -66,7 +60,6 @@ public struct FCMAndroidNotification: Codable, Equatable {
title_loc_args: [String]? = nil) {
self.title = title
self.body = body
self.android_channel_id = android_channel_id
self.icon = icon
self.color = color
self.sound = sound
Expand Down

0 comments on commit ae99fd0

Please sign in to comment.