We have a published app in the Teams App Store.
According to this and this articles we are implementing device permissions for our Tab/Task web apps, to prepare it for the next Teams update (February 01, 2022).
And we have an issue on the 'Check permissions from your app' step.
The example in the article says we should use HTML5 permissions API to check permissions:
navigator.permissions.query({ name: 'camera' });
navigator.permissions.query({ name: 'microphone' });
navigator.permissions.query({ name: 'geolocation' });
navigator.permissions.query({ name: 'notifications' });
navigator.permissions.query({ name: 'midi', sysex: true });
But the problem is that this API only works in Web/Desktop apps and not on mobile.
On Mobile devices we see this error:
It seems like there is no way to check permissions without causing a prompt if we can't use HTML5 permissions API. Teams API doesn't give us such functionality as well.
Is this expected or can this be considered as a bug ?
Any help would be appreciated.
The app versions are:
Android: 1416/1.0.0.2021183702/1117
IOS: 3.20.77.2021202701/1121 (general)
Developer preview is turned on on both mobile devices.
Related
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 have to implement single use application for my Enterprise's devices where there is only one major android app that itself can use 2-3 other apps like call, sms and google maps, other than that user must not be able to use or access other apps and settings,
1) I have considered Corporate owned Single use through Enterprise Management Api which is more sophisticated and big, but more complete solution.
2) I have implemented and tested the sample
Lock task with an android device owner app
that looks more like being my solution, but there is a problem
How do i provision device owner for production level devices? for my test i was able to provision with adb shell commmand. i know that device must be new/Reset and unprovisioned thats not a problem.
I am seeking some suggestion here, if anybody has implemented it it could help.
Update
going with the android management Api QuickStartGuide, suggested by Fred seems like correct way.
where my policy is Multiple app from custom launcher
now i am stuck in a situation, i want to publish my launcher app or other app to play store only for my enterprise.
I have followed Upload your own app to the Google Play Store,which led me to publish private app, but i am not able to do so as i am not getting Restrict Distribution option.
I don't know how to perfectly achieve this.
for my current policy and enterprise, i have 2 active email ids,
first email_1 is the one which is connected to the initial project
and
all the google api call is done under email_1 .
and the other is email_2 the one is admin for the enterprise
and connected to managed Google Play Store.
both email_1 and email_2 has admin access to my company developer account
.
Now i need to figure out to publish app only for my enterprise, i think there is a issue with correct permission or otherwise,
need Help.
Thanks
It's easy, once you understand the missing links.
The documentation should definitely clarify these steps.
1 Setup the accounts
We created a Google Suite Account for our client and uploaded his app in the Google Play Console account created using a Google Account under their organization, and limited the app distribution to their organization.
We also added Android for Work to our organization here: https://admin.google.com/AdminHome?pli=1&fral=1#SelectServices
And added a role to our organization to manage Google Play Private Uploads:
https://admin.google.com/AdminHome#DomainSettings/notab=1&role=new-role&subtab=roles
2 Find the organization ID
This is the key part. You should find your organization ID here: https://play.google.com/work/adminsettings
3 Enroll the organization
When following the steps for the Android Management API, you need to enroll the organization ID found in your Google For Work account.
Follow the step detailed here using your enterpriseID:
enterprises/{enterpriseId}/enrollmentTokens/{enrollmentTokenId}
4 Add your app
Add your app using its PackageName in a ApplicationPolicy. Your devices will now be able to find it and install it.
You no longer need to implement a Device Policy Controller to manage Android devices, Google has recently released the Android Management API which allows you to set up a COSU device with just a few Cloud API calls.
If you have one main app and want to allow to open a few other apps, you can set the main app as a custom launcher and mark the other apps as lockTaskAllowed. You can simply do so by defining an ApplicationPolicy such as the one below (copied from Create a policy):
"applications": [
{
"packageName": "com.example.custom_launcher",
"installType": "FORCE_INSTALLED",
"lockTaskAllowed": true,
"defaultPermissionPolicy": "GRANT",
},
{
"packageName": "com.example.app1",
"installType": "FORCE_INSTALLED",
"lockTaskAllowed": true,
"defaultPermissionPolicy": "GRANT",
}
],
"persistentPreferredActivities": [
{
"receiverActivity": "com.example.custom_launcher",
"actions": [
"android.intent.action.MAIN"
],
"categories": [
"android.intent.category.HOME",
"android.intent.category.DEFAULT"
]
}
]
Google provides a good feature list here:
https://developers.google.com/android/work/requirements/features
If your devices have NFC, I would provision using NFC. You can look at the code here for your own implementation or you might be able to use the app with very few modifications.
https://github.com/googlesamples/android-NfcProvisioning
By tapping the welcome screen in the Google Setup Wizard 6 times will allow you to use QR code provisioning. It is a bit more cumbersome in my opinion and requires Android 7.0+.
Those are your only two options unless you become a Google EMM Partner or again, partner with them to support Zero Touch Enrollment on Android 8.0+ devices for your own homebaked solution.
You might want to also look at existing open source EMM/MDM implementations that already exist such as WSO2.
Google play remove my account from play store. I have 20 app. Admob still generate ads revenue because that app was publish in other unknown market and i have no rights to remove that. And I continuously got mail from admob that violating our police.
I got mail is:
Hello,
This email is to alert you that one of your applications is not currently in compliance with our AdMob program policies and as a result, ad serving has been disabled to your application.
Issue ID#: *******
Ad serving has been disabled to: Video Player (com.***.*******)
Action required: Check all other remaining applications in your account for compliance.
Current account status: Active
Violation explanation
GOOGLE PLAY REMOVAL: AdMob publishers are not permitted to abuse or promote the abuse of any Google product, such as Google Play, YouTube, or Blogger. This includes circumventing, or providing the means to circumvent, the policies or terms of these or other Google products, such as by allowing users to download YouTube videos.
If your app is removed by Google Play policy enforcement, please contact Google Play about an app removal here. If Google Play reinstates your app, please submit an appeal to our team.
Action required: Check account for compliance
While ad serving has been disabled to the above app, your AdMob account remains active. We suggest that you take the time to review the rest of your applications to ensure that they’re in compliance with our policies, and to monitor your apps accordingly to reduce the likelihood of future policy emails from us. Additionally, please note that our team reserves the right to disable accounts at any time if we continue to see violations occurring.
Appeals
If you wish to appeal this disabling then you can do so by using our appeal form.
Thank you for your cooperation.
Sincerely,
The Google AdMob Team
How to can i remove that app ads unit id from Admob?
And How to stop this thing because its admob warning that may disable my admob account?
Any suggestion ??
You can't. You need to remove it from the app and republish the app in the other market.
At the Admob console, select the app with the ads.
check the ad you want to disable, then click < Archive >
this will give you the prompt below.
this will disable your Ads with that Ad unit ID (I hope you didn't use the same ID for all 20 of your apps).
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
I am integrating google app marketplace SDK to my web app and publishing it to chrome web store as specified here
I have published the app to restricted users (domain users only) to test the workflow.
The app is published to the domain users but when I access it and click to install, it adds as a chrome extension but I cannot access it as a Google Marketplace app.
For marketplace integration, I have created a project under Google APIs Console and enabled Google Apps Marketplace SDK. If I click the "Test Install Flow" button
the app is successfully installed as a marketplace app which I can access from universal app navigator of my domain email.
Question
Is this the best way I can test whether the app installs as a marketplace application for restricted users? Can I not see it added by directly installing it from the published url?
I have gone through a few links which mention that it is now not easy to submit app to marketplace unless you use atleast one of the Google Services APIs and get through the Google Apps Marketplace Listing Review Request.
Can not post Google Apps Marketplace Listing Review Request for API Project
How to create listing on google apps marketplace?
If I do not intend to use any of the Google Services APIs, and just use Google App MarketPlace SDK, will I not be able to get the app listed in marketplace?
Any help is much appreciated!
Assuming you have added both "DOMAIN_INSTALLABLE" and "GOOGLE_DRIVE" in your mainfest.json file. Try adding "app" section to the manifest. See https://developers.google.com/chrome/apps/docs/developers_guide