Skip to content

Commit 7507509

Browse files
committed
Protocol workaround
1 parent 55a7d9d commit 7507509

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

FirebaseRemoteConfig/SwiftNew/RemoteConfigComponent.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ import FirebaseRemoteConfigInterop
2121
// TODO(ncooke3): Once Obj-C tests are ported, all `public` access modifers can be removed.
2222

2323
// TODO(ncooke3): Move to another pod.
24-
@objc protocol FIRAnalyticsInterop {}
24+
@objc(AnalyticsInterop) public protocol FIRAnalyticsInterop {
25+
func getUserProperties(callback: @escaping ([String : Any]) -> Void)
26+
}
2527

2628
/// Provides and creates instances of Remote Config based on the namespace provided. Used in the
2729
/// interop registration process to keep track of RC instances for each `FIRApp` instance.

0 commit comments

Comments
 (0)