From 21aa2517539eaab86ddae1522377fa32118e748a Mon Sep 17 00:00:00 2001 From: Jeriel Ng Date: Tue, 8 Aug 2023 11:09:49 -0400 Subject: [PATCH] Release version 6.0.1 --- BrazeProject/ios/Podfile.lock | 4 ++-- CHANGELOG.md | 5 +++++ braze-react-native-sdk.podspec | 1 + package.json | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/BrazeProject/ios/Podfile.lock b/BrazeProject/ios/Podfile.lock index afecf27..a9cec9e 100644 --- a/BrazeProject/ios/Podfile.lock +++ b/BrazeProject/ios/Podfile.lock @@ -1,6 +1,6 @@ PODS: - boost (1.76.0) - - braze-react-native-sdk (6.0.0): + - braze-react-native-sdk (6.0.1): - BrazeKit (~> 6.4.0) - BrazeLocation (~> 6.4.0) - BrazeUI (~> 6.4.0) @@ -1259,7 +1259,7 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: boost: 57d2868c099736d80fcd648bf211b4431e51a558 - braze-react-native-sdk: 4b12c96e4c445d51cff1be0426466168d364468e + braze-react-native-sdk: 2b73f41c98a2ec56ea2ff9fb0ac521f8900f2a54 BrazeKit: 47ebb49398e645ef8cd1df40be9ea7f648029283 BrazeLocation: 4e25584206096cf060c4e22e14d8a2eb541152d4 BrazeUI: 56929e8d9825a532e1cbf3b713df7c5f5791ff17 diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d1059e..0ebd925 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 6.0.1 + +##### Fixed +- Adds `'DEFINES_MODULE' => 'YES'` to the iOS Podspec when compiling the Turbo Module to prevent the need for static framework linkage when using the Braze Expo plugin. + ## 6.0.0 ##### Breaking diff --git a/braze-react-native-sdk.podspec b/braze-react-native-sdk.podspec index 86d9146..2f34e47 100644 --- a/braze-react-native-sdk.podspec +++ b/braze-react-native-sdk.podspec @@ -33,6 +33,7 @@ Pod::Spec.new do |s| if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1" s.pod_target_xcconfig = { + 'DEFINES_MODULE' => 'YES', 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) COCOAPODS=1 RCT_NEW_ARCH_ENABLED=1', "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"", "CLANG_CXX_LANGUAGE_STANDARD" => "c++17" diff --git a/package.json b/package.json index af3b6db..f6cdbb2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@braze/react-native-sdk", - "version": "6.0.0", + "version": "6.0.1", "description": "Braze SDK for React Native.", "main": "src/index.js", "types": "src/index.d.ts",