Nest Device Room(id or displayName) does not get updated in SDM api - nest-device-access

I add a device for the first time in Nest app, and I set the 'where' parameter e.g. Backyard, and complete the device add flow.
Now, in my own app, when I hit SDM api to get list of devices, it gives me a parentRelation object in there which tells where my device is assigned.
parentRelation: { parent: 'enterprises/eid/structures/sid/rooms/rid, displayName: Backyard}
But when I update the 'where' parameter inside the Nest app, under device settings to 'Family Room' for example.
This change would not appear in the SDM api. It would still give me the first configuration data when I added the device.
Can anyone help me with this?

Related

How can I print my mock data on the screen?

I want to write a test on my homepage.
First of all, I created a function called setup and got my provider and routes here.
Then I enter the value in my input and wait for my mock data on the screen, but no product is printed on the screen.
home/index.test.tsx
home/index.tsx
It gives an error because there is no product on the screen, so it says I couldn't find it.
I mocked my api these tests are passing screenshot of my code

how to retrieve in app message custom payload data in android?

However, I see an option to set custom data in the console under the following path:
In-App Messaging -> Compose Campaign -> Additional Options
So I have set the key-value pairs as shown below:
Did you try on the real campaign?
Maybe it is a bug on iOS, but when you test in-app message via "Test on device" button fields like inAppMessage.campaignInfo.campaignName, inAppMessage.appData are empty.
On the real campaign, it works fine.

How to find which TVs are currently using my app?

I am developing an app for Android TV is it possible to know, on which TV my app is running or what action is performed on it?
Thank you.
To review your app's supported devices:
Sign in to your Play Console.
Select an app.
On the left menu, click
Release management > Device catalog. If you haven't already, review
and accept the Terms of Service.
Select the All, Supported, or
Excluded tabs. If you want to download a list of devices as a CSV
file, near the right side of the page, click Download device list.
For more infos:
https://support.google.com/googleplay/android-developer/answer/7353455
To track action performed on your app, you can use Fabric's Answers plug in.
Here is a sample code you'll need to add in your code to track events in Answers:
public void onKeyMetric() {
// TODO: Use your own string attributes to track common values over time
// TODO: Use your own number attributes to track median value over time
Answers.getInstance().logCustom(new CustomEvent("Video Played")
.putCustomAttribute("Category", "Comedy")
.putCustomAttribute("Length", 350));
}
For more infos:
https://fabric.io/kits/android/answers

HERE API demo vs actual

Our exact same endpoint demo query request using Freemium plan is different than the HERE API demo api endpoint results. As you can see, we do not have Address or contacts. I'm not sure why the results vary on same exact query and endpoint. Any ideas?
We have expanded the initial search/explore response based for the Demo App ID in order to enable users do some testing, but it is not turned on for the Freemium App ID. If you need specific details (like address and contact) then you can use places/lookup api like shown below (you search with source: sharing, id: id for the place you can get this from your above query).
We do this because we expect the end-user to select an item to get additional information. When selected, we receive that request, and it is a signal to us that the result is relevant and important to the query.
https://places.demo.api.here.com/places/v1/places/124aabd1-0aef738f80350f8bebb5ed7539bd19a8;context=Zmxvdy1pZD1lNjIyNjczZS0xNDRmLTViMzctYjY3Mi1hNWQ5MmRkNWU4NzRfMTU0MTc4NDk3MzYzOV8wXzU1NDcmc2l6ZT01JlgtRldELUFQUC1JRD1LTnZIaDlhZ0E2WGxKbElDRWhOZiZYLU5MUC1UZXN0aW5nPTE?app_id=xxx&app_code=xxx

How to display the output that Microsoft Graph API returns

In running the graph API that is given as sample: https://graph.microsoft.com/v1.0/me/, it returns an output in the screen
What info is it returning and how can I use it in a user interface....
The easiest way to see what info is returned and try out different calls is to use the Graph Explorer at https://graph.microsoft.io/en-us/graph-explorer.
Otherwise, check the documentation at https://graph.microsoft.io/en-us/docs.
That API endpoint (https://graph.microsoft.com/v1.0/me/) return the user profile.
Here is the detail: https://graph.microsoft.io/en-us/docs/api-reference/v1.0/api/user_get
You can use the information however you wish on your client (e.g., display list of current licenses, display user information for confirmation and updates, etc.). Other user-related methods are here: https://graph.microsoft.io/en-us/docs/api-reference/v1.0/resources/user

Resources