Ich habe meine App für Deep Linking konfiguriert, wie in der Branch.io Dokumentation erwähnt. Unten ist meine KonfigurationIch öffne die App nicht, wenn ich auf den brach.io Link klicke und stattdessen in den Playstore gehe.
Manifest.xml
<intent-filter
android:autoVerify="true">
<data android:scheme="trupik" android:host="open" />
<data android:scheme="trupik" android:host="https" />
<data android:scheme="https" android:host="trupikconnect.app.link" android:pathPrefix="/x2ms"/>
<data android:scheme="https" android:host="trupik.com" android:pathPrefix="/x2ms"/>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
</intent-filter>
Welcome Aktivität, die meine Launcher Aktivität ist
@Override
public void onStart() {
super.onStart();
Branch branch = Branch.getInstance();
branch.initSession(new Branch.BranchReferralInitListener() {
@Override
public void onInitFinished(JSONObject referringParams, BranchError error) {
if (error == null) {
// params are the deep linked params associated with the link that the user clicked before showing up
Log.i("BranchConfigTest", "deep link data: " + referringParams.toString());
}
}
}, this.getIntent().getData(), this);
}
@Override
public void onNewIntent(Intent intent) {
this.setIntent(intent);
}
in Zweig Armaturenbrett Mein URL-Schema ist trupik: // Hinweis: Paketname ist auch gleich.
Mein Problem ist, wenn ich auf den Link klicken wird App nicht einmal geöffnet wird, obwohl es