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

linkProperties always null after install(without playstore) from branch link

Open manjusha221 opened this issue 3 years ago • 1 comments

Hi Team,

Im facing an issue while installing the app from the downloadable apk link which I have mentioned in-branch configuration. I'm unable to get the link properties after installation.

I have added the following code in my splash

@Override protected void onStart() { super.onStart(); Branch.sessionBuilder(this).withCallback(branchReferralInitListener).withData(getIntent() != null ? getIntent().getData() : null).init();

}

public Branch.BranchUniversalReferralInitListener branchReferralInitListener = new Branch.BranchUniversalReferralInitListener() { @Override public void onInitFinished(BranchUniversalObject branchUniversalObject, LinkProperties linkProperties, BranchError branchError) { sessionParams = Branch.getInstance().getLatestReferringParams(); Log.d(TAG, "onInitFinished:last "+sessionParams);

        JSONObject installParams = Branch.getInstance().getFirstReferringParams();
        Log.d(TAG, "onInitFinished:first "+installParams);

     
            Log.d(TAG, "onInitFinished: "+linkProperties);

        }
    
      

    }
};

manjusha221 avatar Feb 04 '22 06:02 manjusha221

Having the same issue. Any update on this @manjusha221

Jigar-zest avatar Jul 06 '22 05:07 Jigar-zest