transaction crash
feixuwu opened this issue · 2 comments
feixuwu commented
run the database sample,
I add one line code, inside the transaction function
int childCount = (int)data->children_count();
then the sample crash:
JNI DETECTED ERROR IN APPLICATION: the return type of CallIntMethodV does not match long com.google.firebase.database.MutableData.getChildrenCount()
jonsimantov commented
Thanks for reporting this bug, it seems like a pretty clear error and we should have a fix for it soon. I'll update this issue when a fix is released.
jonsimantov commented
Version 4.2.0 of the Firebase C++ SDK has been released, which fixes this issue. You can view the release notes here and download the release from https://firebase.google.com/docs/cpp/setup.