I am working on setting up email apps for my enterprise in the EMM work profile created through Android management API. I was able to setup the Gmail app using the managed config details in https://support.google.com/work/android/answer/7065453?hl=en.
But I am not able to find such documentations for the Boxer mail or the Outlook app. The gmail app and calendar has been unreliable with some sync issues, so would appreciate some guidance in Boxer mail or Outlook setup through managed configurations.
Not all applications support or document managed configuration. It’s up to the app developer to implement and document it.
You can try checking the managed configuration schema for an app using the enterprise.application.get method. It returns a json with the managed properties that the app supports..
For example:
"managedProperties": [
{
"key": "com.microsoft.outlook.EmailProfile.EmailAddress",
"type": "STRING",
"title": "email address"
},
{
"key": "com.microsoft.outlook.EmailProfile.EmailAccountName",
"type": "STRING",
"title": "description for account"
},
{
"key": "com.microsoft.outlook.EmailProfile.ServerHostName",
"type": "STRING",
"title": "exchange server url"
}]
Additionally, upon checking the Boxer Mail (com.boxer.email), it doesn’t seem to support any managed configuration.
Related
I have a question about the Google "Android Management API".
https://developers.google.com/android/management/reference/rest/v1/enterprises
What we have today :
We have one enterprise per environment (preprod, prod) to manage our devices.
PREPROD : LC02htlxxx
PROD : LC00izayyy
With these enterprises, we can perform these actions :
enroll a device ;
send policies to the enrolled devices ;
send commands (reboot kiosks for example)
Each enterprise is linked to a GCP project and a pub/sub topic.
With this pub/sub topic, we can receive the enrollments and report events.
When I perform a GET https://androidmanagement.googleapis.com/v1/enterprises/LC02htlxxx
The result is :
{
"name": "enterprises/LC02htlxxx",
"enabledNotificationTypes": [
"ENROLLMENT",
"STATUS_REPORT",
"COMMAND"
],
"pubsubTopic": "projects/mobile-retail-xxxx/topics/admin-android-test",
"contactInfo": {
"dataProtectionOfficerName": "",
"dataProtectionOfficerEmail": "",
"dataProtectionOfficerPhone": "",
"euRepresentativeName": "",
"euRepresentativeEmail": "",
"euRepresentativePhone": ""
}
}
What we want to do :
We would like to change both the GCP project and the pub/sub topic used to receive the notifications for the enterprise.
Indeed, we are currently switching of GCP project for technical migration matter.
So we would like
enterprise enterprises/LC02htlxxx with projects/mobile-retail-xxxx/topics/admin-android-test
to become
enterprise enterprises/LC02htlxxx with projects/kdm-mdm-staging-yyyy/topics/admin-android-test
What we tried to do :
We tried to perform a PATCH https://androidmanagement.googleapis.com/v1/enterprises/LC02htlxxx
with this body :
{
"name": "enterprises/LC02htlxxx",
"enabledNotificationTypes": [
"ENROLLMENT",
"STATUS_REPORT",
"COMMAND"
],
"pubsubTopic": "projects/kdm-mdm-staging-yyyy/topics/admin-android-test",
"contactInfo": {
"dataProtectionOfficerName": "",
"dataProtectionOfficerEmail": "",
"dataProtectionOfficerPhone": "",
"euRepresentativeName": "",
"euRepresentativeEmail": "",
"euRepresentativePhone": ""
}
}
And the answer is :
{
"error": {
"code": 400,
"message": "Invalid pub/sub topic projects/kdm-mdm-staging-yyyy/topics/admin-android-test. Choose a topic from the mobile-retail-xxxx Google Cloud Platform project.",
"status": "INVALID_ARGUMENT"
}
}
Finally, our questions :
Is it possible to change the GCP PROJECT for an Enterprise ?
(it looks like the enterprise is linked to only a GCP project on its creation (???) I cannot change it)
If it is possible, how can we do it ? We tried without any success with the given APIs :
https://developers.google.com/android/management/reference/rest/v1/enterprises
If it is not possible, how can I transfer all our enrollments to a new enterprise without any user action ?
(if we cannot change the GCP project of our enterprise, we will have to transfer all the enrollments and all applications links on out playstore)
I have create account in clover and using that account i have found the merchantId and created api token for that using these i have created the customer for that merchant.
I have created the customer in clover and using merchantId and API token.Now i want to login with that created customer but i could not find the api for login in clover.can anyone tell me whether the api available for login with customer in clover?
I have referred this link list of clover apis https://www.clover.com/api_docs#!/customers
I created the customer using this api https://www.clover.com/api_docs#!/customers/CreateCustomer
Api url for create customer : https://api.clover.com/v3/merchants/024SK6Q06NKP0/customers
request parameter :
{
"firstName": "Test",
"lastName": "test Last Name",
"phoneNumber": "2135124541",
"emailAddress": "test#gmail.com",
"zip": "123123",
"country": "In",
"city": "Pune",
"address1": "Vimannagar",
"state": "Maharashtra"
}
It would be great if anyone have idea about this.Thanks in advance.
I have integrated Paypal in my android app, user can pay by either Paypal or card.
Card Payment is working correctly but when paying through Paypal returns status "created" instead of "approved".
Below is response from Paypal -
{
"client": {
"environment": "sandbox",
"paypal_sdk_version": "x.xx.x",
"platform": "Android",
"product_name": "PayPal-Android-SDK"
},
"response": {
"create_time": "2016-05-23T10:51:47Z",
"id": "PAY-XXXXXXXXXXXXXXXXXXXXXXXX",
"intent": "sale",
"state": "created"
},
"response_type": "payment"
}
Why it is not returning status to approved.
What is wrong in my code.
TIA
For Sandbox environment, You need to use a credit card that is registered under the sandbox personal account. Check the "Profile" of the PayPal sandbox personal account and go to the "Funding" tab for the test credit card. This will give you a "approved" result instead of "created".
The problem is you are created the Merchant account as Business account in your sandbox, but we need to create Business-Pro account in sandbox.
I got solved the issue by created like that.
I am working with google OAuth API to get user info using this url
With the scopes
https://www.googleapis.com/auth/userinfo.profile
https://www.googleapis.com/auth/userinfo.email
I got the following response
{ "id": "123456788", "name": "Joe Shmoe",
"given_name": "Joe", "family_name": "Shmoe",
"link": "https://plus.google.com/1234567788",
"picture": "https://IMAGE_URL/photo.jpg",
"gender": "male", "birthday": "0000-03-10", "locale": "en-GB"}
I am looking for email but it is not available in response.
It's because google proifle API answer with extended information only to those circles which you allow to see it in you personal info visibility settings.
For instance, if you allow to your friends circle to see your mobile and private email -- they can see it (but only peoples and apps added into those circle).
By default all apps are guests (public).
I have just started developing an app for Android and iPhone with trigger.io and parse.com. Now I'm stuck trying to add push notifications to the app. I send test pushes from the control panel at parse.com but nothing happens on the Android phone I'm testing with.
Here's what I've done:
Added the partners/parse section in config.json with applicationId and clientKey from the settings at parse.com
Added "event": true to the modules section in config.json
My config.json looks like this:
{
"config_version": "2",
"name": "My test app",
"author": "(my email)",
"version": "0.1",
"platform_version": "v1.4",
"description": "An empty app created by default",
"modules": {
"logging": {
"level": "DEBUG"
},
"event": true,
"geolocation": true,
"contact": true,
"file": true,
"is": true,
"media": true,
"notification": true,
"prefs": true,
"request": {
"permissions": ["http://*/*", "https://*/*"]
},
"tools": true,
"reload": true
},
"partners": {
"parse": {
"applicationId": "(my real app id)",
"clientKey": "(my real client key)"
}
}
}
Added the following code to listen for incoming pushes:
forge.logging.info('Adding push listener');
forge.event.messagePushed.addListener(function (msg) {
forge.logging.info('Got push: ');
forge.logging.info(JSON.stringify(msg));
}, function(err) {
forge.logging.error('There was an error receiving push!');
forge.logging.error(err);
});
To test the app I connect my Android phone by USB cable to my Mac and choose "Run android" in Trigger toolkit in the browser
In the log I see the messages "Initializing Parse and subscribing to default channel" and "Adding push listener"
I go to parse.com Push notifications and see that there is one connected device. I test to send several messages, some in "Message" mode, some in JSON mode.
Parse thinks that the messages get sent but nothing is logged on my side
I also tested connecting another Android phone. Parse then indicated that there were two reachable phones, but the new phone didn't get any messages either.
Looking at the documentation and examples I can't think of anything else to try. I cannot decide if this is a trigger.io problem or a parse.com problem.
Does anyone have any ideas?
Is this a problem just when you're using the default broadcast - rather than a named - channel?
We have a fix for a problem with the broadcast channel on Android ready to be deployed tomorrow or early next week - it will be in platform version v1.4.27.