-
Notifications
You must be signed in to change notification settings - Fork 31
chore: rn sdk use localstorage for bootstrapping #326
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
yusinto
merged 42 commits into
main
from
yus/sc-225809/use-localstorage-for-bootstrapping-rn-sdk
Dec 22, 2023
Merged
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
85c41f8
chore: Added Storage api.
yusinto 6c7f556
chore: replace connecting with initializing
yusinto 7bf3327
chore: added type LDFlagChangeset. Fix storage set signature.
yusinto d95df72
chore: added fast-deep-equal. removed unused api methods.
yusinto e2f3cb4
chore: added skeleton to sync cached and put flags.
yusinto bc4e3de
chore: implement storage and put sync logic
yusinto 63e6d3c
fix: export platform.Storage.
yusinto 682e3ea
chore: implemented rn storage platform.
yusinto 269b02f
chore: add local copy of fast-deep-equal. add storage tests.
yusinto 8493374
fix: fixed hanging unit tests due to emits not being awaited. added m…
yusinto 470a3fc
chore: added community rn async storage package.
yusinto 460507a
fix: added internalOptions to configure events and diagnostic endpoin…
yusinto 6a62c6a
fix: make internalOptions optional and fixed unit tests. removed redu…
yusinto ed4bb3a
chore: add unit test for internal options.
yusinto 9f5eb03
fix: fix bug where change event emits wrong flag values. added versio…
yusinto b281b38
fix: when syncing only update memory cache and storage if there's cha…
yusinto 78074fa
chore: added more patch unit tests.
yusinto 34ad378
chore: added delete unit tests.
yusinto 371351c
Update LDClientImpl.ts
yusinto 30f5ace
chore: pretty print json debug output.
yusinto 92361aa
fix: sse patch now updates react context. improved logging. TODO: fix…
yusinto 78dc729
chore: added TODO comment.
yusinto 7283b39
fix: remove unnecessary event listeners to fix infinite loops on errors.
yusinto ad0f124
chore: catch identify errors.
yusinto 80cc003
chore: improved example.
yusinto 6791a37
Update fetchUtils.test.ts
yusinto a0f916a
chore: improve npm commands.
yusinto 8c19529
chore: remove async-storage dep from package.json
yusinto 02f5c36
chore: added comments on how to install async-storage.
yusinto 42c3bc6
chore: remove redundant ts-ignore
yusinto acd16db
chore: improved logging, cleaned up comments, added comments, removed…
yusinto 87d09ba
chore: improve logging.
yusinto 713221e
chore: localstorage pr feedback (#327)
yusinto 87ca38b
chore: include example/yarn.lock because the example app is its own i…
yusinto c849f8c
Update .gitignore
yusinto 55e664c
chore: improve readme and npm commands for dev.
yusinto f35bada
chore: replace process.nextTick with setTimeout.
yusinto 597e439
chore: remove .only.
yusinto eb61ced
chore: further improve readme. include instructions for .env.
yusinto 58f72c1
fix: stream delete command should only delete lower versions, not equal.
yusinto d8a4cbb
chore: implement tombstoning (#328)
yusinto 382e519
Merge branch 'main' into yus/sc-225809/use-localstorage-for-bootstrap…
yusinto File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -37,3 +37,5 @@ yarn-error.* | |
|
|
||
| ios | ||
| android | ||
|
|
||
| !yarn.lock | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.