• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

optimizely / javascript-sdk / 2015 / 7
78%
master: 78%

Build:
DEFAULT BRANCH: master
Ran 21 Jul 2020 04:59PM UTC
Files 1
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Jul 2020 04:51PM UTC coverage: 14.286% (-82.4%) from 96.709%
BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH

push

travis-ci

web-flow
feat: Added Offline storage support to Event processor for React Native Apps (#517)

Summary:

Added Offline storage support to Event Processor for React Native Apps.

Stores events when device is offline and then redispatches when the device is online again, new event is ready to be dispatched or SDK is re-initialized.
Adds a new eventMaxQueueSize config option which represents number of offline events SDK will store at a time. Deault is 10k for now.
Adds a connectivity listener to redispatch events when device is back online.
Follow-up changes expected in optimizely-sdk package.

Add a new option to EventProcessor constructor to represent maxQueueSize in React Native entry point.
Change callback parameter to http status in DefaultEventDispacher for browser entry point which is also used for React Native entry point.
Add AsyncStorage module configuration for umd bundles in rollup config.

Test plan:

Wrote new unit tests
Tested offline with FSC suite to make sure it does not break existing event processor functionality.
Tested sequence of redispatching events using a local mock server and timestamps.

0 of 2 branches covered (0.0%)

Branch coverage included in aggregate %.

1 of 5 relevant lines covered (20.0%)

0.2 hits per line

Source Files on job 2015.7 (BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1339
  • Travis Job 2015.7
  • d2208fff on github
  • Prev Job for BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH on master (#2004.2)
  • Next Job for BROWSER_STACK_USERNAME=[secure] BROWSER_STACK_ACCESS_KEY=[secure] SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH on master (#2017.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc