LoyaleConfig setup

Before usage the 'Loyale' pod installation required

pod 'Loyale'

Import Loyale module in swift file where it will be used.

import Loyale

To start using Loyale SDK in you project, Loyale Config should be set up with environment (staging or production) and your Scheme Id string. You can configure it typically in your App's initializer or app delegate's application(_:didFinishLaunchingWithOptions:) method.

LoyaleConfig.setup(ConfigConfiguration(environment: .production, schemeId: YOUR_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