Closed ChanakaWeerasinghe closed 12 months ago
Added .environmentId on InquiryTemplateBuilder to create inquiries with a specific environment token.
// Environment Id (arguments["environmentId"] as? String)?.let { environmentId = it } environmentId?.let { builder = builder?.environmentId(it) }
Change InquiryConfiguration
config = InquiryConfiguration(templateVersion: templateVersion, accountId: accountId, environment: environment, fields: fields, theme: theme)
To Inquiry builder An Inquiry builder received by calling Inquiry.from(...)
Inquiry.from(...)
_inquiry = Inquiry.from(templateId: templateVersion, delegate: self) .environment(Environment.from(rawValue: environment?.rawValue)).environmentId(environmentId) .build()
`
Added .environmentId on InquiryTemplateBuilder to create inquiries with a specific environment token.
Added .environmentId on InquiryTemplateBuilder to create inquiries with a specific environment token.
Change InquiryConfiguration
To Inquiry builder An Inquiry builder received by calling
Inquiry.from(...)
`