iOS - Access Environment Info
note
Modules conforming to the Module
interface can access an instance of ModuleDataSource
via the moduleDataSource
property.
This allows access to various environment-specific values like base URLs and paths. :::
Online Banking URL - Target URL Base
Target URL Base
// example: https://stack.q2developer.com/sdk/native/ardent
let targetURLBase = moduleDataSource?.environment?.targetURLBase
Online Banking URL as String
URL String
// targetURLBase/targetURLPage
let onlineBankingURLString = moduleDataSource?.environment?.onlineBankingURLString
Online Banking URL
Online Banking URL
// Example: https://stack.q2developer.com/sdk/native/ardent/uux.aspx
let onlineBankingURL = moduleDataSource?.environment?.onlineBankingURL