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

Cannot invoke HttpsCallable functions on Safari #8157

Closed
gpawlik-cais opened this issue Apr 12, 2024 · 5 comments
Closed

Cannot invoke HttpsCallable functions on Safari #8157

gpawlik-cais opened this issue Apr 12, 2024 · 5 comments

Comments

@gpawlik-cais
Copy link

gpawlik-cais commented Apr 12, 2024

Operating System

Ventura 13.2

Browser Version

Safari 16.3

Firebase SDK Version

9.12.1

Firebase SDK Product:

Firestore Functions

Describe your project's tooling

React web (Expo)

Describe the problem

In Safari when invoking a callable function created with httpsCallable method, the promise never get resolved. In Chrome it works perfectly fine.

Steps and code to reproduce issue

Follow the example from the docs: https://firebase.google.com/docs/functions/callable?gen=1st

Open Safari and check that it does not work

@gpawlik-cais gpawlik-cais added new A new issue that hasn't be categoirzed as question, bug or feature request question labels Apr 12, 2024
@jbalidiong jbalidiong added needs-attention api: functions and removed new A new issue that hasn't be categoirzed as question, bug or feature request api: firestore labels Apr 12, 2024
@gpawlik-cais
Copy link
Author

On localhost the function is being invoked correctly, actually I see the function URL in the Network tab (even that it is not defined as a HTTP function). Once again - it is only a Safari issue.

@dconeybe
Copy link
Contributor

Note: Updated "Firebase SDK Product" in the OP to specify "Functions" (rather than "Firestore") since this issue seems to be related to the Functions product.

@jbalidiong
Copy link
Contributor

Hi @gpawlik-cais, thanks for bringing this to our attention. I tried replicating, but I wasn't able to reproduce the error. May I ask for the logs, so I can have a better look into it. Also could you share a minimal, but complete sample of a project that I can run locally.

@google-oss-bot
Copy link
Contributor

Hey @gpawlik-cais. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

@google-oss-bot
Copy link
Contributor

Since there haven't been any recent updates here, I am going to close this issue.

@gpawlik-cais if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.

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

No branches or pull requests

4 participants