code: function updateBranchAppLinks(
      manifest,
      mainActivityIndex,
      preferences,
      targetSdk
    ) {
      let intentFilters =
        manifest.manifest.application[0].activity[mainActivityIndex][
          "intent-filter"
        ] || [];
      const data = getAppLinkIntentFilterData(preferences);
      const androidName = "io.branch.sdk.AppLink";
      const header = {
        "android:name": androidName,
        "android:autoVerify": "true"
      };
      if (targetSdk && parseInt(targetSdk) < 23) {
        delete header["android:autoVerify"];
      }
  
      // remove
      intentFilters = removeBasedOnAndroidName(intentFilters, androidName);
  
      // add new (remove old already done in updateBranchURIScheme)
      manifest.manifest.application[0].activity[mainActivityIndex][
        "intent-filter"
      ] = intentFilters.concat([
        {
          $: header,
          action: [
            {
              $: {
                "android:name": "android.intent.action.VIEW"
              }
            }
          ],
          category: [
            {
              $: {
                "android:name": "android.intent.category.DEFAULT"
              }
            },
            {
              $: {
                "android:name": "android.intent.category.BROWSABLE"
              }
            }
          ],
          data: data
        }
      ]);
  
      return manifest;
    }
docs: adds to main <activity> for App Links (optional) <intent-filter android:name="io.branch.sdk.AppLink" android:autoVerify="true"> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="https" android:host="ethan.app.link" /> <data android:scheme="https" android:host="ethan-alternate.app.link" /> </intent-filter>