You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Use default event dispatcher in React Native entry point when none provided by user (#383)
Summary:
In the createInstance factory method of the React Native entry point, when no event dispatcher is provided by the caller in the options object, a value of undefined is set on the options object that is passed on to the Optimizely constructor. This results in an invalid instance that can't dispatch events.
With this fix, the default event dispatcher is used when none is provided by the caller.
Test plan:
Added new unit test
0 commit comments