For Cloud Functions 2nd gen #10198
-
I cloud not find the milestone for adapting cloud functions 2nd gen as far as I confirm. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
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 |
Beta Was this translation helpful? Give feedback.
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