Issue in Web App publishing in Google Marketplace - google-apps-script

I published my Apps Script Web App to the Google Apps Marketplace. After 5-7 days of reviewing, they shared a doc with Web App details with me and asked for a Test Account to test the App. But when I checked in console.cloud.google.com, it shows the Publish status as 'Unpublished (Rejected)'. Can't understand if the App has been rejected or still in 'under review'. Should I share the Test account details and wait or something else can be done? Any help is appreciated. Thanks in advance.

When the App needs updates, or if they need more information Google's Review team sets the status to Rejected. This allows you to make changes, or submit further information that they need. When the status is "under review" you are unable to submit the proper changes. It is strange but I would just submit the information and usually after all the changes are made or all the information is gathered they ask you to resubmit the App for review so they can click authorize.

Related

Add-on not visible in the User account

I have created the one add-on.
I have used this link to test and deploy the add-on.
https://developers.google.com/apps-script/concepts/deployments
I have added 3 person's Gmail IDs as test users in the configuration of the google cloud project. Then I come to my spreadsheet and I am able to see the add-on there. But in the other person, I am not able to see the add-on.
I am not getting where I had done a mistake.
Can anyone guide me on this?
Like how to deploy the add-on in the local server, which can be accessible to the user and the user can't access the code. They can only test the add-on.
Google Workspace Add On
I would like to clarify your question with some insights.
Deploying an add-on to a local server is a feature that is not available over App Script.
In order for a user to manage and test an add-on, it would need to have "Editor" Access, this would basically give him access to the code, so it would not be possible to avoid the user to access that data.
As suggested by the official documentation, on how to share and test with developers, you added 3 users for testing under the OAuth consent screen is used for the scopes that would be used over the add-on and the project information.
An alternative would be if you have a Google Workspace account and the test user are part of the domain, to start the process to publish the application as private over the consent screen and that way is downloadable or active for certain members of your domain by following the steps on how to publish:
https://developers.google.com/workspace/marketplace/how-to-publish
You can manage what application users access the marketplace over the Admin console or by publishing as "Unlisted" and sharing the direct URL of the app's store page.
I also recently discussed a similar scenario over this thread if you would like to review more about the Add-On.
References:
https://developers.google.com/apps-script/add-ons/how-tos/testing-workspace-addons
https://support.google.com/cloud/answer/10311615
https://developers.google.com/workspace/marketplace/enable-configure-sdk

I can't open my Web App Link on Google App Scripts when multiple Gmail accounts logged in

Great day to you!.
I have found an issues when open Web App with multiple Gmail accounts logged in as an image attached.
My Web App link: https://script.google.com/macros/u/3/s/AKfycbzKLT0u7rE-hQbdJss2-1J-hyiWirkwUglfk6S8ColrARApgnFAJgyTStDf7pdxLCwp/exec
After several searches on Google and Stack Overflow,
My current findings are:
Sign out all accounts and sign only one account (Google Web App Multiple Google Accounts Error)
Open New Incognito Tab then sign in one account
(Google Web App Multiple Google Accounts Error)
Create alert pop-ups(https://sites.google.com/site/scriptsexamples/home/announcements/multiple-accounts-issue-with-google-apps-script)
However, I think it's an extremely better if they can open Web App Link while they are logging in multiple Google accounts.
Therefore, my question is
"How do we open Web App by Google App Script while Google accounts logged in?"
Thank you.
This is a well known issue and is filed on Google Issue Tracker
While this issue is being worked on, unfortunately the only feasiable workaround is toUnfortunately is to NOT being signed in with multiple accounts.
I also recommend you to "star" this issue on Issue Tracker to increase the visibility and hopefully accelerate fixing.
I had a similar problem in the company I work for and we found a way to work around it. Maybe it is the same to you, or it could help someone else.
We had to access to our web app with the company account (g-suite accounts), but some of us had multiple accounts logged in. Basically, we needed to open the web app with a specific account, the one of our company domain.
Our solution was to log out all the accounts and then to start to log them in again, beginning with the account that have to access the web app. In this way, that account became the main account and it can finally open the web app, since they belong to the same domain.
This solved the problem for us.

Publish a Gmail Add-on

I'm planning to launch a simple Gmail Add-on. I've followed every step in
the publishing guide and filled the submission form. However, it's been
two weeks now and I've yet to receive any response.
Also, the guide seems wrong, because it instructs users to first fill in
the Marketplace SDK Configuration tab and there is no way to save that
information because the 'Save changes' button is disabled. The changes on
that page are lost once i close the browser. All i can do is fill the submission form. That part is very confusing.
Can anyone please tell me how much time does it take for my submission to be
reviewed? Or what are the steps to publish a public Gmail Add-on...? The ones in the guide don't seem to work.

GAS: This application was created by another user, not by Google

I have made a script that is running as a 'Apps Script Gadget' in Google Sites. The script has access to my email and calender etc. because I need notifications if someone has used my script.
When I go to the site as "noname" user I get the message "This application was created by another user, not by Google. This application has access to the following personal information: email address." How do I get rid of this, the user is not interested if the script sends me a email or not.
Thank you for any advises.
Same thing happened to me; I commented out all references to the Session object but I still got the popup message.
When I removed the commented code entirely and re-published, everything worked fine. The message about access to the email info was gone.
I guess the google code holds onto an internal library reference even if there is commented code. Does not make much sense to me. But hope this helps.
If your script is not reliant on any of the users' information, I would suggest when deploying the web app to "Execute the app as" me. In the Publish > Deploy As Web App... pop-up, there's a dropdown for this.

Open spreadsheet fails in Time Book Application tutorial

This is based on the "Time Booking Application" tutorial.
I have created the site and the spreadsheet and the script in the site.
The site page I created fails to open the spreedsheet.
From the script editor in the site I can run the test methods testGetSheet(), testUpdateSheet() and testInsertTimeSheet(). I believe this indicates the SPREADSHEET_ID is correct. However the site page I created for this errors with "Sorry, the page (or document) you have requested does not exist."
I have tried to share the spreadsheet to be available to anyone with the link and edit ability.
I have tried to share the spreadsheet to public and edit ability.
I have tried this from a seperate unauthenticated browser and from an authenticated browser.
I still get the error.
I have run out of ideas, has anyone else an idea ?
I can provide the url to the page on site, but I doubt its of any use.
Yes answering my own question.
After much research and experiments.
The problem is with access to the script the tutorial does not say anything about permissions or anything.
Anyway solution is. Publish script as Web App use the URL to web app in the App Script Gadget. I have posted this feedback on the tutorial documenation allready.