iOS Mobile SDK: Notificar evento de registro

The "Notify Registration Event" event is used to indicate a new registration. It notifies, via Mobile SDK, when a user signs up for the application using the function Connectif.sendRegister(email: String).

 

How to use it

The registration notification uses the method Connectif.sendLogin(email: String) in which we add the email property of the user registering.

Attribute Definition Required Limitations
email

Valid email of the registering user.

Yes

- Valid emails only.

Example

The notification will look like this:

Connectif.sendRegister("userEmail@example.com")

 

Callbacks (Optional)

If we want feedback on possible errors when sending events, we can add an EventCallbacks when using our method.  

EventCallbacks(
    onSuccess: {
        //Handling on success
    },
    onError: { error in
        //Handling on error
    })
    

 

 

Congratulations!
You have reached the end of the lesson.

  

Do you still have unresolved questions?
Remember that our Connectif specialists are available to assist you. To contact them, simply open a support ticket by clicking on the blue "Help" button in your dashboard.


Keep learning!

To take full advantage of your Connectif account, we recommend continuing with the following articles: