Start Using the SDK – GBG IDscan Documentation

Start Using the SDK

MJCS should be initialized before using any SDK functions. You can either initialize before using directly (lazy) or while application is loading.

Please Note: SDK init could take up to a few seconds. Hence it should not be called on the UI thread as IO operations are happening.

Swift

 MJCS.loadSDK() 

Once you have finished to use the SDK, do not forget to unload it, to save memory.

Swift

 MJCS.disposeSDK()

To use the various classes within MJCS, at the top of your implementation file import the MJCS umbrella header:

Swift

 import MJCS
Was this page helpful?