title: How can I enable searching installed App without queries tag on AndroidManifest.xml?
body: <p>Actually this question is related with this: <a href="https://stackoverflow.com/questions/73331975/twitter-login-failed-on-only-latest-twitter-app-in-my-android-app">Twitter Login failed on only latest Twitter app in my android app</a></p>
  <p>I have two Apps.
  One is released on PlayStore, other is not (just test app)</p>
  <p>Recently, my release app couldn't login using the Twitter Login.
  So I created a test app, but it works fine.</p>
  <p>The two apps are using same Twitter SDK</p>
  <pre><code>implementation &quot;com.twitter.sdk.android:twitter-core:3.3.0&quot;
  </code></pre>
  <p>and same function call:</p>
  <pre class="lang-kotlin prettyprint-override"><code>TwitterAuthClient.authorize(activity, object : Callback&lt;TwitterSession&gt;() {
  
  }
  </code></pre>
  <p>I debugged the sdk, and I found that the <code>TwitterAuthClient.authorize()</code> function starts two activity: OAuthActivity, SignleSignOnActivity.</p>
  <p>If the app can find Twitter App on the device, it starts SingleSignOnActivity.
  If the app cannot find Twitter App on the device, it starts OAuthActivity.</p>
  <p>And in case of SingleSignOnActivity, Twitter Login failed.
  And in case of OAuthActivity, Twitter Login success.</p>
  <p>When I check my two apps:</p>
  <ul>
  <li>Released app can find the Twitter App, so it starts SingleSignOnActivity and Twitter Login failed.</li>
  <li>Test app cannot find the Twitter App, so it starts OAuthActivity and Twitter Login success.</li>
  </ul>
  <p>When I check my released app's <code>AndroidManifest.xml</code>, I can find below query:</p>
  <pre class="lang-xml prettyprint-override"><code>&lt;queries&gt;
      &lt;package android:name=&quot;com.twitter.android&quot; /&gt;
  &lt;/queries&gt;
  </code></pre>
  <p>So I added upper code into my test app.
  The test app can find the Twitter App, so it starts SingleSignOnActivity and Twitter Login failed!</p>
  <p>So I think, if I remove the query tag on my release app, it cannot find the Twitter App, so it starts OAuthActivity and Twitter Login success.</p>
  <p>But!!</p>
  <p>Even though, I remove the query tag on my released app's AndroidManifest.xml, the app can find the Twitter app!</p>
  <p>Why?!</p>
  <p>My release app's target sdk version is 30!</p>
  <p>Are there any config/settings to enable searching other apps on Android???</p>