File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
GoogleDataTransportCCTSupport Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 22- Updates GDT dependency to improve backgrounding logic.
33- Reduces requests for background task creation. (#3893 )
44- Fix unbalanced background task creation in GDTCCTUploader. (#3838 )
5+ - Fixes a nil argument being passed to GDTCCTEncodeString. (#3893 )
56
67# v1.1.0
78- Updates GDT dependency to GDTCOR prefixed version.
Original file line number Diff line number Diff line change @@ -162,7 +162,10 @@ gdt_cct_IosClientInfo GDTCCTConstructiOSClientInfo() {
162162 if (version) {
163163 iOSClientInfo.application_build = GDTCCTEncodeString (version);
164164 }
165- iOSClientInfo.country = GDTCCTEncodeString ([locale objectForKey: NSLocaleCountryCode ]);
165+ NSString *countryCode = [locale objectForKey: NSLocaleCountryCode ];
166+ if (countryCode) {
167+ iOSClientInfo.country = GDTCCTEncodeString ([locale objectForKey: NSLocaleCountryCode ]);
168+ }
166169 iOSClientInfo.model = GDTCCTEncodeString (device.model );
167170 NSString *languageCode = bundle.preferredLocalizations .firstObject ;
168171 iOSClientInfo.language_code =
You can’t perform that action at this time.
0 commit comments