Skip to content

Commit 80e2382

Browse files
authored
change firebase plugin from public to open (#25)
* change firebase plugin from public to open * change update from public to open
1 parent f9526f3 commit 80e2382

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Sources/SegmentFirebase/FirebaseDestination.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ import FirebaseAnalytics
3737
*/
3838

3939
@objc(SEGFirebaseDestination)
40-
public class ObjCFirebaseDestination: NSObject, ObjCPlugin, ObjCPluginShim {
41-
public func instance() -> EventPlugin { return FirebaseDestination() }
42-
}
40+
open class ObjCFirebaseDestination: NSObject, ObjCPlugin, ObjCPluginShim {
41+
public func instance() -> EventPlugin { return FirebaseDestination() }
42+
}
4343

44-
public class FirebaseDestination: DestinationPlugin {
44+
open class FirebaseDestination: DestinationPlugin {
4545
public let timeline = Timeline()
4646
public let type = PluginType.destination
4747
public let key = "Firebase"
@@ -52,8 +52,8 @@ public class FirebaseDestination: DestinationPlugin {
5252
public init(firebaseOptions: FirebaseOptions? = nil) {
5353
self.firebaseOptions = firebaseOptions
5454
}
55-
56-
public func update(settings: Settings, type: UpdateType) {
55+
56+
open func update(settings: Settings, type: UpdateType) {
5757
// we've already set up this singleton SDK, can't do it again, so skip.
5858
guard type == .initial else { return }
5959

0 commit comments

Comments
 (0)