I'm trying to call a MongoDB Realm function from client side, as explained here.
So, with a connected user on my react native application I'm trying to call:
user.functions.myFunction(arg1, arg2)
or
user.callfunction("myFunction", [arg1, arg2])
But neither of them work, I'm getting: user.functions or user.callFunction is not a function
The User Class
And I found this issue, but I guess it is not related to my case.
[EDIT]
So yes the problem is the same as the above Github issue.
You cannot use some functions while in debugging mode.