Sarina DuPont from Embarcadero has a new blog post in her BaaS component series for Delphi XE6 Firemonkey (previous post). In this blog post she covers how to send additional fields to the server besides the username and password on Android, IOS, and Windows (probably OSX as well). The format for the additional data is JSON and you can send as many additional fields as you need to using this method. This example uses Kinvey on the server side for accepting the signup information but you could also use Parse or any other supported provider. TBackendUsers is the component that you need to use to actually create the user account and send along the additional information. It also appears that the fields that you send along automatically get created on the server (you don’t have to create them first and then send them along as far as I can tell). You will notice how the TJSONObject component is used to automatically create the necessary JSON. Check out the sample source code and specifically the third parameter in the SignUpUser function: procedure TSignUpForm.BtnSignUpClick(Sender: TObject);
LJSON := TJSONObject.Create;
FMXExpress.com has over 700 tips and tricks for building cross platform apps on Android, IOS, OSX, Windows, and Linux with a single codebase and single UI using the FireMonkey framework found in Delphi and C++Builder.
FMXExpress covers top cross platform secrets for FireMonkey in C++Builder and Delphi XE5, XE6, XE7, XE8, Seattle, Berlin, Tokyo, Rio, and Sydney.