LoyaleConfig setup

Initial configuration

To start using Loyale SDK, the Config should be set up with environment (staging or production) and Scheme Id string.

LoyaleConfig.setup(ConfigConfiguration(environment: .production, schemeId: SCHEME_ID))

After Config setup, the Bearer token is also required for the most of the calls. It returns by authUser method.


What’s Next