Skip to content

Commit 1d2dbc4

Browse files
Stop sending logging ID as it is no longer used in backend (#4732)
1 parent 25f626c commit 1d2dbc4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Firebase/InstanceID/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 2020-02 -- 4.3.1
2+
- [changed] Stop collecting logging ID as it is not used anymore.(#4444)
3+
14
# 2020-01 -- 4.3.0
25
- [added] Added watchOS support for InstanceID (#4016)
36
- [added] Added a new dependency on the [Firebase Installations SDK](../../FirebaseInstallations/CHANGELOG.md). The Firebase Installations SDK introduces the [Firebase Installations API](https://console.cloud.google.com/apis/library/firebaseinstallations.googleapis.com). Developers that use API-restrictions for their API-Keys may experience blocked requests (https://stackoverflow.com/questions/58495985/). A solution is available [here](../../FirebaseInstallations/API_KEY_RESTRICTIONS.md). (#4533)

Firebase/InstanceID/FIRInstanceIDCheckinService.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,6 @@ - (NSDictionary *)checkinParametersWithExistingCheckin:
213213
// This ID is generated for logging purpose and it is only logged for performance
214214
// information for backend, not secure information.
215215
// TODO(chliang): Talk to backend team to see if this ID is still needed.
216-
uint32_t loggingID = arc4random();
217216
NSString *timeZone = [NSTimeZone localTimeZone].name;
218217
int64_t lastCheckingTimestampMillis = checkinPreferences.lastCheckinTimestampMillis;
219218

@@ -225,7 +224,6 @@ - (NSDictionary *)checkinParametersWithExistingCheckin:
225224
@"last_checkin_msec" : @(lastCheckingTimestampMillis),
226225
},
227226
@"fragment" : @(kFragment),
228-
@"logging_id" : @(loggingID),
229227
@"locale" : locale,
230228
@"version" : @(kCheckinVersion),
231229
@"digest" : checkinPreferences.digest ?: @"",

0 commit comments

Comments
 (0)