setHandleCriticalInstantErrors

open fun setHandleCriticalInstantErrors(showCriticalErrors: Boolean)

Sets whether the fragment should automatically handle certain critical Instant errors.

If true, when this fragment is visible and a OLD_CLIENT error occurs, an alert will be shown that tells the user the app must be updated. In addition, if true and a OLD_CLIENT or OLD_SERVER error occurs, automatic syncing will be disabled.

This defaults to true. We recommended that you make your app handle all errors that Instant might encounter, and then set this to false.