reload

abstract fun reload(reason: String): TaskInterface<Void>

Entrypoint to reload the ReactInstance. If the ReactInstance is destroying, will wait until destroy is finished, before reloading.

Return

A task that completes when React Native reloads

Parameters

reason

describing why ReactHost is being reloaded (e.g. js error, user tap on reload button)