Skip to content

Revert "refactor: Update datafile-manager to use Async Storage implementation from utils (#508)" #525

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 5 commits into from
Jul 28, 2020

Conversation

oakbani
Copy link
Contributor

@oakbani oakbani commented Jul 17, 2020

Summary

This reverts commit 9af51d8.
ReactNative Async Storage implementation was previosuly moved to Utils package in order to use it both in Datafile Manager and Event Processor. While testing the new offline storage in event processor, it was observed that event processor asked for installing react-native-community/async storage package even when run for node or browser. This was because we didn't have separate entrypoints in the utils package. It was decided to move react native async storage implementation to both datafile manager and event processor.

Test plan

All existing tests should pass

@coveralls
Copy link

Coverage Status

Coverage remained the same at 96.709% when pulling 920c328 on oakbani/revert-datafile-manager into 8b4211e on master.

@coveralls
Copy link

coveralls commented Jul 17, 2020

Coverage Status

Coverage decreased (-0.005%) to 96.704% when pulling 6de46d9 on oakbani/revert-datafile-manager into 8b4211e on master.

@zashraf1985 zashraf1985 marked this pull request as ready for review July 22, 2020 22:03
@zashraf1985 zashraf1985 requested a review from a team as a code owner July 22, 2020 22:03
@@ -48,7 +49,7 @@
},
"dependencies": {
"@optimizely/js-sdk-logging": "^0.1.0",
"@optimizely/js-sdk-utils": "^0.3.2",
"@optimizely/js-sdk-utils": "^0.2.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this dependency should stay at "^0.3.2"

Copy link
Contributor

Choose a reason for hiding this comment

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

Updated it to the newly released 0.4.0

@mjc1283 mjc1283 merged commit 8179bc4 into master Jul 28, 2020
@mjc1283 mjc1283 deleted the oakbani/revert-datafile-manager branch July 28, 2020 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants