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 |
---|---|---|---|
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 })
Keep Learning!
To fully unlock the potential of your Connectif account, we recommend continuing with the following articles:
- Android SDK Get Started, to add Connectif Mobile SDK to your Android project.
- Firebase Cloud Messaging Setup, to enable push sending and receiving via the Android Mobile SDK.
- iOS SDK Get Started, to add Connectif Mobile SDK to your iOS project.
- Apple Push Notifications Service Setup, to enable push sending and receiving via the iOS Mobile SDK.