Skip to content

Commit b862e18

Browse files
committed
fix: iosmacos channel name
1 parent 7678335 commit b862e18

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ import Foundation
2020
#endif
2121
import FirebaseDatabase
2222

23+
// Channel name constant to match macOS implementation
24+
let FLTFirebaseDatabaseChannelName = "plugins.flutter.io/firebase_database"
25+
2326
@objc(FLTFirebaseDatabasePlugin)
2427
public class FLTFirebaseDatabasePlugin: NSObject, FlutterPlugin, FLTFirebasePluginProtocol {
2528
private var binaryMessenger: FlutterBinaryMessenger

packages/firebase_database/firebase_database/macos/firebase_database/Sources/firebase_database/FLTFirebaseDatabasePlugin.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ import Foundation
1313
import firebase_core_shared
1414
#endif
1515

16+
// Channel name constant to match iOS implementation
17+
let FLTFirebaseDatabaseChannelName = "plugins.flutter.io/firebase_database"
18+
1619
@objc(FLTFirebaseDatabasePlugin)
1720
public class FLTFirebaseDatabasePlugin: NSObject, FlutterPlugin, FLTFirebasePluginProtocol {
1821
private var binaryMessenger: FlutterBinaryMessenger

0 commit comments

Comments
 (0)