diff --git a/ChangeLog.md b/ChangeLog.md index ac6cfd33f..33f08fc64 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,3 +1,11 @@ +2022-09-30 Version 5.6.0 + - Update Android SDK to 5.2.4 + - Update iOS SDK to 1.43.2 + - Fix BranchUniversalObject showShareSheet return type definition (thanks romanlitvin) + - Change customData type definition to String String dictionary (thanks vincent-paing!) + - Fixed clearPartnerParameters call (thanks danilobuerger!) + - Add callback to setIdentity in new function `setIdentityAsync` + 2022-07-20 Version 5.5.0 - Branch QR code creation support added. ```js diff --git a/android/build.gradle b/android/build.gradle index 5f5523fda..3e71acc83 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -47,5 +47,5 @@ def safeExtGet(prop, fallback) { dependencies { implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0' implementation 'com.facebook.react:react-native:+' // From node_modules - api 'io.branch.sdk.android:library:5.2.0' + api 'io.branch.sdk.android:library:5.2.4' } diff --git a/android/src/main/java/io/branch/rnbranch/RNBranchModule.java b/android/src/main/java/io/branch/rnbranch/RNBranchModule.java index ae8f79617..326ee5050 100644 --- a/android/src/main/java/io/branch/rnbranch/RNBranchModule.java +++ b/android/src/main/java/io/branch/rnbranch/RNBranchModule.java @@ -448,7 +448,7 @@ public void setIdentity(String identity) { @ReactMethod public void setIdentityAsync(String identity, Promise promise) { Branch branch = Branch.getInstance(); - branch.setIdentity(identity, new BranchReferralInitListener() { + branch.setIdentity(identity, new Branch.BranchReferralInitListener() { @Override public void onInitFinished(JSONObject referringParams, BranchError error) { if (error != null) { diff --git a/package.json b/package.json index f6a557ab6..6a37b118c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-branch", - "version": "5.5.0", + "version": "5.6.0", "description": "Branch Metrics React Native SDK", "main": "src/index.js", "types": "src/index.d.ts", diff --git a/react-native-branch.podspec b/react-native-branch.podspec index 949c47d68..2d936d170 100644 --- a/react-native-branch.podspec +++ b/react-native-branch.podspec @@ -22,7 +22,7 @@ Pod::Spec.new do |s| s.source_files = [ "ios/*.h", "ios/*.m"] s.compiler_flags = %[-DRNBRANCH_VERSION=@\\"#{s.version}\\"] s.header_dir = 'RNBranch' # also sets generated module name - s.dependency 'Branch', '1.43.1' + s.dependency 'Branch', '1.43.2' s.dependency 'React-Core' # to ensure the correct build order # Swift/Objective-C compatibility