title: open my app from other apps if only logged in to the app
body: <p><strong>I want to show my app in share list like below if only user is logged in my app.</strong></p>
  
  <p><a href="https://i.stack.imgur.com/CAgrD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CAgrD.png" alt="enter image description here"></a></p>
  
  <p>I know by following code i can add my app to share list.</p>
  
  <pre><code>&lt;intent-filter&gt;
      &lt;action android:name="android.intent.action.SEND" /&gt;
      &lt;category android:name="android.intent.category.DEFAULT" /&gt;
      &lt;data android:mimeType="text/plain" /&gt;
  &lt;/intent-filter&gt;
  </code></pre>
  
  <p>But is there a way to <strong>show it if only user logged</strong> in and to hide it <strong>if user not logged in</strong>. </p>