alinz / react-native-share-extension

react-native as an engine to drive share extension
MIT License
762 stars 396 forks source link

Deep linking opens share.android.js first #134

Closed theone3nu closed 5 years ago

theone3nu commented 5 years ago

I am trying to redirect the app using Linking. When ever i open the url 'myapp://test/' in android it is going to componentDidMount method of share.android.js instead it should go to App.js componentDidMount. Works fine in IOS.

Here is my index.js

 AppRegistry.registerComponent('MyApp', () =>  require('./src/App').default);
 AppRegistry.registerComponent('myshareex', () =>  require('./share.android').default) 
theone3nu commented 5 years ago

Problem in androidmainfest.xml

<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />

This line should be added first. Closing the issue.