Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
manjusha221 opened this issue Feb 4, 2022 · 2 comments

Comments

@manjusha221
Copy link

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);

        }
    
      

    }
};
@Jigar-zest
Copy link

Having the same issue. Any update on this @manjusha221

@psudodev
Copy link

psudodev commented Jan 7, 2025

Having the same issue , were you able to resolve this @manjusha221 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants