init

fun init(context: Context)

This function initializes Maps SDK native stack if it has not yet been done successfully.

It can be called multiple times. If the native stack was already initialized successfully then this is a no-op.

If initialization process throws an exception we catch it and enhanced it with system information (see MapboxInitializerException).