How do I change the length of the Branch SDK's default conversion-value update window?

The Branch SDK sets a default "expiration" on updateConversonValue() calls to prevent the scenario where the timer keeps looping, preventing a postback for conversion being sent.

For SDK versions v.0.35.0 → v1.38.0, this expiration is 72 hours. Beginning with SDK v1.39.0, the default timer is set to 24 hours, based on guidance from major networks including Google, Facebook, and Snap.

If you would like to update this window, including for SDK versions prior to v1.39.0, the default can be overridden via the following SDK method:

Branch.getInstance().setSKAdNetworkCalloutMaxTimeSinceInstall(3600.0 * 24.0)

Additional Resources