diff --git a/.gitignore b/.gitignore index 57fe7ed..7fb530a 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,3 @@ /Packages /*.xcodeproj Package.resolved -/.swiftpm \ No newline at end of file diff --git a/Sources/FCM/FCMAndroidConfig/FCMAndroidNotification.swift b/Sources/FCM/FCMAndroidConfig/FCMAndroidNotification.swift index c4a819c..a888017 100644 --- a/Sources/FCM/FCMAndroidConfig/FCMAndroidNotification.swift +++ b/Sources/FCM/FCMAndroidConfig/FCMAndroidNotification.swift @@ -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. @@ -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, @@ -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