I'm wondering if anyone has seen any strange behavior around CIQ app updates and settings recently.
Specifically:
- App won't update properly if you update to one version while a newer version is pending in the store, and you won't be able to subsequently update to the newer version
- CIQ store shows incorrectly newly installed app to have the same settings values as another (clone) app
I have a CIQ datafield with 4 clones (same app built 4 times, with different app IDs) - let's call them MyApp, MyApp (B), MyApp (C) and MyApp (D).
Yesterday I released an update (5.30) which simply added support for new devices. Today I released an update (5.31) which made some cosmetic changes to app settings.
While 5.31 was not yet visible in the store, I updated MyApp on my device, using the iOS Connect IQ store app. As expected, the Connect IQ store app claimed the app was now updated to 5.30 (previously it had been on version 5.29). Also as expected, the old settings (from 5.29/5.30) were still visible.
However, once 5.31 was available in the store:
- MyApp's version number was displayed as 5.31 in the Connect IQ store app
- I was not given the opportunity to update MyApp
- MyApp's settings were still based on 5.29/5.30
- If I use the Connect IQ store app on the device, it claims that MyApp is on version 5.29
It seems that MyApp is now stuck in a limbo state where it's actually at version 5.29 (or 5.30), but the store thinks it's at version 5.31.
Furthermore, when I subsequently installed MyApp (B), the CIQ store did not show default settings vaules (as I would expect), but it showed settings values from MyApp (which had already been customized). I then added MyApp (B) in an activity: at this point it was clear that MyApp (B) was actually using default settings values. When I went back to the CIQ store and opened settings for MyApp (B), the true (default) values were finally reflected.