Related: https://forums.garmin.com/forum/deve...and-characters
Environment
iOS 10.3.3 [iPhone]
or iOS 11.2.1 [iPad] (As in all these cases with bad GCM config, I assume it has nothing to do with the iOS version, especially since I get reports from end-users, most of whom are probably auto-updating their iOS.)
Garmin Connect Mobile:4.2.0.25
Description
Entering certain text in CIQ app settings [string properties] causes an Access Denied error and settings are not saved. As far as I know, it doesn't matter which CIQ app you use, as long as it has a string setting. The same text in the simulator app settings or Garmin Express works fine.
You can use AppBuilder (my app whose users reported this problem) or Training Notes:
https://apps.garmin.com/en-NZ/apps/d...a-9b8485d2fc80
https://apps.garmin.com/en-US/apps/e...9-fe49891d7e76
Use the Formula field in AppBuilder or Line 1 in Training Notes to reproduce.
Case A:
"IF(B^C)"
If you enter the above text (without quotes) in a string settings field and attempt to save settings, you will be presented with an "Access Denied" error page. B and C can be any text. If you change "IF" or "^" to other text (even changing "IF" to "IFS"), the problem goes away.
(This is a simple synthetic example where I tried to distill the root cause of the problem)
Case B:
This also produces an "Access Denied" error page. (This is a real example that affects the users of AppBuilder)
In this case, the string is Base64 encoded, because the forum will not accept the text, even with square brackets. Use https://www.base64decode.org/ to decode.
QVZHMChJRlMoVGltZXIgR1RFIDMwIGFuZCAoVGltZXIgLSBNQVgoSUZTIChQUkVWKHRpbWVyKSBlcSBudWxsLCB0aW1lcikpIHBsdXMgMSkgZ3RlIDMwLCBUSU1FQVZHMChQb3dlciwzMCleNCkpXjAuMjU=This fails despite employing the apparent workaround of using IFS instead of IF, that succeeds in Case A.
You can also go to AppBuilder4 store page and look at the formula for Normalized Power [activity average]
https://apps.garmin.com/en-US/apps/f...9a39e44e1b9f#0
Here it is in image form: