- SDK Version: 39
- Platforms: Android/iOS
Hello. I am using expo-auth-session
to get an access token from Google. It works in development locally, but it doesn’t work in the published app.
The error I see when authentication with Google is done, is: “Safari cannot open the page because the address is invalid”.
I get a redirect URI like this:
const redirectUri = makeRedirectUri({
native: 'https://auth.expo.io/@webjay/gnews',
useProxy: true,
});
My app.json
:
{
"expo": {
"name": "gNews",
"slug": "gnews",
"scheme": "gnews",
"version": "1.0.1",
"orientation": "portrait",
"icon": "./assets/icon.png",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#59748c"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true,
"bundleIdentifier": "dk.webcom.newsfilter",
"buildNumber": "1.0.2"
},
"android": {
"package": "dk.webcom.newsfilter",
"versionCode": 1
},
"web": {
"favicon": "./assets/favicon.png"
}
}
}
Please give me a hint as to what could be wrong.