Renderer SDKs
This guide assists in migrating from FlowX v4.1.x to v4.5.1.
Android SDK migration guide (v4.5.0)
Initialization config changes
A new configuration parameter, named locale
was added in order to improve formatting the dates, numbers and currencies.
When the SDK initialization happens through the FlowxSdkApi.getInstance().init(...)
method, the argument has to be set inside the config: SdkConfig
parameter value:
Changes when starting a Flowx process
Two new parameters were added:
Name | Description | Type | Requirement |
---|---|---|---|
applicationUuid | The uuid string of the application containing the process to be started | String | Mandatory |
onProcessEnded | Callback function where you can do additional processing when the started process ends | (() -> Unit)? | Optional. It defaults to null . |
Changes when resuming a Flowx process
One new parameter was added:
Name | Description | Type | Requirement |
---|---|---|---|
onProcessEnded | Callback function where you can do additional processing when the continued process ends | (() -> Unit)? | Optional. It defaults to null . |
Public API changes
The changeLanguage
method has been updated and renamed to changeLocaleSettings
, in order to accommodate the newly added locale
config parameter:
Library dependencies updates
- Kotlin: 1.9.22 ↗ 1.9.24
- Compose BOM: 2024.02.00 ↗ 2024.06.00
- Compose Compiler: 1.5.9 ↗ 1.5.14
- Gson: 2.10.1 ↗ 2.11.0
iOS SDK migration guide (v4.5.0)
Initialization config changes
A new configuration parameter, named locale
was added in order to improve formatting the dates, numbers and currencies.
The locale needs to be set on the FXConfig.sharedInstance.configure
method
Changes when starting a process
Two new parameters were added on the 3 available start process methods:
Name | Description | Type | Requirement |
---|---|---|---|
applicationUuid | The uuid string of the application containing the process to be started | String | Mandatory |
onProcessEnded | Callback function where you can do additional processing when the started process ends | (() -> Void)? | Optional. It defaults to nil . |
Changes when resuming a Flowx process
One new parameter was added on the 3 available continue process methods:
Name | Description | Type | Requirement |
---|---|---|---|
onProcessEnded | Callback function where you can do additional processing when the started process ends | (() -> Void)? | Optional. It defaults to nil . |
Public API changes
The changeLanguage
method has been updated and renamed to changeLocaleSettings
, in order to accommodate the newly added locale
config parameter:
Angular SDK migration guide (v4.5.0)
Renderer SDK component usage
In the Angular SDK, the <flx-process-renderer>
component has two new parameters have been introduced: appInfo and locale. These additions help support localization and application-specific configurations.
- appInfo: Object containing an appId key, which identifies the application.
- locale: Provides region-specific settings for localization.
Add the definitions for these properties in the class file of the component that uses the process renderer component:
Use these parameters in the template as inputs for the <flx-process-renderer>
component:
Icon module update
The withExtraIconSet
method has been replaced with provideExtraIconSet
, which should now be used in the providers array.
Additional libraries
The following npm packages are now essential for handling date and input formatting:
- date-fns
- inputmask
Was this page helpful?