I had developed gmail contaxtual gadget spec file and uploaded it on my HTTP server.
And configured "google apps marketplace sdk" on google developer console.
But my gadget is stll not showing in gmail inbox massage.
I might be some mistakes in gadget spec file.
I tried a lot but not getting any solution.
The googel developer doc is still showing old process of manifest file
which is not working right now.
Below is my gadget spec code.
<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs
author="Pragmatic techsoft"
author_email="pragtech.co.in"
height="200"
author_location="India">
<Require feature="dynamic-height"/>
<Require feature="google.contentmatch">
<Param name="extractors">
google.com:EmailBodyExtractor
google.com:SenderEmailExtractor
</Param>
</Require>
</ModulePrefs>
<Content type="html" view="card">
<![CDATA[
hello
]]>
</Content>
</Module>
So, can any one guide me for how to configure all fields in marketplace sdk and also writting gadget spec file.
Any suggestions are most welcome.
Thanks in advance.
To help you on the Marketplace SDK configuration part, you may want to check Configure the Google Apps Marketplace SDK. With this, use the Enabled APIs link in the API section of the [Google API Console] to see a list of all your enabled APIs. In the list, locate the Google Apps Marketplace SDK, then click on its configuration icon. You'll need to configure each of the following settings:
Application Info: enter the following details for your app:
a short description for the app
icons for each size
select "Allow individual install" if you wish to allow installation by individual end users
Support URLs: enter a URL for your app's terms of service, and optionally for the other URL types listed
Scopes: enter the OAuth2 scopes for the services your app will access
Extensions: these settings enable app extensions
Click Save changes when you are done.
Then, for the gadget spec file, you may want to also check writing the gadget spec. Please also note of the following when writing your gadget spec:
Gmail contextual gadgets are written using the gadgets.* API.
be sure you are using the security best practices described in Using the right frameworks for security.
And, it will really help if you read through Gmail Contextual Gadgets and noting on the right framework for security and limitations in using extractors to avoid encountering other issues.
Pay attention to below hints:
Add an app to chrome web store and link it to your Google project, which you describe contextual gadget, with project ID. After publish this app, add it to test Google Domain. Since your gadget is in development stage so, don’t publish your app to Public. There are different "Visibility options" that you can choose.
To disable cache use nogadgetcache=1 (e.g. https://mail.google.com/?nogadgetcache=1)
Login with admin account which you want to test it, otherwise take more time to update manifest.
After Modify “Google Apps Marketplace SDK” click on “Test Installation Flow” to be sure there is no new permission.
I did these part and works for me:
Define google.com:MessageIDExtractor as first extension, however you don’t need that.
I recommend that select every scopes which you want to use in other
extensions here! I don’t know why put it seems the google just ask
these permission for my gadget
Define Param extractor in gadget.xml separately not with comma:
<Require feature="google.contentmatch">
<Param name="extractors">
google.com:MessageIDExtractor
</Param>
<Param name="extractors">
google.com:SenderEmailExtractor
</Param>
</Require>
Related
I am currently using GoogleChromeLabs/svgomg-twa as a base for my project.
Is there a way to add AdMob interstitials or banner ads within the project?
It is possible to add AdMob to an App that uses Trusted Web Activity, but the ads can only be displayed in native activities - they can't be added to the Trusted Web Activity itself.
Web based ads libraries (eg: Google Adsense) will work as expected inside a Trusted Web Activty.
What I want to build:
I want to build a website where users can connect their google calendars (this will use Google Calendar API's)
and view their calendar events, as well as edit them, and create new ones.
My problem:
In order to do so, google says my app needs to be verified, which can take weeks, and I also need to set up terms of services pages, privacy policy pages
I also need to supply authorised javascript origins which MUST start with https, which of course is a problem during development, since my origin is http://localhost
I also need to set up support emails and homepage link
Question
I just want to start building my application without having to set up a whole production-ready website eco system.
Is there anyway I can use these Google Calendar APIs for editing/creating calendar events locally, without having to set up everything mentioned above first?
Unverified apps can still be used by the developer who created the project on google developer console.
Unverified app screen
The app or script might display an "unverified app" screen before it displays the consent screen. This is based on the specific scopes that your app includes in the request.
You can still work on your app while you are going though the verification process. However that being said i would start that process asap it can take a long time to get verified.
Yes, you can. As far as I am able to tell, all the verification step does is remove the "unverified app" screen. As long as you click Advanced > Go To ... (unsafe), you should be able to create and edit calendar events for that user in your application.
In order to be able to create and edit calendar events, you need to use the most sensitive scope, which is https://www.googleapis.com/auth/calendar. I couldn't figure out how to edit and create calendar events in my web app until I changed my scope from calendar.events to calendar.
Creating Events: https://developers.google.com/calendar/create-events
So here I am again, exploring new Google platform and hunting down information and docs.
I'm trying to build a skeleton of a flow before I write any business logic code with actual use of the APIs, and as expected from Google, this process is excruciatingly painful.
I've tried to follow this doc:
https://developers.google.com/gsuite/marketplace/listing
Packaged the zip, put the flag DOMAIN_INSTALLABLE flag as was instructed in order for the app to be installible from the marketplace. In the dashboard of PRICING & DISTRIBUTION I've selected Private and added testers to the list of testers.
Now when I click View in Chrome Web Store (seen in image) it takes me to the extensions web store, and not to the marketplace store.
How can I get to the GSuite Marketplace flow, rather than the extension flow? Do I need to alter my manifest.json in some way that is not mentioned in the docs?
Thanks
it's true that the publishing flow is too complicated now. We are working on improvements and in the future everything will be in one place.
Unfortunately G Suite Marketplace does not support trusted testers (yet), that's why it doesn't show up.
What you might be able to do, is modify the url a bit after you clicked on 'View in Chrome Web Store'.
Just remove everything after the webstore id
I use this url:
https://chrome.google.com/webstore/detail/xxxxxx
xxxx should be your webstore id
You should be able to show your unlisted app in the Gsuite Marketplace, where you can initiate the install flow.
It works for me, but my test app
I am integrating Google Apps Marketplace SDK for my application.
In the Extensions section i have selected "Universal navigation extension" and entered link like "http://spring-bok.com".
After published my application in GAM i am getting a reply mail from esupport#google.com saying that "No SSO integration as your application does not populate the Universal Navigation Link."
How do i activate UNL,Please help me out.
Set up a Google API project for your app before it can make any API calls, so this usually the first step in developing a MArketPlace app.
Select the services to use, go to Google Developers Console and enable the Google Apps MarketPlace SDK , and enable the APIs or SDKs for any other services that your app requires.The app can only access Google services if you enable them.
Check out the Official Google Documentation on how to set up our project: https://developers.google.com/apps-marketplace/preparing
I want to publish an app witch contains a WebView to my site only
and thats the whole app. Like Mobile Web app but comes from the stores.
Does app store or Play Store allow apps that have a WebView only to my site?
Yes, you can published an app which contains just a WebView of your own website. Please note that according to Google Play Developer Program Policies, it's not allowed to publish apps that provide a WebView of a website you don't own or administer:
Do not post an app where the primary functionality is to:
Provide a webview of a website not owned or administered by you (unless you have permission from the website owner/administrator to do so)
Reference: http://play.google.com/about/developer-content-policy.html
According to Apple's App Store Review Guidelines,
apps which are just web views are not allowed:
4.2 Minimum Functionality
Your app should include features, content, and UI that elevate it beyond a repackaged website. If your app is not particularly useful, unique, or “app-like,” it doesn’t belong on the App Store.
Reference: https://developer.apple.com/app-store/review/guidelines/#functionality
Yes You can but when you implement webview in your application few things must keep in mind
Webviews and Affiliate Spam
We don’t allow apps whose primary purpose is to drive affiliate traffic to a website or provide a webview of a website without permission from the website owner or administrator.
Here are some examples of common violations:
An app whose primary purpose is to drive referral traffic to a website to receive credit for user sign-ups or purchases on that website.
Apps whose primary purpose is to provide a webview of a website without permission:
Google play Developer Policy Center link