Skip to content

Commit de653da

Browse files
committed
First file migrated and tested in CocoaPods
1 parent bb888cd commit de653da

File tree

3 files changed

+30
-33
lines changed

3 files changed

+30
-33
lines changed

FirebaseRemoteConfig.podspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ app update.
4141
'FirebaseCore/Extension/*.h',
4242
'FirebaseInstallations/Source/Library/Private/*.h',
4343
'FirebaseRemoteConfig/Swift/**/*.swift',
44+
'FirebaseRemoteConfig/SwiftNew/**/*.swift',
4445
]
4546
s.public_header_files = base_dir + 'Public/FirebaseRemoteConfig/*.h'
4647
s.resource_bundles = {

FirebaseRemoteConfig/Sources/FIRRemoteConfigUpdate.m

Lines changed: 0 additions & 33 deletions
This file was deleted.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// Copyright 2024 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
import Foundation
16+
17+
@objc(FIRRemoteConfigUpdate)
18+
class RemoteConfigUpdate: NSObject {
19+
20+
private let _updatedKeys: Set<String>
21+
22+
@objc init(updatedKeys: Set<String>) {
23+
self._updatedKeys = updatedKeys
24+
}
25+
26+
@objc var updatedKeys: Set<String> {
27+
return _updatedKeys
28+
}
29+
}

0 commit comments

Comments
 (0)