diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 69f1675c1..134c01713 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -14,6 +14,7 @@ android:theme="@style/AppTheme"> - - + + diff --git a/src/screens/root/container/rootContainer.js b/src/screens/root/container/rootContainer.js index 63854d48a..eaf771322 100644 --- a/src/screens/root/container/rootContainer.js +++ b/src/screens/root/container/rootContainer.js @@ -33,14 +33,7 @@ const RootContainer = () => (WrappedComponent) => { componentDidMount() { AppState.addEventListener('change', this._handleAppStateChange); this._createPushListener(); - - if (Platform.OS === 'android') { - Linking.getInitialURL().then((url) => { - this._handleDeepLink(url); - }); - } else { - Linking.addEventListener('url', this._handleOpenURL); - } + Linking.addEventListener('url', this._handleOpenURL); } componentWillUnmount() {