-
Notifications
You must be signed in to change notification settings - Fork 24.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linking.getInitialUrl never returns #26947
Comments
Try putting a
|
We have the same problem on Android after updating to Expo SDK 36 (React Native 0.61). The Promise from We prevent the app with a timeout from being stuck in the initialization process:
|
@musemind I am getting '_reactNative.Linking.getInitialURL(...).then(...).catch(...).finally is not a function'. Any idea? |
Hi, my team has discovered that debug mode is breaking something since we have the correct and expected behavior in a real iOS device. Unfortunately, this is not true for android. In a real device, without debug, we are experiencing a return of null value when calling I hope this can help, and if someone figures how to make it work for android, please post. System: |
We have the same issue. It does not even |
Duplicate of #25675 |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
Thx a lot for the idea! the app behaves differently if you call Linking. getInitialUrl in debugging mode |
still happen in "react-native": "0.63.0", and it's always "null" |
Closing as duplicate of #25675 |
System:
OS: macOS Mojave 10.14.6
CPU: (8) x64 Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
Memory: 30.13 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 8.15.1 - /usr/local/bin/node
npm: 6.9.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.0, DriverKit 19.0, macOS 10.15, tvOS 13.0, watchOS 6.0
IDEs:
Android Studio: 3.4 AI-183.5429.30.34.5452501
Xcode: 11.0/11A420a - /usr/bin/xcodebuild
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.2 => 0.61.2
npmGlobalPackages:
react-native-cli: 2.0.1
React Native version:
0.61.2
Steps To Reproduce
this command never returns and just hands
Describe what you expected to happen:
I expected an event to be returned. This worked in previous versions. This is the 4th app i've updated to v61.2 and had this issue on.
Snack, code example, screenshot, or link to a repository:
Edit: I've confirmed that this only happens when using async await. Using .then.catch the event seems to return as normal.
The text was updated successfully, but these errors were encountered: