We have a service with a feature class and two related tables. All three have attachments. It's complicated, but it works fine when used online in Collector. When we download it for disconnected editing to a iPad 2 or iPhone 5s, it will open offline. However, when we try to add a new entry collector shuts down with no error message. This happens every time. I've tried republishing the service, uninstalling and reinstalling collector. Then I tested it on a fairly old and dumb Samsung tablet, and it worked fine. The tablet has an older version of collector; I'm not sure if that has anything to do with the problem. Has anyone else experienced this problem?
I spent some quality time with ESRI tech support. We ended up creating a map package, exporting it to an xml document, and creating a new geodatabase from that. Then I started all over again with a new mxd document and exported it to a new map. Then I could get it to work with an IOS and offline editing. Today we added some python code (which we had done with the other geodatabase) to update a value, and it quit working again. Is it possible that the python code could have been the problem?
Disclaimer - this may be specific to my case.
I was experiencing the same issue, where Collector would shut down when adding new data to the related table. I had built a second, (almost) duplicate app which worked. Digging into the service definition at the REST, I found that the non-working version has the following snippet:
Upon removing the "ownershipBasedAccessControlForFeatures" object and properties and updating the service definition, the Collector app worked. I made sure to create a copy of the original service definition just in case I broke everything!