registerAsync causing app crash
Hi, I’m following these tutorials:
But when I’m trying to register user, my app crashed and the logcat indicate that there is a problem with registerAsync on RegisterUser Activity.
Here’s my code:
Class MesosferApp: http://pastebin.com/FSW4BMLz
Activity RegisterUser: http://pastebin.com/jc4BNdg8
What is most likely causing this problem and how to solve it?
Perhaps, it is similar to this question:
but I didn’t understand the resolve clearly.
Thank you 🙂
Okay, already solved it, after tracing the SDK classes.
My conclusion is you MUST set at least one custom field (must add newUser.setData(“whateverKey”,”whateverValue”); to my code) although I didn’t want to use any custom field.