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