I am developing an add-on with custom functions. This also includes a sidebar.
When I test the addon, I do the authorizations and the sidebar functions as it should.
I am unable, however, to use the custom functions - they just don't appear when I start typing. I know they should work ok, since I prepared them in a bounded script originally and they were fine there. Then copy & paste to the standalone script, but no joy.
There are 3 OAuth scopes required by the script:
https://www.googleapis.com/auth/script.container.ui
https://www.googleapis.com/auth/spreadsheets
I then updated the appsscript.json file to include the scopes above, as suggested here: Google Setting Scopes
I'm assuming this has something to do with authorizations. What should I be looking for? Any suggestions please?