Use inAppMessageBuilder and notificationMessageBuilder to build custom notification
onTap is called when user interacts with push or inApp notification
Sending logout event to user.com project
Deleting all cache and requests from app memory
If user was registered before logout, You can post events to same user after passing user_id
If user wasnt registered this function will lose all reference to user
Use this method to notify User.com service that notification was opened
Trigger this only when You specify onInAppMessage and onNotificationMessage
inside buildNotificationOnMessageReceived function
Create ProductEvent object and pass there attributes You want to collect
ProductEvent requires productId and ProductEventType
Pass parameters as Map. It must be parsed to simple types.