I'm new to the Connect SDK and I've built a datafield app to start. I'm currently having an issue with my app where I if I change the app settings from the Connect Android app and then try to run with the custom data field, it crashes. It doesn't matter what I change my settings to (valid or invalid). I can however, change settings using Garmin Express and everything works fine. Even when the settings get busted from the mobile app, I can just go change the settings to whatever I want with Garmin Express and all is well again. I'm checking all settings types before using them using "instanceof" and verifying I'm getting what I expect. Everything works fine in the emulator and as I mentioned with Garmin Express and my 520. If I try changing the settings via the mobile app and not running and plugging the device into the computer and checking the log, I see this warning:
WARNING: Unable to serialize app data
STORE_ID: da79ef76eb9248baa360dd4dd1519b03
If I open the the .SET file, I can see in the binary data that the settings changes from the app seem to be persisted to the settings file. Given the only way for me to really test out code changes to my settings code is by publishing to the app store, I'm looking for a bit of help on how I might debug this. The emulator has proven to be completely useless when it comes to settings as things always seem to work in the emulator and then crash on a device. Even when I was not checking data types completely, the emulator runs great as does side loading to my device. It's only when I use the mobile app that I'm getting a crash now. Any help would be appreciated.
Thanks,
Rob