code: function updateBranchURIScheme(manifest, mainActivityIndex, preferences) {
      let intentFilters =
        manifest.manifest.application[0].activity[mainActivityIndex][
          "intent-filter"
        ] || [];
      const androidName = "io.branch.sdk.UriScheme";
  
      // remove
      intentFilters = removeBasedOnAndroidName(intentFilters, androidName);
  
      // add
      manifest.manifest.application[0].activity[mainActivityIndex][
        "intent-filter"
      ] = intentFilters.concat([
        {
          $: {
            "android:name": androidName
          },
          action: [
            {
              $: {
                "android:name": "android.intent.action.VIEW"
              }
            }
          ],
          category: [
            {
              $: {
                "android:name": "android.intent.category.DEFAULT"
              }
            },
            {
              $: {
                "android:name": "android.intent.category.BROWSABLE"
              }
            }
          ],
          data: [
            {
              $: {
                "android:scheme": preferences.uriScheme
              }
            }
          ]
        }
      ]);
  
      return manifest;
    }
docs: adds to main <activity> for URI Scheme <intent-filter android:name="io.branch.sdk.UriScheme"> <data android:scheme="ethantest" /> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> </intent-filter>