android-branch-deep-linking-attribution
android-branch-deep-linking-attribution copied to clipboard
linkProperties always null after install(without playstore) from branch 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);
}
}
};
Having the same issue. Any update on this @manjusha221