Event notifications
Using push notifications
Since the Verified Network is a blockchain, transactions do not call back applications and application developers therefore need to set up listeners for events that are emitted by transactions on the blockchain.
By default, all events are listened to by an external listener set up for the Verified Network which notifies applications. This requires applications to set a Firebase messaging token on the Client contract signed by the user or the user's manager.
setAccess(_messagingtoken: string)
Applications need to implement Firebase messaging clients to receive notifications from the Verified Network. Alternatively, application developers can set up their own event listeners and implement any messaging protocol for notifications. Messaging tokens set for notifications can be retrieved using a call to the Client contract signed by the user or the user's manager.
getAccess(_clientAddress: string)
Last modified 10mo ago