Skip to content

Remove migration logic from document folder to application folder - #4033

Merged
charlotteliang merged 6 commits into
masterfrom
oct-fcm-directory
Oct 10, 2019
Merged

charlotteliang merged 6 commits into
masterfrom
oct-fcm-directory

Conversation

@charlotteliang

@charlotteliang charlotteliang commented Oct 9, 2019 •

Copy link
Copy Markdown
Member

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.

@maksymmalyhin maksymmalyhin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@charlotteliang
charlotteliang merged commit b6ac437 into master Oct 10, 2019
@charlotteliang
charlotteliang deleted the oct-fcm-directory branch October 10, 2019 15:49
@firebase firebase locked and limited conversation to collaborators Nov 10, 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.

4 participants