Expo CLI 2.18.7 environment info:
System:
OS: macOS 10.14.5
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.12.0 - /usr/local/bin/node
npm: 6.9.0 - ~/.npm-packages/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
npmPackages:
expo: ^32.0.0 => 32.0.5
react: 16.5.0 => 16.5.0
react-native: https://github.com/expo/react-native/archive/sdk-32.0.0.tar.gz => 0.57.1
react-navigation: ^2.18.2 => 2.18.3
npmGlobalPackages:
expo-cli: 2.18.7
Expo Android Client Version: 2.11.0
Android Info:
Device - LG G7
Android version - 8.0.0
I’m trying to authenticate via AuthSession:
const authUrl = `${authBaseUrl}&client_id=${appId}${scopeString}&state=${authState}&redirect_uri=${encodeURIComponent(
AuthSession.getRedirectUrl()
)}`
const result = await AuthSession.startAsync({
authUrl
});
I can auth successfully in the iOS Expo client, iOS standalone and Android standalone.
When loading my app in the Android expo client, I can auth on the 3rd party site (Twitter, Facebook or Linkedin), but then it tries to redirect to Sign-in Complete[code token]g&state=[state token] and the Expo client crashes before it makes it back into my app. I can’t log anything from my app because the crash is happening in the Expo client during auth before it redirects back into my app. Any suggestions on how to debug this or what might be causing this issue?