- Notifications
You must be signed in to change notification settings - Fork 651
Closed
Labels
Description
[REQUIRED] Step 2: Describe your environment
- Firebase Component: Functions
- Component version: 21.1.0
[REQUIRED] Step 3: Describe the problem
Functions SDK version 21.1.0 seems to have broken source compatibility. Specifically when using HttpsCallableResult:
Version 21.0.0
suspend fun addMessage(text: String) { val data = hashMapOf("text" to text) val result = functions .getHttpsCallable("addMessage") .call(data) .await() val data = result?.data // <-- WORKS }Version 21.1.0
suspend fun addMessage(text: String) { val data = hashMapOf("text" to text) val result = functions .getHttpsCallable("addMessage") .call(data) .await() val data = result?.data // <-- Cannot access 'val data: Any?': it is private in 'com/google/firebase/functions/HttpsCallableResult' }Spotted in https://github.com/firebase/quickstart-android/actions/runs/11883012926/job/33109208274
hnilsen, vincentpryckodko, heronsanches and svenjacobs