Skip to content

Commit

Permalink
Release version 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleyorbin committed Feb 28, 2023
1 parent 0fc7425 commit 250315d
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 8 deletions.
2 changes: 1 addition & 1 deletion BrazeProject/android/app/src/main/res/values/braze.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<string translatable="false" name="com_braze_server_target">STAGING</string>

<bool translatable="false" name="com_braze_firebase_cloud_messaging_registration_enabled">true</bool>
<string translatable="false" name="com_braze_firebase_cloud_messaging_sender_id">531790618696</string>
<string translatable="false" name="com_braze_firebase_cloud_messaging_sender_id">901477453852</string>

<integer name="com_braze_trigger_action_minimum_time_interval_seconds">1</integer>

Expand Down
4 changes: 2 additions & 2 deletions BrazeProject/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PODS:
- boost (1.76.0)
- braze-react-native-sdk (2.0.2):
- braze-react-native-sdk (2.1.0):
- BrazeKit (~> 5.9.1)
- BrazeLocation (~> 5.9.1)
- BrazeUI (~> 5.9.1)
Expand Down Expand Up @@ -590,7 +590,7 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
boost: 57d2868c099736d80fcd648bf211b4431e51a558
braze-react-native-sdk: c61760392f8554a6835d9cff34952e53c45f8ae6
braze-react-native-sdk: 4a25d1021bf5c994ffb5509161e49a8064f1e8a2
BrazeKit: 7c8ab19c996bb6447d44a242c14778ad48c9e020
BrazeLocation: ba8da78df3221b627c56c4b2ad20df2e0795dfb4
BrazeUI: 39d905f9ded70b6ab9d8ab08d6cfdbbfed4cc282
Expand Down
6 changes: 3 additions & 3 deletions BrazeProject/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"android": "npx react-native run-android",
"ios": "npx react-native run-ios",
"lint": "eslint .",
"start": "react-native start",
"start": "npx react-native start",
"test": "jest"
},
"dependencies": {
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 2.1.0

##### Added
- Added `'DEFINES_MODULE' => 'YES'` to the Cocoapod's xcconfig to remove the need for static framework linkage on iOS when using the Braze Expo plugin.

# 2.0.2

##### Fixed
Expand Down
7 changes: 6 additions & 1 deletion braze-react-native-sdk.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@ Pod::Spec.new do |s|

s.dependency 'React-Core'

s.script_phase = {
# Swift/Objective-C compatibility
s.pod_target_xcconfig = {
'DEFINES_MODULE' => 'YES'
}

s.script_phase = {
:name => "Replace Braze SDK @import statements",
:script => "bash ${PODS_TARGET_SRCROOT}/iOS/replace-at-import-statements.sh",
:execution_position => :before_compile
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@braze/react-native-sdk",
"version": "2.0.2",
"version": "2.1.0",
"description": "Braze SDK for React Native.",
"main": "src/index.js",
"types": "src/index.d.ts",
Expand Down

0 comments on commit 250315d

Please sign in to comment.