6.0 Release Notes¶
Mobile Development Kit Client 6.0¶
Notable new or changed features for the Mobile Development Kit Client 6.0
NativeScript 8¶
Mobile Development Kit Client is now upgraded to support NativeScript 8 and it requires NativeScript 8.
As NativeScript 8 introduces few non-backward compatible changes, you need to check the Migration guide on how to migrate your app to be compatible with Mobile Development Kit Client 6.0.
Note
tns
command is deprecated and replaced with ns
command in NativeScript 8, you are recommended to use ns
command from Mobile Development Kit Client 6.0 or newer.
Enhancement¶
Multi User Support for iOS¶
Mobile Development Kit Client now supports multi-user login capability. This allows a Mobile Development Kit Client app on a device to be securely shared across multiple users. For more information, see Multi User Support.
Support Tabs in Modal¶
You can now render Tabs in modal page. For more details about Tabs control, see Bottom Navigation and Tabs Page
Support Preloading Tabs in Tabs Control¶
Mobile Development Kit Client now supports preloading defined number of tabs in Tabs Control. This allows access to the data of a tab even without selecting the tab. Use the PreloadTabs
property to define array of tab indices which needs to be preloaded
.
Tabs Items Support Binding & Rules¶
The Items
property for Tabs control now supports binding and rules that allows you to return dynamic number of tabs on load.
Helper Text in Form Cell Controls¶
Form Cell Controls now support HelperText
property, a label below the control to serve as helper text to guide the user. Do note that in Android not all Form Cell controls support Helper Text, only
- Title Form Cell
- Simple Property Form Cell
- Switch Form Cell
- Signature Capture Form Cell
- Note Form Cell
- Filter Form Cell
Support PDF Images in Side Navigation and Context Menu¶
Side navigation and Context menu now supports PDF images. The images can be referenced from metadata, resources or https url
.
Provide #Page:-Current
Target Path¶
You can use Target Path key to retrieve the current page's Page Proxy. #Page:-Current
allows you to reference the current page similar to #Page:-Previous
reference the previous page.
Copy Logs to External Storage in Android¶
On android devices, the Additional settings in the app
of a Mobile Development Kit Client app now has a Download Logs
button. This allows you to save Mobile Development Kit Client logs in Downloads folder.
List Picker Optimization¶
List picker is now optimized to minimize the query sent to back-end when loading the list or selecting value, so its performance is now improved in online OData mode.
ClientAPI
Enhancement¶
Reset API for Form Cell Controls¶
We have introduced a new reset
API for all Form Cell Controls, Section and Container. The following classes have access to the reset
API:
FormCellControlProxy
FormCellContainerProxy
SectionProxy
(for Form Cell Section)
The reset
API allows you to reset the form cell controls back to its original state and any binding or rules assigned to its properties will also be re-resolved.
API to Return Page Metadata in JSON Format¶
We have introduced a new getPageDefinition
API which allows to get page metadata definition as JSON object.
Web Runtime Enhancement¶
The following are the web runtime enhancement to fill the gap with mobile runtime:
- Supports List Picker as Filter control in the Filter dialog
- Supports
LoadingIndicator
Sectioned Table page for the initial page load - Supports Accessory Button Icon and Text in Object Cell
- Supports
MinNumberOfLines
for Note Form Cell - Supports Password
InputType
in Simple Property Form Cell
OData & REST Service¶
New APIs for OfflineDataProviderProxy
¶
We have introduced the following APIs:
hasPendingDownload
- Whether or not there is a pending download (a download that was canceled either explicitly or because the provider was closed), it is possible to continue the download by triggering a new download.hasPendingUpload
- Whether or not there is a pending upload (an upload that was canceled either explicitly or because the provider was closed), it is possible to continue the upload by triggering a new upload.requestQueueIsEmpty
- Whether or not, there are any pending requests stored in the request queue that have not yet been uploaded.
Auto Add Send Request Result to Action Binding¶
The result of SendRequest
action is automatically added to the ActionBinding
of the execution chain.
For more information, see Send Request Auto Store Result into Action Binding
New ODataProvider
API¶
You can now get access to OData provider via the ClientAPI.getODataProvider(serviceName)
.
This class provides information about the OData provider such as whether it's in offline mode (isOfflineEnabled()
), or is initialized (isInitialized()
).
For offline enabled OData provider, you can also access its offline parameters (getOfflineParameters()
), where you can get or set its custom headers.
See ODataProviderProxy
for more details.
Support EnableUndoLocalCreation
and EnableRequestQueueOptimization
Offline Options¶
EnableUndoLocalCreation
undo local operations on an entity. For example, ifEnableUndoLocalCreation
is enabled and create, update, and delete operations are performed on an entity. While uploading, all the 3 requests are removed and therefore will not be sent to the service back end.EnableRequestQueueOptimization
combines multiple OData operations on an entity into one single operation. For example, ifEnableRequestQueueOptimization
is enabled, create and multiple updates on an entity is uploaded as one single create request.
Branded Client¶
Support Android Version Code¶
You can now set AndroidVersionCode
in the MDKProject.json
. It allows you to set version number of your app. This version code is the same one that's used by Google Play Store to dictate your version of your app. For more information, see Android Application Version.
You can set the AndroidVersionCode
to Auto
which automatically generates the version code based on the AppVersion
value or you can set your own value to have better control of your version code.
For more information, see Android Application Version Code.
Support Force Light Mode¶
You can now set ForceLightUIMode
in the MDKProject.json
to force your application UI to always be in light mode regardless of whether the device's Dark mode setting is enabled or not. This setting can't be changed at runtime. To enable or disable this mode, you must build a new client.
For more details, see Configuration Of MDKProject.json File.
Support Additional Languages¶
Mobile Development Kit Client now supports the following new languages:
- Catalan (
ca
) - Finnish (
fi
) - Greek (
el
) - Mexican Spanish (
es_MX
) - Thai (
th
) - Swiss German (
de_CH
) - Swiss Italian (
it_CH
) - Vietnamese (
vi
)
Mobile Development Kit Editor 2108¶
Title | Type | Environment | Description | Available as of |
---|---|---|---|---|
Support Client 6.0 metadata | New | Neo (Web IDE) | Support new metadata changes for Client 6.0 | Aug 20, 2021 |
Support Client 6.0 metadata | New | CF (Business Application Studio) | Support new metadata changes for Client 6.0 as Business Application Studio extension | Aug 20, 2021 |
Support Schema Version in project wizard | New | Neo (Web IDE) | Support Schema Version selection in Project Wizard | Aug 20, 2021 |
Support Schema Version in project wizard | New | CF (Business Application Studio) | Support Schema Version selection in Project Wizard | Aug 20, 2021 |
Support Schema Version Migration | New | Neo (Web IDE) | Support Schema Version migrates to latest version | Aug 20, 2021 |
Support Schema Version and Script Migration | New | CF (Business Application Studio) | Support Schema Version migrates to latest version and script migration | Aug 20, 2021 |
Support metadata bundle for different client runtime version | New | Neo (Web IDE) | Support metadata bundle for different client runtime version | Aug 20, 2021 |
Support metadata bundle for different client runtime version | New | CF (Business Application Studio) | Support metadata bundle for different client runtime version | Aug 20, 2021 |
Support view and validate language files | New | Neo (Web IDE) and CF (Business Application Studio) | Support view and validate language files | Aug 20, 2021 |
Support checking unused files | New | CF (Business Application Studio) | Support checking unused files | Aug 20, 2021 |
Support live preview page | New | CF (Business Application Studio) | Support live preview page side by side | Aug 20, 2021 |