Skip to content
New issue

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

Google Authentication Login not work #4

Open
HaShLo opened this issue Feb 18, 2023 · 3 comments
Open

Google Authentication Login not work #4

HaShLo opened this issue Feb 18, 2023 · 3 comments

Comments

@HaShLo
Copy link

HaShLo commented Feb 18, 2023

I cant login through Google's "Continue with Google" Button.

It says:

IMG_20230218_080223.jpg

I think its because WebView. Can you please fix it?

Thanks

@Lyushen
Copy link

Lyushen commented Feb 21, 2023

Author can fix it use this code:

import React from 'react';
import { SafeAreaView, StyleSheet } from 'react-native';
import { WebView } from 'react-native-webview';

const App = () => {
return (

<WebView
source={{ uri: 'https://www.example.com' }}
userAgent="Mozilla/5.0 (Linux; Android 12) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Mobile Safari/537.36"
/>

);
};

const styles = StyleSheet.create({
container: {
flex: 1,
},
});

export default App;

nezort11 added a commit that referenced this issue Feb 21, 2023
@HaShLo
Copy link
Author

HaShLo commented Feb 22, 2023

So thanks @nezort11 . i see you fixed it in you latest push "Change default webview user agent". Can you please build the newest apk and release it ?

Thank you

@HaShLo
Copy link
Author

HaShLo commented Feb 25, 2023

I build it on my own with expo and react-native and it works , but only in app:debug mode. Metro is not integrated in the apk and so on but it works anyway^^. How can i integrate metro into it ? Thank you @nezort11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants