android-branch-deep-linking-attribution icon indicating copy to clipboard operation
android-branch-deep-linking-attribution copied to clipboard

BranchReferralInitListener#onInitFinished never called when a Network issue occurs

Open prcaen opened this issue 3 years ago • 1 comments
trafficstars

Preconditions

  • Version: 5.1.4
  • Network: WiFi connected but without internet
  • Android version: API 29
  • Brand / Model: Emulator (Pixel 4)
  • Use the bug sample app: BranchBugTest.zip

Steps to reproduce

  • Start the sample application without internet (WiFi connected without internet)

Actual behavior

The callback io.branch.referral.Branch.BranchReferralInitListener#onInitFinished is not called. This is due to a wrong instance used when calling the callback. See the following screenshots

Capture d’écran 2022-05-23 à 09 43 11 Capture d’écran 2022-05-23 à 09 43 24 Capture d’écran 2022-05-23 à 09 43 38 Capture d’écran 2022-05-23 à 09 44 37

Expected behavior

  • I should see in logcat: Branch - Init finished. LinkProperties: XXX, error: XXX
  • I should see in place of Hello World: "Init finished"

Reproduction

3/3

prcaen avatar May 23 '22 08:05 prcaen

Hi team! Any update on this issue? Thanks.

prcaen avatar Sep 20 '22 13:09 prcaen