Any string
to represent the identifier of the channel for which you want to receive notifications. You can subscribe to custom channels or EventBusCommonEvents
Optional
broadcastCurrent eitri-app will allow messages from other eitri-apps.
in iOS devices, version 15.4 or later is required to use broadcast messages. Before this version, only messages generated by the current eitri-app will be delivered to the subscriber)
false
Optional
persistIndicates whether the listener should persist between navigations. Default is false. If set to true, the listener will continue to receive notifications even when the eitri-app navigates between screens. If set to false, the listener will be removed during navigation transitions.
false
Generated using TypeDoc
The callback function that will be invoked when messages are received on the specified channel.