googlefitbit icon indicating copy to clipboard operation
googlefitbit copied to clipboard

UiApp has been deprecated

Open brandonstclair opened this issue 7 years ago • 5 comments

When attempting to run the script for a new spreadsheet (or change settings in existing spreadsheet) the following message is now displayed.

"UiApp has been deprecated. Please use HtmlService instead."

Occurs when going to Fitbit menu item and selecting Setup menu choice.

brandonstclair avatar Jan 18 '19 19:01 brandonstclair

Same for me.

ak2k avatar Jan 29 '19 15:01 ak2k

I'm having this issue too. I imagine anyone else using this script will be getting this error now.

I may have found a workaround for now: If you open the script in the script editor, go to File > Project Properties > Script Properties, you'll find the same settings that are no longer accessible from the menu due to the code deprecation. You can make any changes here instead, I think. (I say "I think" because I just tried changing the First Date setting this way and ran the script and it appeared to work without throwing any errors or warnings.)

pjfarr avatar Feb 03 '19 10:02 pjfarr

ugg would sure like to get an update here. i'm not having much success on my own trying to replace UiApp with HtmlService.

lordneeko avatar Apr 01 '19 16:04 lordneeko

Added the fix in PR #37

lordneeko avatar Apr 08 '19 15:04 lordneeko

Same for me,I tried lordneeko html script as well for intraday but different errors pop out

shgh24 avatar Apr 14 '19 06:04 shgh24