Skip to content

Conversation

@charlotteliang
Copy link
Member

This is a prevention fix for #2438 because we still couldn't reproduce. But users are facing race condition where checkin plist file is deleted after a new checkin is written to the file. So we move the plist deletion call to the first step of resetting checkin during app start. Because FIRInstanceID init call should be always before first checkin call got issued.

Also add two more logs which helps provide the timeline when checkin plist file is written or read.

@paulb777
Copy link
Member

Marking for M48 milestone.

@paulb777 paulb777 added this to the M48 milestone Apr 18, 2019
@charlotteliang charlotteliang merged commit 39c7bae into master Apr 18, 2019
@charlotteliang charlotteliang deleted the iid-checkin-race-condition branch April 18, 2019 18:00
paulb777 added a commit that referenced this pull request Apr 23, 2019
* fix race condition checkin is deleted before writing during app start (#2860)

* GoogleUtilities min ios version from 6 to 8 (#2876)
@charlotteliang charlotteliang modified the milestones: M48, m47 Apr 23, 2019
@ryanwilson ryanwilson modified the milestones: m47, 6.0.0 Apr 24, 2019
paulb777 added a commit that referenced this pull request May 7, 2019
* Update versions for Release 6.0.0

* Update FirebaseSDKs.textproto with new fields. (#2818) (#2834)

* Update FirebaseSDKs.textproto with new fields.

* Update message about strip_32bits flag.

* GULAppDelegateSwizzler - proxy APNS methods separately (#2835) (#2858)

* Cherry-picks for M47 RC5 (#2882)

* fix race condition checkin is deleted before writing during app start (#2860)

* GoogleUtilities min ios version from 6 to 8 (#2876)

* Put secret and oauth credentials into the private headers for now. (#2916) (#2919)

* Add missing Messaging weak_framework dep (#2921) (#2930)
@firebase firebase locked and limited conversation to collaborators Oct 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants