Methods and Arguments
App notifications and event logging for use within the Hurree dashboard are controlled using SDK methods. Each method is listed below.
|Adding device-specific values.||deportKeyValues|
|Sending user values (for example gender and DOB.)||deportUserLoginValues|
|Retrieving FCM token from FCM server, updating login time and updating details on server.||sendLoginDetails|
|Identifying whether notification was sent from Hurree or not (for example third party application.)||pushNotificationWasSentFromHurree|
|Creating the push notification view.||showNotification|
|Registering device on which the application is installed.||setCustomLogWithEventName|
|Registering purchase events (with price, quantity and other details.)||logPurchaseWithCurrencyWithPriceAndQuantity|
|Logging all logout events.||logoutUser|
This section outlines how to add the application source code – methods and data arguments – to your project's controllers.
Depending on how you want the Hurree functionality to work, you can decide where each method is called, though we have made some suggestions.
Please ensure you have already retrieved the Application Keys from the Hurree Dashboard.