My google sheets script is working well, but once it was published, the menu items are no longer there. So, instead of displaying the 'start' button in the addon (which works fine when it is run as a script) it only displays help for my addon. Does anyone have any ideas why this may be the case?
//Runs when the addon is installed
function onInstall(e) {
onOpen(e);
}
//Creates menu entry in google ui when opened
function onOpen(e) {
SpreadsheetApp.getUi().createAddonMenu()
.addItem('Start', 'showSidebar')
.addToUi();
}