We are generating branch links according to the described documentation, The links work awesome when clicked from other platfomr like whatsapp, sms, browser etc, but when we share the same link within the app and click on it , we receive
{"+clicked_branch_link":false,"+is_first_session":false}
We have crosschecked all the documentation from branch io and we are following all the mentioned steps.
- we are initializing Branch and handling deep linking in your Splash activity
if (BranchIOUtils.isBranchIntent(getIntent())) {
Branch.getInstance().initSession(this, this.getIntent().getData(), this);
}
- Splash activity have the launchMode set to singleTask
<activity
android:name=".activities.Splash"
android:launchMode="singleTask"
android:screenOrientation="portrait"
android:theme="@style/AppThemeNoActionbar">
- overriding onNewIntent() in your Main/Splash activity
@Override
protected void onNewIntent(Intent intent) {
this.setIntent(intent);
handleIntent(getIntent());
}
- Made sure we are initializing Branch with Branch.getAutoInstance(this)
Branch.setPlayStoreReferrerCheckTimeout(10000);
// Branch object initialization
Branch.getAutoInstance(this);
Not able to get as to what is missing, any pointers would be of greate help .