Skip to content

For Cloud Functions 2nd gen #10198

Answered by inlined
akehoyayoi asked this question in Q&A
Sep 10, 2022 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

EDIT: Cloud Functions for Firebase 2nd Gen does not need any special handling anymore for callable functions to work in the iOS SDK. This restriction was removed as part of our GA announcement at Google I/O 2023.

All changes that are needed for the iOS SDK to work have already been made.

Eventually, the code you use for a v1 callable function will just work with v2 callable functions seamlessly. For now, however, we don't yet have cloudfunctions.net URLs for v2 functions, which is what the SDK normally depends on. Instead, you'll temporarily need to first deploy your function, then copy the URL you get from the deploy logs and initialize your callable function with the URL based constructor

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@akehoyayoi
Comment options

@walkingbrad
Comment options

@inlined
Comment options

inlined Jun 13, 2023
Collaborator

Answer selected by inlined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants