Skip to content

Commit 81c93ec

Browse files
Merge pull request #742 from BranchMetrics/Release-5.6.0
Release 5.6.0
2 parents 0061d7c + 600f47e commit 81c93ec

File tree

5 files changed

+12
-4
lines changed

5 files changed

+12
-4
lines changed

ChangeLog.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
2022-09-30 Version 5.6.0
2+
- Update Android SDK to 5.2.4
3+
- Update iOS SDK to 1.43.2
4+
- Fix BranchUniversalObject showShareSheet return type definition (thanks romanlitvin)
5+
- Change customData type definition to String String dictionary (thanks vincent-paing!)
6+
- Fixed clearPartnerParameters call (thanks danilobuerger!)
7+
- Add callback to setIdentity in new function `setIdentityAsync`
8+
19
2022-07-20 Version 5.5.0
210
- Branch QR code creation support added.
311
```js

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,5 @@ def safeExtGet(prop, fallback) {
4747
dependencies {
4848
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
4949
implementation 'com.facebook.react:react-native:+' // From node_modules
50-
api 'io.branch.sdk.android:library:5.2.0'
50+
api 'io.branch.sdk.android:library:5.2.4'
5151
}

android/src/main/java/io/branch/rnbranch/RNBranchModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ public void setIdentity(String identity) {
448448
@ReactMethod
449449
public void setIdentityAsync(String identity, Promise promise) {
450450
Branch branch = Branch.getInstance();
451-
branch.setIdentity(identity, new BranchReferralInitListener() {
451+
branch.setIdentity(identity, new Branch.BranchReferralInitListener() {
452452
@Override
453453
public void onInitFinished(JSONObject referringParams, BranchError error) {
454454
if (error != null) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-branch",
3-
"version": "5.5.0",
3+
"version": "5.6.0",
44
"description": "Branch Metrics React Native SDK",
55
"main": "src/index.js",
66
"types": "src/index.d.ts",

react-native-branch.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Pod::Spec.new do |s|
2222
s.source_files = [ "ios/*.h", "ios/*.m"]
2323
s.compiler_flags = %[-DRNBRANCH_VERSION=@\\"#{s.version}\\"]
2424
s.header_dir = 'RNBranch' # also sets generated module name
25-
s.dependency 'Branch', '1.43.1'
25+
s.dependency 'Branch', '1.43.2'
2626
s.dependency 'React-Core' # to ensure the correct build order
2727

2828
# Swift/Objective-C compatibility

0 commit comments

Comments
 (0)