iOS Mobile SDK: Notify registration event

The "Notify registration 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 it works

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

Attribute Definition Required Limitations
email

Valid email of the user registering.

Yes

- Valid emails only.

 

Example

The notification will look like this:

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

Callbacks (Opcional)

Si queremos tener feedback de posibles errores al enviar eventos, podremos añadir un EventCallbacks cuando usemos nuestro método.

EventCallbacks(
    onSuccess: {
        // Manejo en caso de éxito
    },
    onError: { error in
        // Manejo en caso de error
    })
 

Congratulations!
You've 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 fully unlock the potential of your Connectif account, we recommend continuing with the following articles:

 
Was this article helpful?
0 out of 0 found this helpful