Skip to content

Commit 3c89d95

Browse files
committed
fix: swift handles
1 parent 9c72600 commit 3c89d95

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/firebase_database/firebase_database/ios/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,24 +81,24 @@ public class FLTFirebaseDatabasePlugin: NSObject, FlutterPlugin, FLTFirebasePlug
8181

8282
// MARK: - FLTFirebasePlugin
8383

84-
public func didReinitializeFirebaseCore(_ completion: @escaping () -> Void) {
84+
public func didReinitializeFirebaseCore(completion: @escaping () -> Void) {
8585
cleanup()
8686
completion()
8787
}
8888

89-
public func pluginConstants(for firebaseApp: FirebaseApp) -> [AnyHashable: Any] {
89+
public func pluginConstants(for firebaseApp: FirebaseApp) -> [String: Any] {
9090
[:]
9191
}
9292

93-
@objc public func firebaseLibraryName() -> String {
93+
public var firebaseLibraryName: String {
9494
"flutter-fire-rtdb"
9595
}
9696

97-
public func firebaseLibraryVersion() -> String {
97+
public var firebaseLibraryVersion: String {
9898
versionNumber
9999
}
100100

101-
@objc public func flutterChannelName() -> String {
101+
public var flutterChannelName: String {
102102
FLTFirebaseDatabaseChannelName
103103
}
104104

0 commit comments

Comments
 (0)