This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided “as is” with no warranties.

Issue

 After upgrading to iOS 12.4, K2 Mobile and/or K2 Workspace app crashes when accessing Forms.

Symptoms

Both K2 Mobile and K2 Workspace apps sometimes crash while trying to open a form, on devices running iOS 12.4. After the first attempt, the app may crash when trying to navigate to the forms or simply trying to open the app. This tends to happen when the form needs to retrieve large data sets but this is not the only reason. This can happen whether connecting to a K2 Five server, K2 Cloud, or to K2 blackpearl (4.7).

Resolution

This issue is still being investigated (Investigation Reference #884383). If you have not upgraded your iOS devices to 12.4 yet, you may wish to hold off while we complete our investigation. If you have already upgraded your iOS devices and are experiencing app crashes, you may need to refactor some of your forms.

The current workaround is to reduce the number of records retrieved by the forms. It may also be possible to reduce the issue by implementing paging, which should reduce the amount of data being pulled at one time.

The exact amount of data that can be successfully returned will vary, based on the number of records, properties, data types and associations of the SmartObject. It also depends on the device and memory available at the time of execution. For now, we recommend limiting the number of records to 1000-2000 to be safe.

We will update this article as more information becomes available.