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

[storage-image-processing-api] Calling Image Processing API with Cloud Functions for Firebase client SDKs #59

Open
gmarizy opened this issue Aug 23, 2023 · 0 comments

Comments

@gmarizy
Copy link

gmarizy commented Aug 23, 2023

Given the working url:

"https://[my project id here].cloudfunctions.net/ext-image-processing-api-handler/process?operations=${jsonEncode(operations)}"

I didn't succeeded to write the equivalent call with Flutter Firebase Cloud Functions for Firebase client SDK. I tried variation of this snippet with no avail:

FirebaseFunctions.instanceFor()
        .httpsCallable("ext-image-processing-api-handler")
        .call({"operations": jsonEncode(operations)});

What is the way to call Image Processing API from Cloud Functions for Firebase client SDKs ?

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

1 participant