alejandro soto
Sep 15, 2016
6:56 pm

App Crashing when it is moved into the Container

Maybe I dont understand how the container works. But I installed the basic Knox application found in the Google Play Store. Then I created a basic app that just has one button and when that button gets cllcked it displays a toast to demonstrate that the application is working. It works correctly outside of the container but once I move that app into the container and I try to open it from there it simply crashes. Is there something that I am doing wrong? 

Similar topics

No similar topics found.
Kieran M
Sep 17, 2016
2:45 am

Hi Alejandro,

If your application doesn't use the Knox platform and you are just having issues with My Knox, please contact My Knox technical support at the following link.

https://www.samsungknox.com/en/contact/my-knox

If you are using the Knox platform, please let me know which methods you are using.

mike dawinci
Feb 23, 2018
4:35 pm

This crash told you that you didn't updated your datasource for collection. You need to update your dataSource (array or dictionary) and reload collection view data after you perform performBatchUpdates. 

Invalid update: invalid number of items in section 0. The number of items contained in an existing section after the update (76) must be equal to the number of items contained in that section before the update (70), plus or minus the number of items inserted or deleted from that section (5 inserted, 2 deleted) and plus or minus the number of items moved into or out of that section (0 moved in, 0 moved out).' Torngat app is excellent one to prevent apps from getting crashed.

As written in apple docs