Skip to content

Remove migration logic from document folder to application folder#4033

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Oct 10, 2019

Conversation

charlotteliang
Copy link
Contributor

@charlotteliangcharlotteliang commented Oct 9, 2019

We used to store files in document folder (more than 2 years ago) and had migration logic that if document folder exist, move the content to application folder.

Remove the migration logic since the majority of the users already store data in the application folder. The data we wrote in the disks are plist file and cached non-ack mcs channel message IDs, which are not critical information even if a very old user still kept the document folder (who hasn't opened his app for more than 2 years).

Also remove production code that is only used for testing, should expose the method through category instead.

Copy link
Contributor

@maksymmalyhinmaksymmalyhin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@charlotteliangcharlotteliang merged commit b6ac437 into masterOct 10, 2019
@charlotteliangcharlotteliang deleted the oct-fcm-directory branch October 10, 2019 15:49
@firebasefirebase locked and limited conversation to collaborators Nov 10, 2019
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
4 participants
@charlotteliang@paulb777@maksymmalyhin@googlebot
close