I have made a web application app through PHP. It is in testing mode right now. Please guide me how we can publish the app successfully in google developer console site.
P.S - I need to publish the app as my token gets expire after few days and I didn't want it to expire for a longer period of time.
Go to google developer console for your project
On the consent screen first page Click the button that says publish app.
Related
I have a very simple GAS project.
function doGet(e) {
//User Database
var username = Session.getActiveUser().getEmail(); //Authenticate using current User Email
var page = HtmlService.createTemplateFromFile("menu");
page.userName = username;
return page.evaluate().setSandboxMode(HtmlService.SandboxMode.IFRAME).setXFrameOptionsMode(HtmlService.XFrameOptionsMode.ALLOWALL);;
}
This script is owned by x#y.com (GSuite Account on Business domain)
It is published on a New Google Sites page, by embedding the published web app link. (/exec)
The Google Sites site is shared to n#z.com (different user on different GSuite Business domain)
When you open the Google Sites page, in an incognito window in chrome, logged in as x#y.com, the script displays fine.
If you open the Google Sites page, in a new incognito window in chrome, logged in as n#z.com, you can see the page as served by google sites, but the app itself is replaced by the "You Need Access" splash page from google.
If you open the published web app link while logged in as n#z.com, you get the "Review Permissions" splash page, and then the app works fine.
Opening Google sites at this point, the app is still displaying "You Need Access"
What am I doing wrong here to enable authorised access to the app on the google site?
I believe there is a bug in the implementation of permissions in the STABLE version of the runtime. With the pictured permissions in the question, the app acts as though you need to share the script itself to the user in the other domain.
This still does not enable access.
The solution is to enable V8 Runtime, republish the app and immediately the app works as expected.
I created a google sheets addon that pulls some information from gmail and displays it in a specific format on a worksheet. This addon is to be used only by my account so I've set it as unlisted in the webstore. I've published this addon to google and paid my $5. It looks like everything got accepted just fine and when I see the definition of the addon on the store it says: Published / GAM: Pending under Status.
Initially, when I clicked on the Addon's Name in the Developer Dashboard I was able to see what the Addon would look like in the store and there was a link to install the addon for free. When I would click this link I would get taken to an empty google sheet and then after a few seconds I would get a pop-up that would say "Add-on not found. Try again, or check back later." I did as suggested and tried several times later with no luck. Then after a while when I now visit the chrome developer dashboard and I click the addon's Name I get taken to the G-Suite Market place page not the addon's page. I tried replushing the addon but still got the same results.
Does it take hours for google to process unlisted addons? Is there something that I a missing? I read something about google store migrating to G suite market place, is this part of the problem?
When the Add-ons menu is choosen in a Google spreadsheet, and the "Get add-ons" menu item is clicked, the GSuite Marketplace now opens by default.
The changes that you have experienced are because of the migration of add-ons from the Chrome Web Store to the GSuite Marketplace.
It is still possible to navigate to your listing in the Chrome Web Store, but you can't do that through the old Chrome Web Store developer dashboard. You need to go to the new Developer Dashboard. The problem is, that even though you can see the unlisted add-on listing in the Chrome Web Store, it can't be installed.
New Chrome Web Store Developer Dashboard
In the status column you will see a Published-Unlisted status for your add-on.
If you don't use the new Chrome Web Store developer dashboard, then you may not be able to find your listing at all for add-on published as unlisted.
Using this example here works well for me to add Google authentication to my UWP app (more specifically, to my UWP project in a Xamarin Forms app). However, after authenticating and automatically going back to the app via the redirect URL, the browser tab that was opened for the google log-in remains opened (it gets navigated to google.com and doesn't close after switching back to the app). Anyone know how to close it (just that tab, of course) automatically?
We have a project built in react thats using service worker and manifest for Pwa functions. We use google and facebook to login to the app.
Problem: When running it in Chrome browser (not fullframe) and login to the with eg. google its no problem. When i save it to homescreen and use it in standalone mode (pwa) and hit the our login btn ,google login window opens and i pic an account to login whith. After that the pwa restarts with the splashscreen and im back to where im started Not logged in. Please help
As discussed in this documentation,
When you launch your web app from the home screen a number of things happen behind the scenes:
Chrome launches.
The renderer that displays the page starts up.
Your site loads from the network (or from cache if it has a service
worker).
If you haven't done so, you may want to check Introduction to Service Worker for more information.
With this, you may want to try let the user automatically sign back in to avoid this logging redirect problem.
Additional code reference, see this SO post.
The web application has been running fine with no pushes to live site for three weeks and is suddenly not working. There are no error messages.
The /exec live site is not working.
The /dev site was working but as soon as I saved a change to it, it stopped working.
A national team relies on this application daily.
What are my options for troubleshooting?
Is there a place to view status for this service?
The app is provided through Google Apps for business.
(Edit: For context, as a developer I don't have access to support for Google Apps (but the IT department do and aren't open for a few hours), hence this query to see what others had done to troubleshoot in a similar situation)