App relaunches when deeplink is clicked[Android]
RobinGiel opened this issue · comments
When clicking on a deeplink or redirecting the deeplink to my app to app relaunches.
I'm guessing this has to with Main.activity being called. Or getting the intent without any flags.
ionic-plugin-deeplinks/src/android/io/ionic/links/IonicDeeplink.java
Lines 52 to 77 in 0eaf00e
@RobinGiel I don't know if this is still an issue for you, but you may want to double check the Android setup documentation:
"To prevent Android from creating multiple app instances when opening deeplinks, you can add the following preference in Cordova config.xml file: <preference name="AndroidLaunchMode" value="singleTask" />
"
Thanks for the reply @JacoRoos