Android Linking.getInitialURL returns different data

This issue exist on a standalone app NOT ejected.

On Android when I call Linking.getInitialURL() I get:
-On an open app I get:
https://exp.host:443/@eodow/ares
-On a closed app I get:
myapp:///+data

On IOS Linking.getInitialURL() works as expected I get: myapp://+data

In docs I see a NOTE on problem with android which links to issue, but does not look like a similar problem.

Looks like Linking.getInitialURL() was called before the event listener for the link on android for an open app.

Issues does not exist.

Hey @eodow! Thanks for reporting this. We have an internal ticket for this and need to make some changes to Linking to make iOS and Android consistent.

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.