Skip to content

Commit

Permalink
change firebase plugin from public to open (#25)
Browse files Browse the repository at this point in the history
* change firebase plugin from public to open

* change update from public to open
  • Loading branch information
alanjcharles authored Feb 14, 2024
1 parent f9526f3 commit 80e2382
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Sources/SegmentFirebase/FirebaseDestination.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ import FirebaseAnalytics
*/

@objc(SEGFirebaseDestination)
public class ObjCFirebaseDestination: NSObject, ObjCPlugin, ObjCPluginShim {
public func instance() -> EventPlugin { return FirebaseDestination() }
}
open class ObjCFirebaseDestination: NSObject, ObjCPlugin, ObjCPluginShim {
public func instance() -> EventPlugin { return FirebaseDestination() }
}

public class FirebaseDestination: DestinationPlugin {
open class FirebaseDestination: DestinationPlugin {
public let timeline = Timeline()
public let type = PluginType.destination
public let key = "Firebase"
Expand All @@ -52,8 +52,8 @@ public class FirebaseDestination: DestinationPlugin {
public init(firebaseOptions: FirebaseOptions? = nil) {
self.firebaseOptions = firebaseOptions
}

public func update(settings: Settings, type: UpdateType) {
open func update(settings: Settings, type: UpdateType) {
// we've already set up this singleton SDK, can't do it again, so skip.
guard type == .initial else { return }

Expand Down

0 comments on commit 80e2382

Please sign in to comment.