pushHistory

fun pushHistory(eventType: String, eventJson: String)

Adds a custom event to the navigators history. This can be useful to log things that happen during navigation that are specific to your application.

Parameters

eventType

the event type in the events log for your custom even

eventJson

the json to attach to the "properties" key of the event