From abf983b8d50d28810a9a741cf9e3344df878fc0c Mon Sep 17 00:00:00 2001 From: Abhishek Pandey <64667840+1abhishekpandey@users.noreply.github.com> Date: Fri, 25 Oct 2024 17:08:29 +0530 Subject: [PATCH 1/6] feat: add gzip configuration support (#382) * feat(rudder-sdk-react-native): add gzip configuration support in RN module * feat(rudder-sdk-react-native): add gzip configuration support in android module * chore(example): update ios project * chore(example): add gzip configuration support * feat(rudder-sdk-react-native): add gzip configuration support in ios module * refactor: change to enableGzip * chore: provide default GZIP value in the message * chore: address comment --- apps/example/ios/Example.xcodeproj/project.pbxproj | 10 ++++++++-- apps/example/ios/Podfile.lock | 8 ++++---- apps/example/src/app/App.tsx | 1 + .../react/android/RNParamsConfigurator.java | 3 +++ libs/sdk/ios/RNParamsConfigurator.m | 3 +++ libs/sdk/src/Constants.ts | 1 + libs/sdk/src/NativeBridge.ts | 1 + libs/sdk/src/RudderClient.ts | 11 ++++++++++- libs/sdk/src/RudderConfiguration.ts | 3 +++ 9 files changed, 34 insertions(+), 7 deletions(-) diff --git a/apps/example/ios/Example.xcodeproj/project.pbxproj b/apps/example/ios/Example.xcodeproj/project.pbxproj index f6049be8..f0b88ceb 100644 --- a/apps/example/ios/Example.xcodeproj/project.pbxproj +++ b/apps/example/ios/Example.xcodeproj/project.pbxproj @@ -803,7 +803,10 @@ "-DFOLLY_CFG_NO_COROUTINES=1", "-DFOLLY_HAVE_CLOCK_GETTIME=1", ); - OTHER_LDFLAGS = "$(inherited) "; + OTHER_LDFLAGS = ( + "$(inherited)", + " ", + ); REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; SDKROOT = iphoneos; USE_HERMES = true; @@ -886,7 +889,10 @@ "-DFOLLY_CFG_NO_COROUTINES=1", "-DFOLLY_HAVE_CLOCK_GETTIME=1", ); - OTHER_LDFLAGS = "$(inherited) "; + OTHER_LDFLAGS = ( + "$(inherited)", + " ", + ); REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; SDKROOT = iphoneos; USE_HERMES = true; diff --git a/apps/example/ios/Podfile.lock b/apps/example/ios/Podfile.lock index 2d9b99b7..7b5a8d48 100644 --- a/apps/example/ios/Podfile.lock +++ b/apps/example/ios/Podfile.lock @@ -1296,7 +1296,7 @@ PODS: - React-utils (= 0.74.1) - RNCAsyncStorage (1.23.1): - React-Core - - RNRudderSdk (1.14.0): + - RNRudderSdk (1.14.1): - React - Rudder (< 2.0.0, >= 1.26.3) - RNSVG (15.3.0): @@ -1346,7 +1346,7 @@ PODS: - React - RNRudderSdk - Rudder-CleverTap (~> 1.1.2) - - rudder-integration-facebook-react-native (1.0.0): + - rudder-integration-facebook-react-native (1.0.1): - React - RNRudderSdk - Rudder-Facebook (< 3.0.0, >= 2.2.1) @@ -1719,7 +1719,7 @@ SPEC CHECKSUMS: React-utils: 3285151c9d1e3a28a9586571fc81d521678c196d ReactCommon: f42444e384d82ab89184aed5d6f3142748b54768 RNCAsyncStorage: 826b603ae9c0f88b5ac4e956801f755109fa4d5c - RNRudderSdk: 9e243c47f3040a49c559f3b01186fe48e5158c01 + RNRudderSdk: b31488f3452592107ff3835120a13df4d00e394c RNSVG: a48668fd382115bc89761ce291a81c4ca5f2fd2e RSCrashReporter: 6b8376ac729b0289ebe0908553e5f56d8171f313 Rudder: 3cfcd9e6c5359cd6d49f411101ed9b894e3b64bd @@ -1735,7 +1735,7 @@ SPEC CHECKSUMS: rudder-integration-appsflyer-react-native: 393473fd43ee3c792484a36014fcfeae1169abe5 rudder-integration-braze-react-native: 237e030490811fa7eb3192e2800feb6e6d141bca rudder-integration-clevertap-react-native: 3c640ce986bd66996a2e53ff415159dfca0f5c4d - rudder-integration-facebook-react-native: 0d3a8e6279b81c39495a81d7badf4c4c8815bd8f + rudder-integration-facebook-react-native: 501ddd3441b7e0ede4848b76e184797c10ef8be3 rudder-integration-firebase-react-native: 49cdc474a8273432a8b363e966b27dda1a696dea rudder-integration-moengage-react-native: a88e92d14c27edfb1d7c3d27cf2498e4d82cd36d rudder-integration-singular-react-native: 52137a0c399ad1329b53bfe9e8af0a78e11168a3 diff --git a/apps/example/src/app/App.tsx b/apps/example/src/app/App.tsx index 8edf061e..e5eec198 100644 --- a/apps/example/src/app/App.tsx +++ b/apps/example/src/app/App.tsx @@ -104,6 +104,7 @@ const initRudderReactNativeSDK = async () => { trackAppLifecycleEvents: true, autoSessionTracking: true, dbEncryption: dbEncryption, + enableGzip: true, withFactories: [ appsflyer, amplitude, diff --git a/libs/sdk/android/src/main/java/com/rudderstack/react/android/RNParamsConfigurator.java b/libs/sdk/android/src/main/java/com/rudderstack/react/android/RNParamsConfigurator.java index 5aae8b1d..2f82bdd8 100644 --- a/libs/sdk/android/src/main/java/com/rudderstack/react/android/RNParamsConfigurator.java +++ b/libs/sdk/android/src/main/java/com/rudderstack/react/android/RNParamsConfigurator.java @@ -80,6 +80,9 @@ private RudderConfig.Builder buildConfig() { if (config.hasKey("collectDeviceId")) { configBuilder.withCollectDeviceId(config.getBoolean("collectDeviceId")); } + if(config.hasKey("enableGzip")) { + configBuilder.withGzip(config.getBoolean("enableGzip")); + } return configBuilder; } diff --git a/libs/sdk/ios/RNParamsConfigurator.m b/libs/sdk/ios/RNParamsConfigurator.m index 438da53e..5f6d6c31 100644 --- a/libs/sdk/ios/RNParamsConfigurator.m +++ b/libs/sdk/ios/RNParamsConfigurator.m @@ -84,6 +84,9 @@ -(RSConfigBuilder*)buildConfig { if ([config objectForKey:@"collectDeviceId"]) { [configBuilder withCollectDeviceId:[config[@"collectDeviceId"] boolValue]]; } + if ([config objectForKey:@"enableGzip"]) { + [configBuilder withGzip:[config[@"enableGzip"] boolValue]]; + } return configBuilder; } diff --git a/libs/sdk/src/Constants.ts b/libs/sdk/src/Constants.ts index 0b1c1016..ecefa805 100644 --- a/libs/sdk/src/Constants.ts +++ b/libs/sdk/src/Constants.ts @@ -15,3 +15,4 @@ export const AUTO_SESSION_TRACKING = true; export const SESSION_TIMEOUT = 300000; export const ENABLE_BACKGROUND_MODE = false; export const COLLECT_DEVICE_ID = true; +export const ENABLE_GZIP = true; diff --git a/libs/sdk/src/NativeBridge.ts b/libs/sdk/src/NativeBridge.ts index d704c9d0..4990af67 100644 --- a/libs/sdk/src/NativeBridge.ts +++ b/libs/sdk/src/NativeBridge.ts @@ -17,6 +17,7 @@ export interface Configuration { sessionTimeout?: number; enableBackgroundMode?: boolean; collectDeviceId?: boolean; + enableGzip?: boolean; dbEncryption?: IDBEncryption; // eslint-disable-next-line @typescript-eslint/ban-types withFactories?: Array | Function>; diff --git a/libs/sdk/src/RudderClient.ts b/libs/sdk/src/RudderClient.ts index 635fc210..a609afb9 100644 --- a/libs/sdk/src/RudderClient.ts +++ b/libs/sdk/src/RudderClient.ts @@ -4,7 +4,7 @@ import AsyncLock from 'async-lock'; import { configure } from './RudderConfiguration'; import bridge, { Configuration } from './NativeBridge'; import { logInit, logDebug, logError, logWarn } from './Logger'; -import { SDK_VERSION } from './Constants'; +import { SDK_VERSION, ENABLE_GZIP } from './Constants'; import IRudderContext from './IRudderContext'; import { filterNaN } from './FilterNaN'; @@ -78,6 +78,15 @@ function validateConfiguration(configuration: Configuration) { logWarn("setup : 'collectDeviceId' must be a boolean. Falling back to the default value"); delete configuration.collectDeviceId; } + if ( + typeof configuration.enableGzip !== 'undefined' && + typeof configuration.enableGzip != 'boolean' + ) { + logWarn( + `setup : 'enableGzip' must be a boolean. Falling back to the default value ${ENABLE_GZIP}`, + ); + delete configuration.enableGzip; + } } // setup the RudderSDK with writeKey and Config diff --git a/libs/sdk/src/RudderConfiguration.ts b/libs/sdk/src/RudderConfiguration.ts index 750cc151..14412406 100644 --- a/libs/sdk/src/RudderConfiguration.ts +++ b/libs/sdk/src/RudderConfiguration.ts @@ -14,6 +14,7 @@ import { SESSION_TIMEOUT, ENABLE_BACKGROUND_MODE, COLLECT_DEVICE_ID, + ENABLE_GZIP, } from './Constants'; export const configure = async ( @@ -33,6 +34,7 @@ export const configure = async ( trackAppLifecycleEvents = TRACK_LIFECYCLE_EVENTS, recordScreenViews = RECORD_SCREEN_VIEWS, collectDeviceId = COLLECT_DEVICE_ID, + enableGzip = ENABLE_GZIP, dbEncryption, withFactories = [], }: Configuration, @@ -68,6 +70,7 @@ export const configure = async ( enableBackgroundMode, recordScreenViews, collectDeviceId, + enableGzip, }; return config; From f9327c2e4f7fe23729a2cb0c3c67097c16ff8d73 Mon Sep 17 00:00:00 2001 From: Abhishek Pandey <64667840+1abhishekpandey@users.noreply.github.com> Date: Tue, 29 Oct 2024 13:38:33 +0530 Subject: [PATCH 2/6] fix: add dummy commit to trigger changelog generation (#384) * fix: add dummy commit to trigger changelog generation * chore: fix npm security issue --- .../src/dbEncryptionPlugin.ts | 2 +- package-lock.json | 23 +++++++++++-------- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/libs/plugins/rudder-plugin-db-encryption-react-native/src/dbEncryptionPlugin.ts b/libs/plugins/rudder-plugin-db-encryption-react-native/src/dbEncryptionPlugin.ts index 1caea5e5..07898015 100644 --- a/libs/plugins/rudder-plugin-db-encryption-react-native/src/dbEncryptionPlugin.ts +++ b/libs/plugins/rudder-plugin-db-encryption-react-native/src/dbEncryptionPlugin.ts @@ -9,7 +9,7 @@ class DBEncryption implements IDBEncryption { this.enable = enable; } - // Add the encryption plugin. + // Add the encryption plugin async addDBEncryptionPlugin(key: string, enable: boolean): Promise { await bridge.setup(key, enable); } diff --git a/package-lock.json b/package-lock.json index 361345e2..fc64d354 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15041,10 +15041,11 @@ "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==" }, "node_modules/cookie": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", - "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.1.tgz", + "integrity": "sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.6" } @@ -17851,17 +17852,18 @@ } }, "node_modules/express": { - "version": "4.21.0", - "resolved": "https://registry.npmjs.org/express/-/express-4.21.0.tgz", - "integrity": "sha512-VqcNGcj/Id5ZT1LZ/cfihi3ttTn+NJmkli2eZADigjq29qTlWi/hAQ43t/VLPq8+UX06FCEx3ByOYet6ZFblng==", + "version": "4.21.1", + "resolved": "https://registry.npmjs.org/express/-/express-4.21.1.tgz", + "integrity": "sha512-YSFlK1Ee0/GC8QaO91tHcDxJiE/X4FbpAyQWkxAvG6AXCuR65YzK8ua6D9hvi/TzUfZMpc+BwuM1IPw8fmQBiQ==", "dev": true, + "license": "MIT", "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", "body-parser": "1.20.3", "content-disposition": "0.5.4", "content-type": "~1.0.4", - "cookie": "0.6.0", + "cookie": "0.7.1", "cookie-signature": "1.0.6", "debug": "2.6.9", "depd": "2.0.0", @@ -20298,10 +20300,11 @@ } }, "node_modules/http-proxy-middleware": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.6.tgz", - "integrity": "sha512-ya/UeJ6HVBYxrgYotAZo1KvPWlgB48kUJLDePFeneHsVujFaW5WNj2NgWCAE//B1Dl02BIfYlpNgBy8Kf8Rjmw==", + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.7.tgz", + "integrity": "sha512-fgVY8AV7qU7z/MmXJ/rxwbrtQH4jBQ9m7kp3llF0liB7glmFeVZFBepQb32T3y8n8k2+AEYuMPCpinYW+/CuRA==", "dev": true, + "license": "MIT", "dependencies": { "@types/http-proxy": "^1.17.8", "http-proxy": "^1.18.1", From a6ef0e45cb0853127469d6de672351de81a7e3c5 Mon Sep 17 00:00:00 2001 From: GitHub actions Date: Tue, 29 Oct 2024 08:10:04 +0000 Subject: [PATCH 3/6] chore(rudder-sdk-react-native): release version 1.15.0 --- libs/sdk/CHANGELOG.md | 7 +++++++ libs/sdk/package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/libs/sdk/CHANGELOG.md b/libs/sdk/CHANGELOG.md index e42294eb..81d80aff 100644 --- a/libs/sdk/CHANGELOG.md +++ b/libs/sdk/CHANGELOG.md @@ -2,6 +2,13 @@ This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver). +## [1.15.0](https://github.com/rudderlabs/rudder-sdk-react-native/compare/rudder-sdk-react-native@1.14.1...rudder-sdk-react-native@1.15.0) (2024-10-29) + + +### Features + +* add gzip configuration support ([#382](https://github.com/rudderlabs/rudder-sdk-react-native/issues/382)) ([abf983b](https://github.com/rudderlabs/rudder-sdk-react-native/commit/abf983b8d50d28810a9a741cf9e3344df878fc0c)) + ## [1.14.1](https://github.com/rudderlabs/rudder-sdk-react-native/compare/rudder-sdk-react-native@1.14.0...rudder-sdk-react-native@1.14.1) (2024-09-30) diff --git a/libs/sdk/package.json b/libs/sdk/package.json index b0c5b9d1..cd97c617 100644 --- a/libs/sdk/package.json +++ b/libs/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@rudderstack/rudder-sdk-react-native", - "version": "1.14.1", + "version": "1.15.0", "description": "Rudder React Native SDK", "keywords": [ "react-native", From 781c5f11b1fec941635e148331d8f8d434fbc413 Mon Sep 17 00:00:00 2001 From: GitHub actions Date: Tue, 29 Oct 2024 08:10:05 +0000 Subject: [PATCH 4/6] chore(rudder-plugin-db-encryption-react-native): release version 1.3.1 --- .../rudder-plugin-db-encryption-react-native/CHANGELOG.md | 7 +++++++ .../rudder-plugin-db-encryption-react-native/package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/libs/plugins/rudder-plugin-db-encryption-react-native/CHANGELOG.md b/libs/plugins/rudder-plugin-db-encryption-react-native/CHANGELOG.md index f62e2718..1117e89a 100644 --- a/libs/plugins/rudder-plugin-db-encryption-react-native/CHANGELOG.md +++ b/libs/plugins/rudder-plugin-db-encryption-react-native/CHANGELOG.md @@ -2,6 +2,13 @@ This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver). +## [1.3.1](https://github.com/rudderlabs/rudder-sdk-react-native/compare/rudder-plugin-db-encryption-react-native@1.3.0...rudder-plugin-db-encryption-react-native@1.3.1) (2024-10-29) + + +### Bug Fixes + +* add dummy commit to trigger changelog generation ([#384](https://github.com/rudderlabs/rudder-sdk-react-native/issues/384)) ([f9327c2](https://github.com/rudderlabs/rudder-sdk-react-native/commit/f9327c2e4f7fe23729a2cb0c3c67097c16ff8d73)) + ## [1.3.0](https://github.com/rudderlabs/rudder-sdk-react-native/compare/rudder-plugin-db-encryption-react-native@1.2.0...rudder-plugin-db-encryption-react-native@1.3.0) (2024-08-19) diff --git a/libs/plugins/rudder-plugin-db-encryption-react-native/package.json b/libs/plugins/rudder-plugin-db-encryption-react-native/package.json index bd80116e..76919798 100644 --- a/libs/plugins/rudder-plugin-db-encryption-react-native/package.json +++ b/libs/plugins/rudder-plugin-db-encryption-react-native/package.json @@ -1,7 +1,7 @@ { "name": "@rudderstack/rudder-plugin-db-encryption-react-native", "title": "Rudder Plugin DBEncryption React Native", - "version": "1.3.0", + "version": "1.3.1", "description": "Rudder React Native DBEncryption Plugin support for Android and iOS", "keywords": [ "react-native", From a25dc51fa8c135365346dd4c14f24116c2b4a154 Mon Sep 17 00:00:00 2001 From: GitHub actions Date: Tue, 29 Oct 2024 08:10:05 +0000 Subject: [PATCH 5/6] chore(example): release version 0.12.0 --- apps/example/CHANGELOG.md | 7 +++++++ apps/example/package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/apps/example/CHANGELOG.md b/apps/example/CHANGELOG.md index 77ce943a..f1ca21d1 100644 --- a/apps/example/CHANGELOG.md +++ b/apps/example/CHANGELOG.md @@ -2,6 +2,13 @@ This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver). +## [0.12.0](https://github.com/rudderlabs/rudder-sdk-react-native/compare/example-0.11.1...example-0.12.0) (2024-10-29) + + +### Features + +* add gzip configuration support ([#382](https://github.com/rudderlabs/rudder-sdk-react-native/issues/382)) ([abf983b](https://github.com/rudderlabs/rudder-sdk-react-native/commit/abf983b8d50d28810a9a741cf9e3344df878fc0c)) + ## [0.11.1](https://github.com/rudderlabs/rudder-sdk-react-native/compare/example-0.11.0...example-0.11.1) (2024-09-30) diff --git a/apps/example/package.json b/apps/example/package.json index 4c767193..c1bff423 100644 --- a/apps/example/package.json +++ b/apps/example/package.json @@ -1,6 +1,6 @@ { "name": "example", - "version": "0.11.1", + "version": "0.12.0", "private": true, "dependencies": { "@react-native/metro-config": "*", From f69234cd7504de08f9b6199d7356408511e2d87d Mon Sep 17 00:00:00 2001 From: GitHub actions Date: Tue, 29 Oct 2024 08:10:13 +0000 Subject: [PATCH 6/6] chore: sync versions and generate release logs --- .../CHANGELOG_LATEST.md | 6 +++--- .../rudder-plugin-db-encryption-react-native/project.json | 2 +- libs/sdk/CHANGELOG_LATEST.md | 6 +++--- libs/sdk/project.json | 2 +- libs/sdk/src/Constants.ts | 2 +- package-lock.json | 8 ++++---- package.json | 2 +- sonar-project.properties | 2 +- 8 files changed, 15 insertions(+), 15 deletions(-) diff --git a/libs/plugins/rudder-plugin-db-encryption-react-native/CHANGELOG_LATEST.md b/libs/plugins/rudder-plugin-db-encryption-react-native/CHANGELOG_LATEST.md index 34187c4a..6cb2cd1b 100644 --- a/libs/plugins/rudder-plugin-db-encryption-react-native/CHANGELOG_LATEST.md +++ b/libs/plugins/rudder-plugin-db-encryption-react-native/CHANGELOG_LATEST.md @@ -1,5 +1,5 @@ -## [1.3.0](https://github.com/rudderlabs/rudder-sdk-react-native/compare/rudder-plugin-db-encryption-react-native@1.2.0...rudder-plugin-db-encryption-react-native@1.3.0) (2024-08-19) +## [1.3.1](https://github.com/rudderlabs/rudder-sdk-react-native/compare/rudder-plugin-db-encryption-react-native@1.3.0...rudder-plugin-db-encryption-react-native@1.3.1) (2024-10-29) -### Features +### Bug Fixes -- use the sqlcipher-android library in db encryption android plugin ([#363](https://github.com/rudderlabs/rudder-sdk-react-native/issues/363)) ([31c049c](https://github.com/rudderlabs/rudder-sdk-react-native/commit/31c049cfa1e1bb77884600d0248c58b00d78fbed)) +- add dummy commit to trigger changelog generation ([#384](https://github.com/rudderlabs/rudder-sdk-react-native/issues/384)) ([f9327c2](https://github.com/rudderlabs/rudder-sdk-react-native/commit/f9327c2e4f7fe23729a2cb0c3c67097c16ff8d73)) diff --git a/libs/plugins/rudder-plugin-db-encryption-react-native/project.json b/libs/plugins/rudder-plugin-db-encryption-react-native/project.json index e06c9bdf..bd77ce1a 100644 --- a/libs/plugins/rudder-plugin-db-encryption-react-native/project.json +++ b/libs/plugins/rudder-plugin-db-encryption-react-native/project.json @@ -95,7 +95,7 @@ "github": { "executor": "@jscutlery/semver:github", "options": { - "tag": "rudder-plugin-db-encryption-react-native@1.3.0", + "tag": "rudder-plugin-db-encryption-react-native@1.3.1", "notesFile": "./libs/plugins/rudder-plugin-db-encryption-react-native/CHANGELOG_LATEST.md" } }, diff --git a/libs/sdk/CHANGELOG_LATEST.md b/libs/sdk/CHANGELOG_LATEST.md index 28d9a669..69f71c3d 100644 --- a/libs/sdk/CHANGELOG_LATEST.md +++ b/libs/sdk/CHANGELOG_LATEST.md @@ -1,5 +1,5 @@ -## [1.14.1](https://github.com/rudderlabs/rudder-sdk-react-native/compare/rudder-sdk-react-native@1.14.0...rudder-sdk-react-native@1.14.1) (2024-09-30) +## [1.15.0](https://github.com/rudderlabs/rudder-sdk-react-native/compare/rudder-sdk-react-native@1.14.1...rudder-sdk-react-native@1.15.0) (2024-10-29) -### Bug Fixes +### Features -- alias api ([#377](https://github.com/rudderlabs/rudder-sdk-react-native/issues/377)) ([b9168cf](https://github.com/rudderlabs/rudder-sdk-react-native/commit/b9168cfe1bcdfdf696b0f7c534f0841b15050a19)) +- add gzip configuration support ([#382](https://github.com/rudderlabs/rudder-sdk-react-native/issues/382)) ([abf983b](https://github.com/rudderlabs/rudder-sdk-react-native/commit/abf983b8d50d28810a9a741cf9e3344df878fc0c)) diff --git a/libs/sdk/project.json b/libs/sdk/project.json index c54900c7..a8cd9db7 100644 --- a/libs/sdk/project.json +++ b/libs/sdk/project.json @@ -94,7 +94,7 @@ "github": { "executor": "@jscutlery/semver:github", "options": { - "tag": "rudder-sdk-react-native@1.14.1", + "tag": "rudder-sdk-react-native@1.15.0", "notesFile": "./libs/sdk/CHANGELOG_LATEST.md" } }, diff --git a/libs/sdk/src/Constants.ts b/libs/sdk/src/Constants.ts index ecefa805..ad0ecf0f 100644 --- a/libs/sdk/src/Constants.ts +++ b/libs/sdk/src/Constants.ts @@ -10,7 +10,7 @@ export const AUTO_COLLECT_ADVERT_ID = false; export const TRACK_LIFECYCLE_EVENTS = true; export const RECORD_SCREEN_VIEWS = false; export const LOG_LEVEL = RUDDER_LOG_LEVEL.ERROR; -export const SDK_VERSION = '1.14.1'; +export const SDK_VERSION = '1.15.0'; export const AUTO_SESSION_TRACKING = true; export const SESSION_TIMEOUT = 300000; export const ENABLE_BACKGROUND_MODE = false; diff --git a/package-lock.json b/package-lock.json index fc64d354..e21827fa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@rudderstack/rudder-sdk-react-native-monorepo", - "version": "2.30.0", + "version": "2.31.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@rudderstack/rudder-sdk-react-native-monorepo", - "version": "2.30.0", + "version": "2.31.0", "license": "MIT", "dependencies": { "@babel/runtime": "7.24.5", @@ -115,7 +115,7 @@ }, "libs/plugins/rudder-plugin-db-encryption-react-native": { "name": "@rudderstack/rudder-plugin-db-encryption-react-native", - "version": "1.3.0", + "version": "1.3.1", "license": "MIT", "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0", @@ -205,7 +205,7 @@ }, "libs/sdk": { "name": "@rudderstack/rudder-sdk-react-native", - "version": "1.14.1", + "version": "1.15.0", "license": "MIT", "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0", diff --git a/package.json b/package.json index 427096ea..dd373466 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rudderstack/rudder-sdk-react-native-monorepo", - "version": "2.30.0", + "version": "2.31.0", "description": "Rudder React Native SDK monorepo", "keywords": [ "react-native", diff --git a/sonar-project.properties b/sonar-project.properties index b8f72bb7..34bcdfb9 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -6,7 +6,7 @@ sonar.qualitygate.wait=false sonar.projectKey=rudderlabs_rudder-sdk-react-native sonar.organization=rudderlabs sonar.projectName=rudder-react-native -sonar.projectVersion=2.30.0 +sonar.projectVersion=2.31.0 # Meta-data for the project sonar.links.scm=https://github.com/rudderlabs/rudder-sdk-react-native