SDK Version: 40
Platforms(Android/iOS/web/all): IOS
async googleAuthS() {
let config = {
iosClientId: PM.settingsParam('google_iosClientId'),
androidClientId: PM.settingsParam('google_androidClientId'),
iosStandaloneAppClientId: PM.settingsParam('google_iosStandaloneAppClientId')
};
try {
const { type, accessToken, user } = await Google.logInAsync(config);
console.log('type', type);
if (type === "success") {
console.log('success! user', user);
} else {
console.log('!success');
}
} catch (e) {
console.log('e.message', e.message);
}
}
I’ve made a standalone app, deploy them to TestFlight
– expo build:ios
– upload .ipa to App Store Connect
In TestFlight app app I getting an error after clicking Google Auth button:
Error 400: invalid_request
Invalid parameter value for redirect_url: Missing authority: Sendmoney24:/oauth2redirect/google
In Expo app there is no such error.
Google credentials created for IOS app.
app.json
I will be grateful for any help.
Thanks.