We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://gist.github.com/paulschreiber/9d41cee707cf2e2d81e2085fa20368aa
iOS
Yes
expo-auth-session and expo-apple-authentication have incompatible types for identity token strings.
expo-apple-authentication uses
identityToken: string | null;
expo-auth-session uses uses
idToken?: string;
which is string | undefined.
string | undefined
This means you can't (directly) have a result that works for both auth systems. I worked around this by adding an extra variable.
expo-env-info 1.2.0 environment info: System: OS: macOS 14.5 Shell: 3.2.57 - /bin/bash Binaries: Node: 20.10.0 - ~/.nvm/versions/node/v20.10.0/bin/node Yarn: 1.22.15 - ~/.yarn/bin/yarn npm: 10.7.0 - ~/.nvm/versions/node/v20.10.0/bin/npm Watchman: 2024.05.06.00 - /opt/homebrew/bin/watchman SDKs: iOS SDK: Platforms: DriverKit 23.5, iOS 17.5, macOS 14.5, tvOS 17.5, visionOS 1.2, watchOS 10.5 IDEs: Xcode: 15.4/15F31d - /usr/bin/xcodebuild npmPackages: expo: ~50.0.17 => 50.0.17 react: 18.2.0 => 18.2.0 react-native: ^0.73.6 => 0.73.6 Expo Workflow: managed
n/a
The text was updated successfully, but these errors were encountered:
seems reasonable to align them. want to open a pr?
Sorry, something went wrong.
@brentvatne which way would you like to work?
No branches or pull requests
Minimal reproducible example
https://gist.github.com/paulschreiber/9d41cee707cf2e2d81e2085fa20368aa
What platform(s) does this occur on?
iOS
Did you reproduce this issue in a development build?
Yes
Summary
expo-auth-session and expo-apple-authentication have incompatible types for identity token strings.
expo-apple-authentication uses
expo-auth-session uses uses
which is
string | undefined
.This means you can't (directly) have a result that works for both auth systems. I worked around this by adding an extra variable.
Environment
Expo Doctor Diagnostics
n/a
The text was updated successfully, but these errors were encountered: