Closed theone3nu closed 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)
Problem in androidmainfest.xml
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
This line should be added first. Closing the issue.
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