File tree Expand file tree Collapse file tree 4 files changed +2
-18
lines changed
FirebaseRemoteConfig/Sources Expand file tree Collapse file tree 4 files changed +2
-18
lines changed Original file line number Diff line number Diff line change 19
19
#define RCN_SEC_PER_MIN 60
20
20
#define RCN_MSEC_PER_SEC 1000
21
21
22
- // / Remote Config SDK internal version that is different than
23
- // / FIRRemoteConfigPodVersion. This is for config server to track down iOS
24
- // / client app version. Each version can only go up to 99.
25
- static const int kRCNMajorVersion = 1 ;
26
- static const int kRCNMinorVersion = 2 ;
27
- static const int kRCNPatchVersion = 10 ;
28
-
29
22
// / Key prefix applied to all the packages (bundle IDs) in internal metadata.
30
23
static NSString *const RCNInternalMetadataAllPackagesPrefix = @" all_packages" ;
31
24
Original file line number Diff line number Diff line change @@ -354,8 +354,8 @@ - (NSString *)nextRequestWithUserProperties:(NSDictionary *)userProperties {
354
354
FIRRemoteConfigAppVersion ()]];
355
355
ret = [ret stringByAppendingString: [NSString stringWithFormat: @" , app_build:'%@ '" ,
356
356
FIRRemoteConfigAppBuildVersion ()]];
357
- ret = [ret stringByAppendingString: [NSString stringWithFormat: @" , sdk_version:'%d '" ,
358
- FIRRemoteConfigSDKVersion ()]];
357
+ ret = [ret stringByAppendingString: [NSString stringWithFormat: @" , sdk_version:'%@ '" ,
358
+ FIRRemoteConfigPodVersion ()]];
359
359
360
360
if (userProperties && userProperties.count > 0 ) {
361
361
NSError *error;
Original file line number Diff line number Diff line change @@ -47,11 +47,6 @@ RCNDeviceModel FIRRemoteConfigDeviceSubtype(void);
47
47
// / Device timezone.
48
48
NSString *FIRRemoteConfigTimezone (void );
49
49
50
- // / SDK version. This is different than CocoaPods SDK version.
51
- // / It is used for config server to keep track iOS client version.
52
- // / major * 10000 + minor + 100 + patch.
53
- int FIRRemoteConfigSDKVersion (void );
54
-
55
50
// / Update device context to the given dictionary.
56
51
NSMutableDictionary *FIRRemoteConfigDeviceContextWithProjectIdentifier (
57
52
NSString *GMPProjectIdentifier);
Original file line number Diff line number Diff line change @@ -202,10 +202,6 @@ RCNDeviceModel FIRRemoteConfigDeviceSubtype() {
202
202
return timezone.name ;
203
203
}
204
204
205
- int FIRRemoteConfigSDKVersion () {
206
- return kRCNMajorVersion * 10000 + kRCNMinorVersion * 100 + kRCNPatchVersion ;
207
- }
208
-
209
205
NSMutableDictionary *FIRRemoteConfigDeviceContextWithProjectIdentifier (
210
206
NSString *GMPProjectIdentifier) {
211
207
NSMutableDictionary *deviceContext = [[NSMutableDictionary alloc ] init ];
You can’t perform that action at this time.
0 commit comments