Linking.getInitialURL() not working in Android when the app is closed #26383
Labels
API: Linking
Bug
Platform: Android
Android applications.
Resolution: Locked
This issue was locked by the bot.
I'm implementing deeplinking and when the app is closed then
Linking.getInitialURL()
isn't getting triggered. I'm facing this issue only in Android device and iOS is working fine. There is no issue when the app is in background. I've issue only when the app is closed. I've triedLinking.addEventListener("url", this.handleOpenURL)
too. But issue still exists. EvenLinking.addEventListener("url", this.handleOpenURL)
isn't getting triggered in AndroidReact Native version:
Expected Behavior
When the app is launched using the deep linking, then
Linking.getInitialURL()
should triggerExample code snippet
Neither
then
norcatch
is triggeredThe text was updated successfully, but these errors were encountered: