Regression: calling xdl.User.getCurrentUserAsync() throws an error on 56.1.* #864
Comments
Hey guys, do you have any updates on this? |
…y builds (#1068) * Add process.env.NIGHTLY parameter processing * Fixate xdl version in nightly builds due to: expo/expo-cli#864 * Fix VS Code version reading before downloading
@ide Could you please take a look on this issue? |
Hi @fson . Are there any plans to fix this? I ask because this error causes an issues with Expo debugging scenarios in VS Code React Native Tools debugger. |
I'm adding my vote for this, because it forces us to uninstall and reinstall an older version of the package while on react native debugging |
Adding my vote. Bummer that we have to downgrade to use the debugger in VS Code. |
This would probably require time to test carefully but be straightforward to send a PR for, if someone would like to do that. |
@ide could you elaborate what should be done to fix it? |
The root cause of this issue needs to be clearly identified and then a PR with the correct fix and a test plan needs to be submitted. Figuring out what that looks like is part of this work. |
Adding my vote, any updates? |
|
Thanks, @fson ! I'll take a look. |
Description
Since 56.1.0 calling
require("@expo/xdl").User.getCurrentUserAsync()
throws an errorTypeError: Cannot read property 'getCurrentUserAsync' of undefined
.Expected Behavior
Update
@expo/xdl
package to 56.1.0 (or 56.1.1) and continue using ofrequire("@expo/xdl").User.getCurrentUserAsync()
as it was before.Observed Behavior
The following error is thrown:
Environment
Please run
expo diagnostics
in the project folder and copy the output here:Also specify:
Reproducible Demo
git clone https://github.com/ruslan-bikkinin/xdluserissuedemo.git && cd xdluserissuedemo
npm i
User.getCurrentUserAsync()
:node index.js
(error will be thrown)npm i @expo/xdl@56.0.0
node index.js
(No error will be thrown)The text was updated successfully, but these errors were encountered: