Skip to content

Commit e3ca0f9

Browse files
stable version
1 parent 1363091 commit e3ca0f9

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

CHANGES.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
1.4.0 (October 6, 2025)
2-
- Added an EventSource polyfill to fall back when native EventSource modules and the global EventSource object are unavailable, providing out-of-the-box support for streaming on more platforms and in Expo projects.
2+
- Added an EventSource polyfill to fall back when native EventSource modules and the global EventSource object are unavailable, providing out-of-the-box streaming support on more platforms and in Expo projects.
33

44
1.3.0 (September 22, 2025)
55
- Added the `InLocalStorage` export to the `@splitsoftware/splitio-react-native` package. This export can be used to configure the SDK to use `AsyncStorage` or another storage implementation to persist the SDK rollout plan data across app restarts and speed up the initialization.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@splitsoftware/splitio-react-native",
3-
"version": "1.3.1-rc.0",
3+
"version": "1.4.0",
44
"description": "Split SDK for React Native",
55
"main": "lib/commonjs/index.js",
66
"module": "lib/module/index.js",

src/platform/getEventSource.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ try {
1818
* due to Flipper network interceptor (https://github.com/NepeinAV/rn-eventsource-reborn#eventsource-dont-works-on-android-in-debug-mode).
1919
* In RN 0.74 (https://reactnative.dev/blog/2024/04/22/release-0.74#removal-of-flipper-react-native-plugin) and Expo 51 (https://github.com/expo/expo/issues/27526#issuecomment-2113893318),
2020
* Flipper was removed from new app templates and replaced by the new React Native DevTools, so the Android-debug interception that broke SSE disappears.
21+
*
22+
* @TODO breaking change: drop support for RN < 0.74 and remove native EventSource modules
2123
*/
2224
export function getEventSource(): typeof EventSource | undefined {
2325
return _RNEventSource || (typeof EventSource === 'function' ? EventSource : EventSourceXHR);

src/settings/defaults.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type SplitIO from '@splitsoftware/splitio-commons/types/splitio';
22
import { CONSENT_GRANTED } from '@splitsoftware/splitio-commons/src/utils/constants';
33

4-
const packageVersion = '1.3.1-rc.0';
4+
const packageVersion = '1.4.0';
55

66
export const defaults = {
77
startup: {

0 commit comments

Comments
 (0)