Repository navigation
Releases
Releases ยท BranchMetrics/android-branch-deep-linking-attribution
Release 6.0.0-beta.3
Branch Android SDK change log
- v6.0.0-beta.3
-
Beta Release - Oct 15, 2026
Upgrade instructions: https://help.branch.io/developer-hub/android-sdk-6-integration
- Added
BranchConfiguration, built withBranchConfiguration.Builder("<branch_key>"). It holds the settings that used to beBranchsetters: test mode, API and CDN URLs, EU endpoint, log level and logging callback, request tracing callback, network timeouts, retry count and interval, remote interface, attribution level, DMA parameters, Facebook app ID, preinstall campaign and partner, install metadata, preinstalled app link attribution, allowed schemes, URI hosts to skip, user agent fetch mode and automatic open events. - Added
Branch.initialize(Context, BranchConfiguration)to initialize the SDK. RemovedgetAutoInstance; useBranch.getInstance()afterinitialize.- The Branch key is no longer read from
AndroidManifest.xml. Pass it toBranchConfiguration.Builder.
- The Branch key is no longer read from
- Added
Branch.updateConfiguration(BranchConfiguration)to change settings after initialization. The Branch key, test mode, remote interface, Facebook app ID, preinstall settings, install metadata and automatic open events apply only atinitialize.- Removed the old setters:
--setBranchKey
--enableTestMode/disableTestMode
--setAPIUrl
--setCDNBaseUrl
--useEUEndpoint
--setNetworkTimeout
--setNetworkConnectTimeout
--setRetryCount
--setRetryInterval
--setNoConnectionRetryMax
--setCallbackForTracingRequests
--setBranchRemoteInterface
--setFBAppID
--setPreinstallCampaign/setPreinstallPartner
--addInstallMetadata
--setReferringLinkAttributionForPreinstalledAppsEnabled
--addWhiteListedScheme/setWhiteListedSchemes
--addUriHostsToSkip
--setIsUserAgentSync
--setInstallReferrerTimeout
--setDeepLinkDebugMode
- Removed the old setters:
- New deep link API
requestDeepLinkDatareplacessessionBuilder(...).init()andreInit(). Call it inonCreateandonNewIntent:requestDeepLinkData(Activity, BranchReferralInitListener)requestDeepLinkData(Uri, BranchReferralInitListener)- Removed
sessionBuilder,expectDelayedSessionInitialization,removeSessionInitializationDelay,bypassWaitingForIntent,enableBypassCurrentActivityIntentState,ignoreIntent,isWaitingForIntent,unlockPendingIntent,resetUserSessionand the instant deep linking methods.
- Added manual open control:
BranchConfiguration.Builder.setAutomaticOpenEvents(defaulttrue). - Added
Branch.sendOpen(SendOpenListener). If automatic open events are set tofalse, use it to send the open event yourself. - Added Kotlin
suspendfunctions:Branch.requestDeepLinkData,Branch.sendOpen,BranchEvent.awaitLogEvent,BranchUniversalObject.createLinkandBranchShortLinkBuilder.createLink. - Replaced
setIdentitywithsetUserAlias. - Deprecated
disableTracking. UsesetAttributionLevelwithBranchAttributionLevel.NONEinBranchConfiguration, orsetConsumerProtectionAttributionLevel. - Replaced
setDMAParamsForEEAwith theDMAParametersclass andsetDMAParameters. - Removed
setLimitFacebookTrackinganddisableAdNetworkCallouts. - Removed
registerView,BranchUniversalObject.showShareSheet, theBranchUniversalObjectcontent indexing methods,disableDeviceIDFetch,disableAppListandshowInstallPrompt. - Requests run on Kotlin coroutines instead of
AsyncTask.
- Added
Release 5.21.3
- v5.21.3
- Add ProGuard rule to keep
AdvertisingIdClientclass name for referencing. Removes need for developer to add this rule.
- Add ProGuard rule to keep
Release 5.21.2
- v5.21.2
- Updated Google Play Billing library to 8.0.0
- Fixed logging bug
Release 5.21.1
- v5.21.1
- Fix for
getLastAttributedTouchData(BranchLastAttributedTouchDataListener())with noattributionWindowparameter, now correctly uses attribution window value configured in app dashboard.
- Fix for
Release 5.21.0
- v5.21.0
- Add an optional configuration to allow cancelling Install Referrer fetch.
setInstallReferrerTimeout(int timeoutInMilliseconds)- After the Branch singleton is initialized in Application onCreate
For example:
Branch.getInstance().setInstallReferrerTimeout(250)
Or use branch.json{ "installReferrerFetchTimeout": 250 } - Setting to 0 milliseconds will not impose a timeout (default behavior).
- Add an optional configuration to allow cancelling Install Referrer fetch.
Release 5.20.3
- v5.20.3
- Master Release - Sep 24, 2025
- Add some additional debug logging.
Release 5.20.2
- v5.20.2
- Master Release - Sep 19, 2025
- Fixed bug where
identitymay not be set on some opens.
- Fixed bug where
Release 5.20.1
- v5.20.1
- Master Release - Sep 8, 2025
- Fixed a state where a malformed URL could result in service errors and prevent sdk init.
Release 5.20.0
- v5.20.0
- Master Release - Aug 5, 2025
- Fix race condition with setIdentity and logout, now happen in order of events enqueued.
- Expose
getInitState()for callers to determine session status.
Release 5.19.0
- v5.19.0
- Master Release - Jun 23, 2025
- Add method for manually removing intent lock for rare cases where onResume is not called or lock is placed after lifecycle callback.