You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Functions SDK version 21.1.0 seems to have broken source compatibility. Specifically when using HttpsCallableResult:
Version 21.0.0
suspendfunaddMessage(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
suspendfunaddMessage(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'
}