|
19 | 19 | #import <GoogleUtilities/GULNSData+zlib.h> |
20 | 20 | #import "FirebaseCore/Extension/FirebaseCoreInternal.h" |
21 | 21 | #import "FirebaseInstallations/Source/Library/Private/FirebaseInstallationsInternal.h" |
| 22 | +#import "FirebaseRemoteConfig/FirebaseRemoteConfig-Swift.h" |
22 | 23 | #import "FirebaseRemoteConfig/Sources/Private/RCNConfigFetch.h" |
23 | 24 | #import "FirebaseRemoteConfig/Sources/Private/RCNConfigSettings.h" |
24 | 25 | #import "FirebaseRemoteConfig/Sources/RCNConfigConstants.h" |
25 | | -#import "FirebaseRemoteConfig/Sources/RCNDevice.h" |
26 | 26 |
|
27 | 27 | /// URL params |
28 | 28 | static NSString *const kServerURLDomain = @"https://firebaseremoteconfigrealtime.googleapis.com"; |
@@ -167,7 +167,7 @@ - (void)propagateErrors:(NSError *)error { |
167 | 167 | // TESTING ONLY |
168 | 168 | - (void)triggerListenerForTesting:(void (^_Nonnull)(FIRRemoteConfigUpdate *configUpdate, |
169 | 169 | NSError *_Nullable error))listener { |
170 | | - listener([[FIRRemoteConfigUpdate alloc] init], nil); |
| 170 | + listener([[FIRRemoteConfigUpdate alloc] initWithUpdatedKeys:[[NSSet alloc] init]], nil); |
171 | 171 | } |
172 | 172 |
|
173 | 173 | #pragma mark - Http Helpers |
@@ -328,7 +328,7 @@ - (void)createRequestBodyWithCompletion:(void (^)(NSData *_Nonnull requestBody)) |
328 | 328 | @"sdkVersion:'%@', appInstanceId:'%@'}", |
329 | 329 | [strongSelf->_options GCMSenderID], namespace, |
330 | 330 | strongSelf->_configFetch.templateVersionNumber, |
331 | | - strongSelf->_options.googleAppID, FIRRemoteConfigPodVersion(), |
| 331 | + strongSelf->_options.googleAppID, Device.remoteConfigPodVersion, |
332 | 332 | strongSelf->_settings.configInstallationsIdentifier]; |
333 | 333 | NSData *postData = [postBody dataUsingEncoding:NSUTF8StringEncoding]; |
334 | 334 | NSError *compressionError; |
|
0 commit comments