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

Login Button not responding in mobile Facebook browser on iPhone. #310

Open
ronytesler opened this issue Aug 29, 2020 · 6 comments
Open

Comments

@ronytesler
Copy link

		<FacebookLogin
			disableMobileRedirect={true}
			appId={appId}
			autoLoad={true}
			fields="name,picture"
			onClick={this.componentClicked}
			callback={this.responseFacebook}
			render={(renderProps) => (
				<button type="button" onClick={renderProps.onClick}>Connect</button>
			)}
		/>

Clicking on the button in the Facebook's app browser does nothing.
Works fine on other browsers.

@nelsonfleig
Copy link

Same issue with the Instragram in-app browser. I have the same settings as you. Others have suggested removing disableMobileRedirect={true}, but then the login fails on safari and chrome on mobile devices.

@gevkhanyan
Copy link

gevkhanyan commented Sep 8, 2020

I have this problem too, but disableMobileRedirect={true} was fixed my issue.

@ronytesler
Copy link
Author

#303

@vahepoghosyan
Copy link

Same problem on iOS Safari.

@Tokenyet
Copy link

Tokenyet commented May 19, 2021

Few notices for this issue:

  1. react-facebook-login use popup on desktop by default, so It's easy to compatible with desktop browser.
  2. react-facebook-login use redirect on mobile by default, If we didn't handle the query code properly, we might need to use disableMobileRedirect, but some browser disallow popup by default.

FMI, different iOS version have different behaviour, disableMobileRedirect works on iOS11.1 but not latest version...

@crscaballero
Copy link

I'm having this problem as well

Few notices for this issue:

  1. react-facebook-login use popup on desktop by default, so It's easy to compatible with desktop browser.
  2. react-facebook-login use redirect on mobile by default, If we didn't handle the query code properly, we might need to use disableMobileRedirect, but some browser disallow popup by default.

FMI, different iOS version have different behaviour, disableMobileRedirect works on iOS11.1 but not latest version...

and got this conclusion too

has anyone been able to find a solution for this?

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

6 participants