The App SDK provides a default UI for the Sign Up form and registration confirmation implemented as view objects.


To replace the default UI:
Step 1: Implement a custom View that implements the BaseSignUpView and ISignUpLiveData interfaces.
Step 2: Implement a custom UI factory as a subclass of SignUpUIFactory. Define its createView() method to return an instance of the custom View you implemented in Step 1.
Step 3: During initialization of your app, call SignUpUIFactory.setInstance() to provide an instance of your custom implementation of the SignUpUIFactory.
When the user begins the Sign Up flow, the App SDK calls the createView() method of your custom SignUpUIFactory implementation to obtain the instance of your custom View. When your view is initialized, it calls SignUpController.onRefresh(). The SignUpController then calls the getSignUpData() and confirmMethodRegistration() methods of your custom ISignUpLiveData implementation.
Refer to the Client API Docs for the SignUpController and SignUpUIFactory classes and the BaseSignUpView and ISignUpLiveData interfaces for more details.
Working examples in Tutorial web app
Refer to the SampleSignUpUIFactory and SampleSignUpView classes in the file js/samples.js for implementation.
Refer to initialize() in js/Controller.js for usage.