Skip to content

Commit bd77cf1

Browse files
chore: bump Branch SDK version (#113)
1 parent 7e87f59 commit bd77cf1

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ android {
4040
}
4141

4242
dependencies {
43-
api 'io.branch.sdk.android:library:5.2.7'
43+
api 'io.branch.sdk.android:library:5.12.0'
4444
}

src/main/kotlin/com/mparticle/kits/BranchMetricsKit.kt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import com.mparticle.kits.KitIntegration.*
1414
import io.branch.referral.Branch
1515
import io.branch.referral.Branch.BranchReferralInitListener
1616
import io.branch.referral.BranchError
17-
import io.branch.referral.PrefHelper
17+
import io.branch.referral.BranchLogger
1818
import io.branch.referral.util.BranchEvent
1919
import org.json.JSONObject
2020
import java.math.BigDecimal
@@ -151,10 +151,11 @@ class BranchMetricsKit : KitIntegration(), KitIntegration.EventListener, Commerc
151151
}
152152

153153
private val branch: Branch?
154-
get() = settings[BRANCH_APP_KEY]?.let { Branch.getInstance(context, it) }
154+
get() = settings[BRANCH_APP_KEY]?.let { Branch.getInstance() }
155+
155156

156157
override fun setInstallReferrer(intent: Intent) {
157-
PrefHelper.LogAlways("setInstallReferrer(intent) was ignored, INSTALL_REFERRER broadcast intent is deprecated, relevant data is now collected automatically using the Play Install Referrer Library bundled together with Branch SDK.")
158+
BranchLogger.w("setInstallReferrer(intent) was ignored, INSTALL_REFERRER broadcast intent is deprecated, relevant data is now collected automatically using the Play Install Referrer Library bundled together with Branch SDK.")
158159
}
159160

160161
override fun setUserAttribute(s: String, s1: String) {}

0 commit comments

Comments
 (0)