diff --git a/.github/workflows/build-ios-checks.yml b/.github/workflows/build-ios-checks.yml index e6244d21..8b2becff 100644 --- a/.github/workflows/build-ios-checks.yml +++ b/.github/workflows/build-ios-checks.yml @@ -26,7 +26,7 @@ jobs: - name: Setup CocoaPods uses: maxim-lobanov/setup-cocoapods@v1 with: - version: 1.11.3 + version: 1.14.3 - uses: maxim-lobanov/setup-xcode@v1 with: @@ -45,7 +45,7 @@ jobs: npm run setup:ci - name: Restore Pods cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | apps/example/ios/Pods diff --git a/.github/workflows/check-compatibility-of-native-sdks.yml b/.github/workflows/check-compatibility-of-native-sdks.yml index d490dbb5..4d2f920e 100644 --- a/.github/workflows/check-compatibility-of-native-sdks.yml +++ b/.github/workflows/check-compatibility-of-native-sdks.yml @@ -151,7 +151,7 @@ jobs: - name: Setup CocoaPods uses: maxim-lobanov/setup-cocoapods@v1 with: - version: 1.11.3 + version: 1.14.3 - uses: maxim-lobanov/setup-xcode@v1 with: @@ -240,7 +240,7 @@ jobs: - name: Setup CocoaPods uses: maxim-lobanov/setup-cocoapods@v1 with: - version: 1.11.3 + version: 1.14.3 - uses: maxim-lobanov/setup-xcode@v1 with: @@ -329,7 +329,7 @@ jobs: - name: Setup CocoaPods uses: maxim-lobanov/setup-cocoapods@v1 with: - version: 1.11.3 + version: 1.14.3 - uses: maxim-lobanov/setup-xcode@v1 with: @@ -418,7 +418,7 @@ jobs: - name: Setup CocoaPods uses: maxim-lobanov/setup-cocoapods@v1 with: - version: 1.11.3 + version: 1.14.3 - uses: maxim-lobanov/setup-xcode@v1 with: diff --git a/.github/workflows/deploy-npm.yml b/.github/workflows/deploy-npm.yml index f4cf939e..5927ea97 100644 --- a/.github/workflows/deploy-npm.yml +++ b/.github/workflows/deploy-npm.yml @@ -56,7 +56,7 @@ jobs: - name: Send message to Slack channel id: slack - uses: slackapi/slack-github-action@v1.24.0 + uses: slackapi/slack-github-action@v1.25.0 env: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} PROJECT_NAME: 'React Native SDK npm packages' diff --git a/.github/workflows/publish-new-release.yml b/.github/workflows/publish-new-release.yml index ba5113d9..757decdc 100644 --- a/.github/workflows/publish-new-release.yml +++ b/.github/workflows/publish-new-release.yml @@ -109,7 +109,7 @@ jobs: - name: Send message to Slack channel id: slack - uses: slackapi/slack-github-action@v1.24.0 + uses: slackapi/slack-github-action@v1.25.0 env: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} PROJECT_NAME: 'React Native SDK monorepo' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bcd98c3e..97e0f6a1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,7 +29,7 @@ jobs: - name: Setup CocoaPods uses: maxim-lobanov/setup-cocoapods@v1 with: - version: 1.11.3 + version: 1.14.3 - name: Setup Node uses: actions/setup-node@v4 diff --git a/LICENSE.md b/LICENSE.md index 2abc92cb..33e50eba 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,21 +1,44 @@ -MIT License - -Copyright (c) 2021 RudderStack - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +### Elastic License 2.0 (ELv2) ### + +## Acceptance ## +By using the software, you agree to all of the terms and conditions below. + +## Copyright License ## +The licensor grants you a non-exclusive, royalty-free, worldwide, non-sublicensable, non-transferable license to use, copy, distribute, make available, and prepare derivative works of the software, in each case subject to the limitations and conditions below + +## Limitations ## +You may not provide the software to third parties as a hosted or managed service, where the service provides users with access to any substantial set of the features or functionality of the software. + +You may not move, change, disable, or circumvent the license key functionality in the software, and you may not remove or obscure any functionality in the software that is protected by the license key. + +You may not alter, remove, or obscure any licensing, copyright, or other notices of the licensor in the software. Any use of the licensor’s trademarks is subject to applicable law. + +## Patents ## +The licensor grants you a license, under any patent claims the licensor can license, or becomes able to license, to make, have made, use, sell, offer for sale, import and have imported the software, in each case subject to the limitations and conditions in this license. This license does not cover any patent claims that you cause to be infringed by modifications or additions to the software. If you or your company make any written claim that the software infringes or contributes to infringement of any patent, your patent license for the software granted under these terms ends immediately. If your company makes such a claim, your patent license ends immediately for work on behalf of your company. + +## Notices ## +You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these terms. + +If you modify the software, you must include in any modified copies of the software prominent notices stating that you have modified the software. + +## No Other Rights ## +These terms do not imply any licenses other than those expressly granted in these terms. + +## Termination ## +If you use the software in violation of these terms, such use is not licensed, and your licenses will automatically terminate. If the licensor provides you with a notice of your violation, and you cease all violation of this license no later than 30 days after you receive that notice, your licenses will be reinstated retroactively. However, if you violate these terms after such reinstatement, any additional violation of these terms will cause your licenses to terminate automatically and permanently. + +## No Liability ## +As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will not be liable to you for any damages arising out of these terms or the use or nature of the software, under any kind of legal claim. + +## Definitions ## +The *licensor* is the entity offering these terms, and the *software* is the software the licensor makes available under these terms, including any portion of it. + +*you* refers to the individual or entity agreeing to these terms. + +*your company* is any legal entity, sole proprietorship, or other kind of organization that you work for, plus all organizations that have control over, are under the control of, or are under common control with that organization. *control* means ownership of substantially all the assets of an entity, or the power to direct its management and policies by vote, contract, or otherwise. Control can be direct or indirect. + +*your licenses* are all the licenses granted to you for the software under these terms. + +*use* means anything you do with the software requiring one of your licenses. + +*trademark* means trademarks, service marks, and similar rights. diff --git a/apps/example/CHANGELOG.md b/apps/example/CHANGELOG.md index 485b85ee..724f4364 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.8.0](https://github.com/rudderlabs/rudder-sdk-react-native/compare/example-0.7.3...example-0.8.0) (2024-02-15) + + +### Features + +* update rudder braze ios integration to version 2.0.0 ([#313](https://github.com/rudderlabs/rudder-sdk-react-native/issues/313)) ([e19089b](https://github.com/rudderlabs/rudder-sdk-react-native/commit/e19089bfa2037d9641fa22e9bd9e1c2dcb268aa9)) + ## [0.7.3](https://github.com/rudderlabs/rudder-sdk-react-native/compare/example-0.7.2...example-0.7.3) (2023-12-21) diff --git a/apps/example/ios/Example.xcodeproj/project.pbxproj b/apps/example/ios/Example.xcodeproj/project.pbxproj index ab6a863d..47d156de 100644 --- a/apps/example/ios/Example.xcodeproj/project.pbxproj +++ b/apps/example/ios/Example.xcodeproj/project.pbxproj @@ -11,9 +11,9 @@ 13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.mm */; }; 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; - 572339E551E2C69728D379A6 /* libPods-Example.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 4E5075D5FA53025B6298BF51 /* libPods-Example.a */; }; + 4FBA79E4C18E5B48BCF497AD /* libPods-Example.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6A57CC5DA43E85A803C7E006 /* libPods-Example.a */; }; 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; }; - EE6447FFF17CF2E7B529E5DA /* libPods-Example-ExampleTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = CF6A8C02B4906611CDB6BA01 /* libPods-Example-ExampleTests.a */; }; + FF3D8AAC701021D98578CC59 /* libPods-Example-ExampleTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6DA1FF955753523EA52E2093 /* libPods-Example-ExampleTests.a */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -30,20 +30,20 @@ 00E356EE1AD99517003FC87E /* ExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 00E356F21AD99517003FC87E /* ExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ExampleTests.m; sourceTree = ""; }; - 0132F7E4952EAE089CC07643 /* Pods-Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example.debug.xcconfig"; path = "Target Support Files/Pods-Example/Pods-Example.debug.xcconfig"; sourceTree = ""; }; 13B07F961A680F5B00A75B9A /* Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = Example/AppDelegate.h; sourceTree = ""; }; 13B07FB01A68108700A75B9A /* AppDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = AppDelegate.mm; path = Example/AppDelegate.mm; sourceTree = ""; }; 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = Example/Images.xcassets; sourceTree = ""; }; 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = Example/Info.plist; sourceTree = ""; }; 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = Example/main.m; sourceTree = ""; }; - 4E5075D5FA53025B6298BF51 /* libPods-Example.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Example.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - 76097A422C34B9AF14E464AF /* Pods-Example-ExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example-ExampleTests.release.xcconfig"; path = "Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests.release.xcconfig"; sourceTree = ""; }; + 249CD3ED9D9FD0CCD2F52F3D /* Pods-Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example.debug.xcconfig"; path = "Target Support Files/Pods-Example/Pods-Example.debug.xcconfig"; sourceTree = ""; }; + 6A57CC5DA43E85A803C7E006 /* libPods-Example.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Example.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 6DA1FF955753523EA52E2093 /* libPods-Example-ExampleTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Example-ExampleTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = Example/LaunchScreen.storyboard; sourceTree = ""; }; - 960ECCEA508E936E30CF7700 /* Pods-Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example.release.xcconfig"; path = "Target Support Files/Pods-Example/Pods-Example.release.xcconfig"; sourceTree = ""; }; - CF6A8C02B4906611CDB6BA01 /* libPods-Example-ExampleTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Example-ExampleTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + B69100A70DCFD82FF34F1F73 /* Pods-Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example.release.xcconfig"; path = "Target Support Files/Pods-Example/Pods-Example.release.xcconfig"; sourceTree = ""; }; + EC15051795D7CB44B3C2D5FB /* Pods-Example-ExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example-ExampleTests.debug.xcconfig"; path = "Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests.debug.xcconfig"; sourceTree = ""; }; ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; - F386857E36E6FD2BAF4ACE7F /* Pods-Example-ExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example-ExampleTests.debug.xcconfig"; path = "Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests.debug.xcconfig"; sourceTree = ""; }; + F82DB1620945C95B0AEF82C6 /* Pods-Example-ExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example-ExampleTests.release.xcconfig"; path = "Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests.release.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -51,7 +51,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - EE6447FFF17CF2E7B529E5DA /* libPods-Example-ExampleTests.a in Frameworks */, + FF3D8AAC701021D98578CC59 /* libPods-Example-ExampleTests.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -59,7 +59,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 572339E551E2C69728D379A6 /* libPods-Example.a in Frameworks */, + 4FBA79E4C18E5B48BCF497AD /* libPods-Example.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -100,8 +100,8 @@ isa = PBXGroup; children = ( ED297162215061F000B7C4FE /* JavaScriptCore.framework */, - 4E5075D5FA53025B6298BF51 /* libPods-Example.a */, - CF6A8C02B4906611CDB6BA01 /* libPods-Example-ExampleTests.a */, + 6A57CC5DA43E85A803C7E006 /* libPods-Example.a */, + 6DA1FF955753523EA52E2093 /* libPods-Example-ExampleTests.a */, ); name = Frameworks; sourceTree = ""; @@ -140,10 +140,10 @@ BBD78D7AC51CEA395F1C20DB /* Pods */ = { isa = PBXGroup; children = ( - 0132F7E4952EAE089CC07643 /* Pods-Example.debug.xcconfig */, - 960ECCEA508E936E30CF7700 /* Pods-Example.release.xcconfig */, - F386857E36E6FD2BAF4ACE7F /* Pods-Example-ExampleTests.debug.xcconfig */, - 76097A422C34B9AF14E464AF /* Pods-Example-ExampleTests.release.xcconfig */, + 249CD3ED9D9FD0CCD2F52F3D /* Pods-Example.debug.xcconfig */, + B69100A70DCFD82FF34F1F73 /* Pods-Example.release.xcconfig */, + EC15051795D7CB44B3C2D5FB /* Pods-Example-ExampleTests.debug.xcconfig */, + F82DB1620945C95B0AEF82C6 /* Pods-Example-ExampleTests.release.xcconfig */, ); path = Pods; sourceTree = ""; @@ -155,12 +155,12 @@ isa = PBXNativeTarget; buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ExampleTests" */; buildPhases = ( - 97E021D6A7D3EAB6DFA50D46 /* [CP] Check Pods Manifest.lock */, + 49C079ED3FCBDCF1A8A14B45 /* [CP] Check Pods Manifest.lock */, 00E356EA1AD99517003FC87E /* Sources */, 00E356EB1AD99517003FC87E /* Frameworks */, 00E356EC1AD99517003FC87E /* Resources */, - 20EAD81BAACEEE80953BF301 /* [CP] Embed Pods Frameworks */, - 4E4760B4A53BDB1D6984DAA4 /* [CP] Copy Pods Resources */, + A8C2BB924437813BC9C08F59 /* [CP] Embed Pods Frameworks */, + 8BCF1F4EEF82C79801BC5B6C /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -176,14 +176,14 @@ isa = PBXNativeTarget; buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "Example" */; buildPhases = ( - D0785144741B345104AD49AC /* [CP] Check Pods Manifest.lock */, + 505F55ACD91DC5498ECD27C5 /* [CP] Check Pods Manifest.lock */, FD10A7F022414F080027D42C /* Start Packager */, 13B07F871A680F5B00A75B9A /* Sources */, 13B07F8C1A680F5B00A75B9A /* Frameworks */, 13B07F8E1A680F5B00A75B9A /* Resources */, 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, - 5E836CCDC1558ED7205D5FEB /* [CP] Embed Pods Frameworks */, - 54C91234A85EC9A2ABF0DCF8 /* [CP] Copy Pods Resources */, + 0A1F961CEE737369B332C2DC /* [CP] Embed Pods Frameworks */, + 1F9F94E0C9DF5BCCBA60ABFA /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -266,41 +266,24 @@ shellPath = /bin/sh; shellScript = "set -e\n\nWITH_ENVIRONMENT=\"../node_modules/react-native/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"../node_modules/react-native/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"$WITH_ENVIRONMENT $REACT_NATIVE_XCODE\"\n"; }; - 20EAD81BAACEEE80953BF301 /* [CP] Embed Pods Frameworks */ = { + 0A1F961CEE737369B332C2DC /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests-frameworks-${CONFIGURATION}-input-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-Example/Pods-Example-frameworks-${CONFIGURATION}-input-files.xcfilelist", ); name = "[CP] Embed Pods Frameworks"; outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests-frameworks-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - 4E4760B4A53BDB1D6984DAA4 /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests-resources-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Copy Pods Resources"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests-resources-${CONFIGURATION}-output-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-Example/Pods-Example-frameworks-${CONFIGURATION}-output-files.xcfilelist", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests-resources.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Example/Pods-Example-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; - 54C91234A85EC9A2ABF0DCF8 /* [CP] Copy Pods Resources */ = { + 1F9F94E0C9DF5BCCBA60ABFA /* [CP] Copy Pods Resources */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -317,24 +300,29 @@ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Example/Pods-Example-resources.sh\"\n"; showEnvVarsInLog = 0; }; - 5E836CCDC1558ED7205D5FEB /* [CP] Embed Pods Frameworks */ = { + 49C079ED3FCBDCF1A8A14B45 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Example/Pods-Example-frameworks-${CONFIGURATION}-input-files.xcfilelist", ); - name = "[CP] Embed Pods Frameworks"; + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Example/Pods-Example-frameworks-${CONFIGURATION}-output-files.xcfilelist", + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-Example-ExampleTests-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Example/Pods-Example-frameworks.sh\"\n"; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; - 97E021D6A7D3EAB6DFA50D46 /* [CP] Check Pods Manifest.lock */ = { + 505F55ACD91DC5498ECD27C5 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -349,33 +337,45 @@ outputFileListPaths = ( ); outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-Example-ExampleTests-checkManifestLockResult.txt", + "$(DERIVED_FILE_DIR)/Pods-Example-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; - D0785144741B345104AD49AC /* [CP] Check Pods Manifest.lock */ = { + 8BCF1F4EEF82C79801BC5B6C /* [CP] Copy Pods Resources */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests-resources-${CONFIGURATION}-input-files.xcfilelist", ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; + name = "[CP] Copy Pods Resources"; outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests-resources-${CONFIGURATION}-output-files.xcfilelist", ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-Example-checkManifestLockResult.txt", + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + A8C2BB924437813BC9C08F59 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests-frameworks-${CONFIGURATION}-input-files.xcfilelist", + ); + name = "[CP] Embed Pods Frameworks"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests-frameworks-${CONFIGURATION}-output-files.xcfilelist", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Example-ExampleTests/Pods-Example-ExampleTests-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; FD10A7F022414F080027D42C /* Start Packager */ = { @@ -430,7 +430,7 @@ /* Begin XCBuildConfiguration section */ 00E356F61AD99517003FC87E /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = F386857E36E6FD2BAF4ACE7F /* Pods-Example-ExampleTests.debug.xcconfig */; + baseConfigurationReference = EC15051795D7CB44B3C2D5FB /* Pods-Example-ExampleTests.debug.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; GCC_PREPROCESSOR_DEFINITIONS = ( @@ -457,7 +457,7 @@ }; 00E356F71AD99517003FC87E /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 76097A422C34B9AF14E464AF /* Pods-Example-ExampleTests.release.xcconfig */; + baseConfigurationReference = F82DB1620945C95B0AEF82C6 /* Pods-Example-ExampleTests.release.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; COPY_PHASE_STRIP = NO; @@ -481,7 +481,7 @@ }; 13B07F941A680F5B00A75B9A /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 0132F7E4952EAE089CC07643 /* Pods-Example.debug.xcconfig */; + baseConfigurationReference = 249CD3ED9D9FD0CCD2F52F3D /* Pods-Example.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; @@ -508,7 +508,7 @@ }; 13B07F951A680F5B00A75B9A /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 960ECCEA508E936E30CF7700 /* Pods-Example.release.xcconfig */; + baseConfigurationReference = B69100A70DCFD82FF34F1F73 /* Pods-Example.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; diff --git a/apps/example/ios/Podfile b/apps/example/ios/Podfile index cf92f595..6829973d 100644 --- a/apps/example/ios/Podfile +++ b/apps/example/ios/Podfile @@ -5,7 +5,12 @@ require Pod::Executable.execute_command('node', ['-p', {paths: [process.argv[1]]}, )', __dir__]).strip -platform :ios, min_ios_version_supported +# This was added, as the `min_ios_version_supported` is defined in the `react-native/scripts/react_native_pods.rb` is `12.4`, and the `Rudder-Braze` requires `13.0` as the minimum version. +versions = [13.0 , min_ios_version_supported] +# Remove nil values and find the maximum version +max_version = versions.compact.map(&:to_f).max +platform :ios, max_version + prepare_react_native_project! # If you are using a `react-native-flipper` your iOS build will fail when `NO_FLIPPER=1` is set. @@ -49,10 +54,9 @@ target 'Example' do :app_path => "#{Pod::Config.instance.installation_root}/.." ) - # Note that if you have use_frameworks! enabled, then disable these lines + # Note that if you have use_frameworks! enabled, then comment out these lines pod 'FirebaseCore', :modular_headers => true pod 'GoogleUtilities', :modular_headers => true - pod 'RSCrashReporter', :modular_headers => true target 'ExampleTests' do inherit! :complete @@ -71,12 +75,14 @@ target 'Example' do target.build_configurations.each do |config| config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = "arm64" config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', '_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION'] - # XCode 15 issue: https://github.com/CocoaPods/CocoaPods/issues/12012#issuecomment-1653051943 (when use_frameworks! is enabled) xcconfig_path = config.base_configuration_reference.real_path xcconfig = File.read(xcconfig_path) xcconfig_mod = xcconfig.gsub(/DT_TOOLCHAIN_DIR/, "TOOLCHAIN_DIR") File.open(xcconfig_path, "w") { |file| file << xcconfig_mod } + + # Setting the deployment target to 13.0 to solve the build error + config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET' end end diff --git a/apps/example/ios/Podfile.lock b/apps/example/ios/Podfile.lock index 21fb7e02..072fa5ca 100644 --- a/apps/example/ios/Podfile.lock +++ b/apps/example/ios/Podfile.lock @@ -10,11 +10,11 @@ PODS: - AppCenter/Core (5.0.4) - AppCenter/Crashes (5.0.4): - AppCenter/Core - - AppsFlyerFramework (6.12.2): - - AppsFlyerFramework/Main (= 6.12.2) - - AppsFlyerFramework/Main (6.12.2) + - AppsFlyerFramework (6.13.0): + - AppsFlyerFramework/Main (= 6.13.0) + - AppsFlyerFramework/Main (6.13.0) - boost (1.76.0) - - BrazeKit (6.6.1) + - BrazeKit (7.5.0) - CleverTap-iOS-SDK (4.2.2): - SDWebImage (~> 5.11) - CocoaAsyncSocket (7.6.5) @@ -45,13 +45,13 @@ PODS: - GoogleUtilities/Network (~> 7.11) - "GoogleUtilities/NSData+zlib (~> 7.11)" - nanopb (< 2.30910.0, >= 2.30908.0) - - FirebaseCore (10.19.0): + - FirebaseCore (10.21.0): - FirebaseCoreInternal (~> 10.0) - GoogleUtilities/Environment (~> 7.12) - GoogleUtilities/Logger (~> 7.12) - - FirebaseCoreInternal (10.19.0): + - FirebaseCoreInternal (10.21.0): - "GoogleUtilities/NSData+zlib (~> 7.8)" - - FirebaseInstallations (10.19.0): + - FirebaseInstallations (10.21.0): - FirebaseCore (~> 10.0) - GoogleUtilities/Environment (~> 7.8) - GoogleUtilities/UserDefaults (~> 7.8) @@ -173,10 +173,10 @@ PODS: - hermes-engine/Pre-built (= 0.72.4) - hermes-engine/Pre-built (0.72.4) - libevent (2.1.12) - - MetricsReporter (1.2.0): + - MetricsReporter (1.2.1): - RSCrashReporter (= 1.0.1) - RudderKit (= 1.4.0) - - MoEngage-iOS-SDK (9.14.0) + - MoEngage-iOS-SDK (9.15.2) - nanopb (2.30909.1): - nanopb/decode (= 2.30909.1) - nanopb/encode (= 2.30909.1) @@ -600,14 +600,14 @@ PODS: - React-perflogger (= 0.72.4) - RNCAsyncStorage (1.19.3): - React-Core - - RNRudderSdk (1.11.2): + - RNRudderSdk (1.11.3): - React - Rudder (< 2.0.0, >= 1.24.1) - RNSVG (13.9.0): - React-Core - RSCrashReporter (1.0.1) - - Rudder (1.24.1): - - MetricsReporter (= 1.2.0) + - Rudder (1.25.1): + - MetricsReporter (= 1.2.1) - Rudder-Amplitude (1.1.1): - Amplitude (= 8.16.0) - Rudder (~> 1.12) @@ -617,9 +617,9 @@ PODS: - Rudder-Appsflyer (2.4.0): - AppsFlyerFramework (~> 6.12) - Rudder (~> 1.12) - - Rudder-Braze (1.3.0): - - BrazeKit (~> 6.6.0) - - Rudder (~> 1.12) + - Rudder-Braze (2.0.0): + - BrazeKit (~> 7.5.0) + - Rudder (~> 1.24) - Rudder-CleverTap (1.1.2): - CleverTap-iOS-SDK (~> 4.2) - Rudder (~> 1.12) @@ -641,7 +641,7 @@ PODS: - rudder-integration-braze-react-native (1.1.1): - React - RNRudderSdk - - Rudder-Braze (~> 1.3) + - Rudder-Braze (~> 2.0) - rudder-integration-clevertap-react-native (1.0.12): - CleverTap-iOS-SDK - React @@ -662,7 +662,7 @@ PODS: - Rudder-Moengage (2.1.1): - MoEngage-iOS-SDK (~> 9.5) - Rudder (~> 1.12) - - rudder-plugin-db-encryption-react-native (1.0.0): + - rudder-plugin-db-encryption-react-native (1.0.1): - React - RNRudderSdk - Rudder (< 2.0.0, >= 1.24.1) @@ -674,17 +674,17 @@ PODS: - Rudder (~> 1.21) - SQLCipher (~> 4.0) - RudderKit (1.4.0) - - SDWebImage (5.18.7): - - SDWebImage/Core (= 5.18.7) - - SDWebImage/Core (5.18.7) + - SDWebImage (5.18.11): + - SDWebImage/Core (= 5.18.11) + - SDWebImage/Core (5.18.11) - Singular-SDK (11.0.4): - Singular-SDK/Main (= 11.0.4) - Singular-SDK/Main (11.0.4) - SocketRocket (0.6.1) - - SQLCipher (4.5.5): - - SQLCipher/standard (= 4.5.5) - - SQLCipher/common (4.5.5) - - SQLCipher/standard (4.5.5): + - SQLCipher (4.5.6): + - SQLCipher/standard (= 4.5.6) + - SQLCipher/common (4.5.6) + - SQLCipher/standard (4.5.6): - SQLCipher/common - Yoga (1.14.0) - YogaKit (1.18.1): @@ -759,7 +759,6 @@ DEPENDENCIES: - "RNCAsyncStorage (from `../node_modules/@react-native-async-storage/async-storage`)" - "RNRudderSdk (from `../node_modules/@rudderstack/rudder-sdk-react-native`)" - RNSVG (from `../node_modules/react-native-svg`) - - RSCrashReporter - "rudder-integration-amplitude-react-native (from `../node_modules/@rudderstack/rudder-integration-amplitude-react-native`)" - "rudder-integration-appcenter-react-native (from `../node_modules/@rudderstack/rudder-integration-appcenter-react-native`)" - "rudder-integration-appsflyer-react-native (from `../node_modules/@rudderstack/rudder-integration-appsflyer-react-native`)" @@ -930,18 +929,18 @@ SPEC CHECKSUMS: Amplitude: 4daad8eb8193b15353221dfd96c52220367cb3e8 AnalyticsConnector: a53214d38ae22734c6266106c0492b37832633a9 AppCenter: 85c92db0759d2792a65eb61d6842d2e86611a49a - AppsFlyerFramework: 6eb4d89d2eb9a6632317f1055b359d9fd85fd5ff + AppsFlyerFramework: cb54b4f27d2da2b3e2b286800476ce3b2007c75f boost: 57d2868c099736d80fcd648bf211b4431e51a558 - BrazeKit: 7199d564cd3c90842b11a12ff11b99d0dbbb2579 + BrazeKit: 55dfadd08105765a568137f5d24d46894186db65 CleverTap-iOS-SDK: 36c21b8a671d87a0f9c7b389b339d02528bbe4d7 CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99 DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54 FBLazyVector: 5d4a3b7f411219a45a6d952f77d2c0a6c9989da5 FBReactNativeSpec: aa0d2420d208c9314624e14bb417782fd5f30d29 FirebaseAnalytics: 9a12e090ead49f8877ed8132ae920e3cbbd2fcd0 - FirebaseCore: dc5c7badf99d47613c52b2e3a57a64cd187f8554 - FirebaseCoreInternal: b444828ea7cfd594fca83046b95db98a2be4f290 - FirebaseInstallations: 033d199474164db20c8350736842a94fe717b960 + FirebaseCore: 74f647ad9739ea75112ce6c3b3b91f5488ce1122 + FirebaseCoreInternal: 43c1788eaeee9d1b97caaa751af567ce11010d00 + FirebaseInstallations: 390ea1d10a4d02b20c965cbfd527ee9b3b412acb Flipper: 6edb735e6c3e332975d1b17956bcc584eccf5818 Flipper-Boost-iOSX: fd1e2b8cbef7e662a122412d7ac5f5bea715403c Flipper-DoubleConversion: 2dc99b02f658daf147069aad9dbd29d8feb06d30 @@ -956,8 +955,8 @@ SPEC CHECKSUMS: GoogleUtilities: 0759d1a57ebb953965c2dfe0ba4c82e95ccc2e34 hermes-engine: 81191603c4eaa01f5e4ae5737a9efcf64756c7b2 libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913 - MetricsReporter: 1b381205a8bcc7ea5413c663cbb438e62078ee11 - MoEngage-iOS-SDK: fd9507de4c0960ae08874b16e2dfbb27e61e7703 + MetricsReporter: 99596ee5003c69949ed2f50acc34aee83c42f843 + MoEngage-iOS-SDK: 349c179024e2b5412a273c7c858a3ad7b087f04e nanopb: d4d75c12cd1316f4a64e3c6963f879ecd4b5e0d5 OpenSSL-Universal: ebc357f1e6bc71fa463ccb2fe676756aff50e88c PromisesObjC: c50d2056b5253dadbd6c2bea79b0674bd5a52fa4 @@ -995,36 +994,36 @@ SPEC CHECKSUMS: React-utils: b79f2411931f9d3ea5781404dcbb2fa8a837e13a ReactCommon: 4b2bdcb50a3543e1c2b2849ad44533686610826d RNCAsyncStorage: c913ede1fa163a71cea118ed4670bbaaa4b511bb - RNRudderSdk: be482ed0ae1be76a3e602907041f0d97dfcb949a + RNRudderSdk: 3275f6bae942129e3a2d5a5f2f0801d2f0df2392 RNSVG: 53c661b76829783cdaf9b7a57258f3d3b4c28315 RSCrashReporter: 6b8376ac729b0289ebe0908553e5f56d8171f313 - Rudder: f80f8f7ef42a86e7472fd29eae3988a7c2739bfc + Rudder: 34799a1be015f03d7073a919c4b3557cfde428d4 Rudder-Amplitude: a353ca07ba381d23ae587f2f74ea79a6c1563145 Rudder-AppCenter: 9eca9241e3707a0e9610714dd91dc8da4bae7e1f Rudder-Appsflyer: 5953f9dd9a03239b0686a110dff3bf48070f7b01 - Rudder-Braze: a1b41927b91b067f242c5576f6157e0cea9e59a2 + Rudder-Braze: 906ac557204d42bfd29bbf48741d8f6beb9ca2be Rudder-CleverTap: a0085aab472e0e60930c4301ef80bae5ff187e98 Rudder-Firebase: f20bcaf15e6dfa1d8e7b247db5dd791cee521a4e rudder-integration-amplitude-react-native: cb6466c434383514779e924c96f60874bfe52e2f rudder-integration-appcenter-react-native: d62990c1d82c297bb271ae11f224c335c62aa6e2 rudder-integration-appsflyer-react-native: 7215083a0d8166b284b74d741da5f50eb95aac7d - rudder-integration-braze-react-native: 3fdb62be6a80ac304d096edb20f6309081290647 + rudder-integration-braze-react-native: fa0f0e621dd7a93d5148522b09ce9478c3919b21 rudder-integration-clevertap-react-native: a3bb4b1eb0b91b39d17ce8758bf30f89eea28976 rudder-integration-firebase-react-native: 306aa4b1d304d7c48528a696319ef69e2e6fcb76 rudder-integration-moengage-react-native: c6ee8049aac3ed165d2daadd3dfce7c7169b5565 rudder-integration-singular-react-native: 0951cfcd9651594cacca052c685c0dc6945997e1 Rudder-Moengage: c30465e23740673495ff853eed607a5641f22c5c - rudder-plugin-db-encryption-react-native: 1a647b4865bf3f97f94e250af063f360ab4cfd03 + rudder-plugin-db-encryption-react-native: 0a53ccaf3316daa07c94acc700c291f33968ac58 Rudder-Singular: e22a4101ce043aded86b777bea873bf6a2af42b9 RudderDatabaseEncryption: 95b436538412958eda771f5d81bd970a9ffe4eec RudderKit: f272f9872183946452ac94cd7bb2244a71e6ca8f - SDWebImage: f9258c58221ed854cfa0e2b80ee4033710b1c6d3 + SDWebImage: a3ba0b8faac7228c3c8eadd1a55c9c9fe5e16457 Singular-SDK: 614350e3ed21a06b02ab165b370b212f8aaacf2b SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17 - SQLCipher: f2e96b3822e3006b379181a0e4fd145f6de29b56 + SQLCipher: 838309284f29953a28ad2e81d87d55ea6b7c74fd Yoga: 3efc43e0d48686ce2e8c60f99d4e6bd349aff981 YogaKit: f782866e155069a2cca2517aafea43200b01fd5a -PODFILE CHECKSUM: 805aa2c42ecf6748b55f4ac7682e7e7dcddd3040 +PODFILE CHECKSUM: b2c75c71af02ee02c7f9593eaf518719e8d8f9ec COCOAPODS: 1.14.3 diff --git a/apps/example/package.json b/apps/example/package.json index d71f04f9..7d0b8336 100644 --- a/apps/example/package.json +++ b/apps/example/package.json @@ -1,6 +1,6 @@ { "name": "example", - "version": "0.7.3", + "version": "0.8.0", "private": true, "dependencies": { "@react-native/metro-config": "*", diff --git a/libs/rudder-integration-braze-react-native/CHANGELOG.md b/libs/rudder-integration-braze-react-native/CHANGELOG.md index 205d76ae..2a45a595 100644 --- a/libs/rudder-integration-braze-react-native/CHANGELOG.md +++ b/libs/rudder-integration-braze-react-native/CHANGELOG.md @@ -2,6 +2,13 @@ This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver). +## [1.2.0](https://github.com/rudderlabs/rudder-sdk-react-native/compare/rudder-integration-braze-react-native@1.1.1...rudder-integration-braze-react-native@1.2.0) (2024-02-15) + + +### Features + +* update rudder braze ios integration to version 2.0.0 ([#313](https://github.com/rudderlabs/rudder-sdk-react-native/issues/313)) ([e19089b](https://github.com/rudderlabs/rudder-sdk-react-native/commit/e19089bfa2037d9641fa22e9bd9e1c2dcb268aa9)) + ## [1.1.1](https://github.com/rudderlabs/rudder-sdk-react-native/compare/rudder-integration-braze-react-native@1.1.0...rudder-integration-braze-react-native@1.1.1) (2023-10-03) diff --git a/libs/rudder-integration-braze-react-native/CHANGELOG_LATEST.md b/libs/rudder-integration-braze-react-native/CHANGELOG_LATEST.md index dffaf7a0..ddf55538 100644 --- a/libs/rudder-integration-braze-react-native/CHANGELOG_LATEST.md +++ b/libs/rudder-integration-braze-react-native/CHANGELOG_LATEST.md @@ -1,8 +1,5 @@ -## [1.1.1](https://github.com/rudderlabs/rudder-sdk-react-native/compare/rudder-integration-braze-react-native@1.1.0...rudder-integration-braze-react-native@1.1.1) (2023-10-03) +## [1.2.0](https://github.com/rudderlabs/rudder-sdk-react-native/compare/rudder-integration-braze-react-native@1.1.1...rudder-integration-braze-react-native@1.2.0) (2024-02-15) +### Features -### Bug Fixes - -* **rudder-integration-braze-react-native:** make braze compatible with gradle 8 ([7391dec](https://github.com/rudderlabs/rudder-sdk-react-native/commit/7391dec8c5c154e2dbbde98e97dc9d7a95d61416)) -* **rudder-integration-braze-react-native:** make braze iOS SDKs compatible with dynamic and static frameworks ([4c33a8d](https://github.com/rudderlabs/rudder-sdk-react-native/commit/4c33a8d1dc15c53c05cc166157f023feb9c6cbf0)) - +- update rudder braze ios integration to version 2.0.0 ([#313](https://github.com/rudderlabs/rudder-sdk-react-native/issues/313)) ([e19089b](https://github.com/rudderlabs/rudder-sdk-react-native/commit/e19089bfa2037d9641fa22e9bd9e1c2dcb268aa9)) diff --git a/libs/rudder-integration-braze-react-native/package.json b/libs/rudder-integration-braze-react-native/package.json index 0c26c927..12234f6a 100644 --- a/libs/rudder-integration-braze-react-native/package.json +++ b/libs/rudder-integration-braze-react-native/package.json @@ -1,7 +1,7 @@ { "name": "@rudderstack/rudder-integration-braze-react-native", "title": "Rudder Integration Braze React Native", - "version": "1.1.1", + "version": "1.2.0", "description": "Rudder React Native SDK Braze Device mode support for Android and iOS", "keywords": [ "react-native", diff --git a/libs/rudder-integration-braze-react-native/project.json b/libs/rudder-integration-braze-react-native/project.json index 9d0141cc..9ee80f6d 100644 --- a/libs/rudder-integration-braze-react-native/project.json +++ b/libs/rudder-integration-braze-react-native/project.json @@ -92,7 +92,7 @@ "github": { "executor": "@jscutlery/semver:github", "options": { - "tag": "rudder-integration-braze-react-native@1.1.1", + "tag": "rudder-integration-braze-react-native@1.2.0", "notesFile": "./libs/rudder-integration-braze-react-native/CHANGELOG_LATEST.md" } }, diff --git a/libs/rudder-integration-braze-react-native/rudder-integration-braze-react-native.podspec b/libs/rudder-integration-braze-react-native/rudder-integration-braze-react-native.podspec index 4cc6c545..5ddf37df 100644 --- a/libs/rudder-integration-braze-react-native/rudder-integration-braze-react-native.podspec +++ b/libs/rudder-integration-braze-react-native/rudder-integration-braze-react-native.podspec @@ -20,7 +20,7 @@ Pod::Spec.new do |s| s.static_framework = true s.dependency "React" - s.dependency "Rudder-Braze", '~> 1.3' + s.dependency "Rudder-Braze", '~> 2.0' s.dependency 'RNRudderSdk' end diff --git a/package-lock.json b/package-lock.json index 4190fc5d..5ff0fab5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@rudderstack/rudder-sdk-react-native-monorepo", - "version": "2.20.0", + "version": "2.21.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@rudderstack/rudder-sdk-react-native-monorepo", - "version": "2.20.0", + "version": "2.21.0", "license": "MIT", "dependencies": { "@babel/runtime": "7.22.6", @@ -144,7 +144,7 @@ }, "libs/rudder-integration-braze-react-native": { "name": "@rudderstack/rudder-integration-braze-react-native", - "version": "1.1.1", + "version": "1.2.0", "license": "MIT", "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0", @@ -3958,9 +3958,9 @@ "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==" }, "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.19", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.19.tgz", - "integrity": "sha512-kf37QtfW+Hwx/buWGMPcR60iF9ziHa6r/CZJIHbmcm4+0qrXiVdxegAH0F6yddEVQ7zdkjcGCgCzUu+BcbhQxw==", + "version": "0.3.22", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.22.tgz", + "integrity": "sha512-Wf963MzWtA2sjrNt+g18IAln9lKnlRp+K2eH4jjIoF1wYeq3aMREpG09xhlhdzS0EjwU7qmUJYangWa+151vZw==", "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" @@ -8630,9 +8630,9 @@ } }, "node_modules/@types/eslint": { - "version": "8.44.7", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.44.7.tgz", - "integrity": "sha512-f5ORu2hcBbKei97U73mf+l9t4zTGl74IqZ0GQk4oVea/VS8tQZYkUveSYojk+frraAVYId0V2WC9O4PTNru2FQ==", + "version": "8.56.2", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.56.2.tgz", + "integrity": "sha512-uQDwm1wFHmbBbCZCqAlq6Do9LYwByNZHWzXppSnay9SuwJ+VRbjkbLABer54kcPnMSlG6Fdiy2yaFXm/z9Z5gw==", "dev": true, "peer": true, "dependencies": { @@ -14277,9 +14277,9 @@ } }, "node_modules/es-module-lexer": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.4.0.tgz", - "integrity": "sha512-lcCr3v3OLezdfFyx9r5NRYHOUTQNnFEQ9E87Mx8Kc+iqyJNkO7MJoB4GQRTlIMw9kLLTwGw0OAkm4BQQud/d9g==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.4.1.tgz", + "integrity": "sha512-cXLGjP0c4T3flZJKQSuziYoq7MlT+rnvfZjfp7h+I7K9BNX54kP9nyWvdbwjQ4u1iWbOL4u96fgeZLToQlZC7w==", "dev": true, "peer": true }, @@ -15650,9 +15650,9 @@ } }, "node_modules/follow-redirects": { - "version": "1.15.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", - "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==", + "version": "1.15.4", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.4.tgz", + "integrity": "sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw==", "dev": true, "funding": [ { @@ -27333,9 +27333,9 @@ } }, "node_modules/serialize-javascript": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.1.tgz", - "integrity": "sha512-owoXEFjWRllis8/M1Q+Cw5k8ZH40e3zhp/ovX+Xr/vi1qj6QesbyXXViFbpNvWvPNAD62SutwEXavefrLJWj7w==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.2.tgz", + "integrity": "sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==", "dev": true, "peer": true, "dependencies": { @@ -28201,9 +28201,9 @@ } }, "node_modules/terser": { - "version": "5.20.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.20.0.tgz", - "integrity": "sha512-e56ETryaQDyebBwJIWYB2TT6f2EZ0fL0sW/JRXNMN26zZdKi2u/E/5my5lG6jNxym6qsrVXfFRmOdV42zlAgLQ==", + "version": "5.27.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.27.0.tgz", + "integrity": "sha512-bi1HRwVRskAjheeYl291n3JC4GgO/Ty4z1nVs5AAsmonJulGxpSektecnNedrwK9C7vpvVtcX3cw00VSLt7U2A==", "dependencies": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.8.2", @@ -28218,17 +28218,17 @@ } }, "node_modules/terser-webpack-plugin": { - "version": "5.3.9", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.9.tgz", - "integrity": "sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==", + "version": "5.3.10", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.10.tgz", + "integrity": "sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w==", "dev": true, "peer": true, "dependencies": { - "@jridgewell/trace-mapping": "^0.3.17", + "@jridgewell/trace-mapping": "^0.3.20", "jest-worker": "^27.4.5", "schema-utils": "^3.1.1", "serialize-javascript": "^6.0.1", - "terser": "^5.16.8" + "terser": "^5.26.0" }, "engines": { "node": ">= 10.13.0" @@ -29118,20 +29118,20 @@ } }, "node_modules/webpack": { - "version": "5.89.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.89.0.tgz", - "integrity": "sha512-qyfIC10pOr70V+jkmud8tMfajraGCZMBWJtrmuBymQKCrLTRejBI8STDp1MCyZu/QTdZSeacCQYpYNQVOzX5kw==", + "version": "5.90.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.90.1.tgz", + "integrity": "sha512-SstPdlAC5IvgFnhiRok8hqJo/+ArAbNv7rhU4fnWGHNVfN59HSQFaxZDSAL3IFG2YmqxuRs+IU33milSxbPlog==", "dev": true, "peer": true, "dependencies": { "@types/eslint-scope": "^3.7.3", - "@types/estree": "^1.0.0", + "@types/estree": "^1.0.5", "@webassemblyjs/ast": "^1.11.5", "@webassemblyjs/wasm-edit": "^1.11.5", "@webassemblyjs/wasm-parser": "^1.11.5", "acorn": "^8.7.1", "acorn-import-assertions": "^1.9.0", - "browserslist": "^4.14.5", + "browserslist": "^4.21.10", "chrome-trace-event": "^1.0.2", "enhanced-resolve": "^5.15.0", "es-module-lexer": "^1.2.1", @@ -29145,7 +29145,7 @@ "neo-async": "^2.6.2", "schema-utils": "^3.2.0", "tapable": "^2.1.1", - "terser-webpack-plugin": "^5.3.7", + "terser-webpack-plugin": "^5.3.10", "watchpack": "^2.4.0", "webpack-sources": "^3.2.3" }, @@ -32233,9 +32233,9 @@ "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==" }, "@jridgewell/trace-mapping": { - "version": "0.3.19", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.19.tgz", - "integrity": "sha512-kf37QtfW+Hwx/buWGMPcR60iF9ziHa6r/CZJIHbmcm4+0qrXiVdxegAH0F6yddEVQ7zdkjcGCgCzUu+BcbhQxw==", + "version": "0.3.22", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.22.tgz", + "integrity": "sha512-Wf963MzWtA2sjrNt+g18IAln9lKnlRp+K2eH4jjIoF1wYeq3aMREpG09xhlhdzS0EjwU7qmUJYangWa+151vZw==", "requires": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" @@ -35692,9 +35692,9 @@ } }, "@types/eslint": { - "version": "8.44.7", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.44.7.tgz", - "integrity": "sha512-f5ORu2hcBbKei97U73mf+l9t4zTGl74IqZ0GQk4oVea/VS8tQZYkUveSYojk+frraAVYId0V2WC9O4PTNru2FQ==", + "version": "8.56.2", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.56.2.tgz", + "integrity": "sha512-uQDwm1wFHmbBbCZCqAlq6Do9LYwByNZHWzXppSnay9SuwJ+VRbjkbLABer54kcPnMSlG6Fdiy2yaFXm/z9Z5gw==", "dev": true, "peer": true, "requires": { @@ -40070,9 +40070,9 @@ } }, "es-module-lexer": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.4.0.tgz", - "integrity": "sha512-lcCr3v3OLezdfFyx9r5NRYHOUTQNnFEQ9E87Mx8Kc+iqyJNkO7MJoB4GQRTlIMw9kLLTwGw0OAkm4BQQud/d9g==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.4.1.tgz", + "integrity": "sha512-cXLGjP0c4T3flZJKQSuziYoq7MlT+rnvfZjfp7h+I7K9BNX54kP9nyWvdbwjQ4u1iWbOL4u96fgeZLToQlZC7w==", "dev": true, "peer": true }, @@ -41099,9 +41099,9 @@ "integrity": "sha512-HVzoK3r6Vsg+lKvlIZzaWNBVai+FXTX1wdYhz/wVlH13tb/gOdLXmlTqy6odmTBhT5UoWUbq0k8263Qhr9d88w==" }, "follow-redirects": { - "version": "1.15.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", - "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==", + "version": "1.15.4", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.4.tgz", + "integrity": "sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw==", "dev": true }, "for-each": { @@ -49764,9 +49764,9 @@ } }, "serialize-javascript": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.1.tgz", - "integrity": "sha512-owoXEFjWRllis8/M1Q+Cw5k8ZH40e3zhp/ovX+Xr/vi1qj6QesbyXXViFbpNvWvPNAD62SutwEXavefrLJWj7w==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.2.tgz", + "integrity": "sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==", "dev": true, "peer": true, "requires": { @@ -50438,9 +50438,9 @@ } }, "terser": { - "version": "5.20.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.20.0.tgz", - "integrity": "sha512-e56ETryaQDyebBwJIWYB2TT6f2EZ0fL0sW/JRXNMN26zZdKi2u/E/5my5lG6jNxym6qsrVXfFRmOdV42zlAgLQ==", + "version": "5.27.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.27.0.tgz", + "integrity": "sha512-bi1HRwVRskAjheeYl291n3JC4GgO/Ty4z1nVs5AAsmonJulGxpSektecnNedrwK9C7vpvVtcX3cw00VSLt7U2A==", "requires": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.8.2", @@ -50465,17 +50465,17 @@ } }, "terser-webpack-plugin": { - "version": "5.3.9", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.9.tgz", - "integrity": "sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==", + "version": "5.3.10", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.10.tgz", + "integrity": "sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w==", "dev": true, "peer": true, "requires": { - "@jridgewell/trace-mapping": "^0.3.17", + "@jridgewell/trace-mapping": "^0.3.20", "jest-worker": "^27.4.5", "schema-utils": "^3.1.1", "serialize-javascript": "^6.0.1", - "terser": "^5.16.8" + "terser": "^5.26.0" }, "dependencies": { "has-flag": { @@ -51095,20 +51095,20 @@ "dev": true }, "webpack": { - "version": "5.89.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.89.0.tgz", - "integrity": "sha512-qyfIC10pOr70V+jkmud8tMfajraGCZMBWJtrmuBymQKCrLTRejBI8STDp1MCyZu/QTdZSeacCQYpYNQVOzX5kw==", + "version": "5.90.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.90.1.tgz", + "integrity": "sha512-SstPdlAC5IvgFnhiRok8hqJo/+ArAbNv7rhU4fnWGHNVfN59HSQFaxZDSAL3IFG2YmqxuRs+IU33milSxbPlog==", "dev": true, "peer": true, "requires": { "@types/eslint-scope": "^3.7.3", - "@types/estree": "^1.0.0", + "@types/estree": "^1.0.5", "@webassemblyjs/ast": "^1.11.5", "@webassemblyjs/wasm-edit": "^1.11.5", "@webassemblyjs/wasm-parser": "^1.11.5", "acorn": "^8.7.1", "acorn-import-assertions": "^1.9.0", - "browserslist": "^4.14.5", + "browserslist": "^4.21.10", "chrome-trace-event": "^1.0.2", "enhanced-resolve": "^5.15.0", "es-module-lexer": "^1.2.1", @@ -51122,7 +51122,7 @@ "neo-async": "^2.6.2", "schema-utils": "^3.2.0", "tapable": "^2.1.1", - "terser-webpack-plugin": "^5.3.7", + "terser-webpack-plugin": "^5.3.10", "watchpack": "^2.4.0", "webpack-sources": "^3.2.3" }, diff --git a/package.json b/package.json index 5725c499..5dddd2b1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rudderstack/rudder-sdk-react-native-monorepo", - "version": "2.20.0", + "version": "2.21.0", "description": "Rudder React Native SDK monorepo", "keywords": [ "react-native", diff --git a/sonar-project.properties b/sonar-project.properties index 6d0fa7a5..7a5c4761 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.20.0 +sonar.projectVersion=2.21.0 # Meta-data for the project sonar.links.scm=https://github.com/rudderlabs/rudder-sdk-react-native