title: Registering my React Native App to the ShareAction possibilities in Android
body: <p>I have found a <a href="https://github.com/lucasferreira/react-native-send-intent" rel="nofollow noreferrer">several of reverse examples</a>: sending from a React App to another one using intents.</p>
  
  <p>I have found a blog post of a guy <a href="http://jairtrejo.mx/blog/2015/09/share-button-react-native" rel="nofollow noreferrer">explaining how to do this with IOS</a>.</p>
  
  <p>But not on android. :(</p>
  
  <p>What I understand <a href="https://stackoverflow.com/questions/4067074/sharing-url-to-facebook-twitter-and-email-in-android">from there</a> is I need to add something in the `AndroidManifest.xml' file:</p>
  
  <pre><code>  &lt;activity android:name=".ShareLink"&gt;
        &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;
    &lt;/activity&gt;
  </code></pre>
  
  <p>Am I right that this is the <code>APP_ROOT/node_modules/react-native/ReactAndroid/src/main/AndroidManifest.xml</code> file?</p>
  
  <p><strong>Should it look like that then?</strong></p>
  
  <pre><code>&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.facebook.react"&gt;
      &lt;uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/&gt;
      &lt;application /&gt;
      &lt;activity android:name=".ShareLink"&gt;
          &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;
      &lt;/activity&gt;
  &lt;/manifest&gt;
  </code></pre>
  
  <p><strong>How do I create the Intent?</strong></p>
  
  <p>Once my app is in the list (wohoo), <strong>how do I get back the data in the React App?</strong></p>
  
  <p>Any help would be highly appreciated. I'm a web developper, love React, but completely n00b to Android.</p>