apple-sign-in icon indicating copy to clipboard operation
apple-sign-in copied to clipboard

Add usePopup configuration

Open philipp-schaerer-lambdait opened this issue 2 years ago • 3 comments

If someone has also got the problem that the Apple-Sign-In needs to be triggered twice while using an iOs device in the web environment, then it is probably due to a blocked popup. The error popup_blocked_by_browser is being triggered.

It would be nice to be able to set the usePopup option to false: https://github.com/capacitor-community/apple-sign-in/blob/98282774b6433db8ec29e93c4ddf21562dfae675/src/web.ts#L36-L37

There was already a pull request for this change: https://github.com/capacitor-community/apple-sign-in/pull/62

The issue should be reproduceable using the Private Mode in Safari. Edit: not sure if changing it to non-popup behavior really fixes the issue, should be tested with multiple devices

having same issue, getting popup_blocked_by_browser

I have verified on real device and also changed safari on iPhone to allow popup and still getting same error

georgefam avatar Jul 16 '22 02:07 georgefam

I am also having this issue.

We send our web link through instagram and we try to drive users to sign up using Apple. The embedded web browser via IG will throw popup_blocked_by_browser.

This error is damaging our onboarding flow.

yllaw avatar Sep 20 '22 17:09 yllaw

Same issue here

marclou avatar Jan 18 '23 04:01 marclou

Same Here

AAmeriyan avatar Oct 10 '24 13:10 AAmeriyan