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 |
|---|---|---|---|
|
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
})
Keep learning!
To take full advantage 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.