I have an app that adds features to a local geodatabase and periodically syncs with the host feature service. It runs fine on the Windows 10 dev machine (ALT+SHIFT+R from Qt Creator) but if I push it to AGOL and download it to AppStudio Player on my iPhone it fails to add points to the offline table.
Specifically, it runs correctly right up until I call GeodatabaseFeatureTable.addFeature(myFeatureJSON). This method succeeds on the dev machine but consistently returns -1 on the phone. Similarly, if I Make the app and side load it to my phone I get the same behavior.
I get the same results whether I change the feature service used in the app or test it on other iPhones (I haven't tried it on Android)
What could be the cause of this and how might I go about fixing it?
Thanks,
Ken