new version of Simulator does not match assistant app on devices - actions-on-google

Has anyone noticed that the Simulator in the Actions on Google Console has been updated and it no longer is an accurate simulation of the assistant app on devices?
They added a display tab but it seems to not show all the output. My application often includes 2 chat bubbles in one response and the new simulator only displays one even though the tts for both is heard in the audio.

I have the same problem. Hope they don't remove the ability to add to responses. It would look terrible with only one line.

Related

selectChannel command is not working on the Google Assistant

I'm trying to add a select channel trait.
what I did was that I followed the docs,
1- Add the ATTRIBUTES to the device I want to apply this feature on, for example, a TV device type
2- I guess we are all done as every other command works with my code
What I actually did was the following to the device database in Firestore
then added the
case "action.devices.commands.selectChannel":
in the
switch (execution.command) {}
code
then reloaded the device from the google home app
then when I try to call
"Change to ABC on my TV"
it says
'Sorry, I don't understand.'
and nothing appears on the logs
otherwise, everything is working perfectly,i.e setting the volume and On/Off.
what am I doing wrong, please?
UPDATE:
Today I tried command "action.devices.commands.returnChannel" and "action.devices.commands.relativeChannel" and they are working fine
and all three commands belongs to the same trait!
I've seen a lot of users complaining about this command on many sites
like the following 1,2,
could this be related,
I'm still in debug mode, would it be fixed when I publish my app
UPDATE #2
I tried it today with an android phone and it works fine with selectChannel command,
previously I was testing with an iPhone with google home and google assistant apps on their latest release, and the selectChannel is the only command that didn't work there.
Hope it's just related to the debugging mode
It is usually unexpected to have a trait / feature working on the Google Home App on Android but not on the iOS version, as their functionality is nearly identical. The accuracy on the speech to text conversion on both platforms might be different, which could be affecting the functionality. You can try out typing your request to see if that helps in any way.

iPhone's Safari: why geolocation prompt appears twice?

Consider the following iPhone scenario:
Select Settings->General->Reset->Reset Location & Privacy (just to ensure all warnings are cleared as a preparation to this test)
Open Safari and point to http://maps.google.com
Select OK when ["Safari" would like to use your current location] message appears.
Select OK again when ["https://maps.google.com" would like to use your current location] message appears right after.
So far so good. Now scroll up so you can see the URL box of Safari, and select the reload button (the rounded arrow next to the URL). This will resubmit the form and will cause the message on step 4 to appear again! (at least on my iOS 6, iPhone 5 device)
Any idea why message appears again after I already confirmed "https://maps.google.com" to use my current location? Is this a known issue?
I encountered this issue in my iPhone based app using UIWebView so I decided to check the same scenario using the built-in Safari app. I was very surprised to find out that this happens with Safari app as well...
Any help will be most appreciated.
I believe it's because of 2 different types of geo location firing. First you have the native w3c with the safari request and then the Phonegap call from within the browser. I'm having the same issue.
My problem is that he geolocation in google maps will only once after resetting the location and privacy settings. Figured out that google has set some restrictions in the fine print. Exploring some open source mappi g options right now (Openstreetmap) which will accept my google kml files.

iPhone: Display iAd issue

I am successfully iAd integration in my app using http://bees4honey.com/blog/tutorial/how-to-add-iad-banner-in-iphoneipad-app/ but iAd is not display in my app for testing purpose and yesterday its display but today its not display.
I am tested iAd demo on iOS 4.2.1 and 5.0 but still same problem not display on device so please give me idea about issue.
As far as I understand with iAd and the Google Ad words for Android is that it is possible that sometimes no add will be loaded, that's why the apple documentation on it states that the banner needs to be hidden when you receive no add from there server.
So what I think is happening, if you didn't change anything from Yesterday is that there was no add send because there was none to display. Remember the advertisers pay per click or per impression and the advertiser decides how much he is willing to pay and sets a budget limit,. Also the context in which the add is displayed also goes into the algorithm for deciding when an add needs to be displayed to keep it relevant to what the end user is currently viewing, that way the user has a higher chance of actually clicking on the link.

iOS Hiding Elements on Screenshot

I've extensively searched the web, and everything I've found suggests that I can use 'applicationDidEnterBackground' to detect that a screenshot is about to be taken, hide the relevant controls, and then show them again in 'applicationWillEnterForeground'.
Circumvent screenshot for iOS 4
Unfortunately, I can't seem to get this message to be sent to my app when I take a screenshot on the device. I've even created a brand new template app, and tried that, and they are still not sent.
The only thing I can think of is that I'm running iOS 5.0.1 on my device, and all of the web pages I've found have referred to iOS 4.
Can anyone verify they have it working on iOS 5, and if so, what do I need to do to get it working in my app?
Please help.
The srceenshot talked about in the thread you mentioned is the one used when app is send to the background when the user presses the home button.
It is the screen that the user will see when you start the app when it is already running.
You arre talking about the screenshot when the user is pressing the home and power button are pressed at the same time.
The screenshot with this methods (home + power button) can't be detected by my knowledge.

iPhone:How to get real ads showing in iAds banner in iPhone application?

I have integrated iAds in my iOS 4.0 application developed using the following tutorial:
http://www.raywenderlich.com/1371/how-to-integrate-iad-into-your-iphone-app
Currently it is showing only Test Banner page. I would like to know how would i get real Ads showing there and what is the procedure to get it. I couldn't find any help on this. Could someone please point me out ?
Thank you.
It will automatically be filled with read ads once it is released on App Store.
Apple recognize each of your app by the bundle id, hence unlike other ad networks (such as admob), it does not need you to create other stuff.
Similarly, Apple recognize the distribution build and will serve real ads.
The test banner is just to show that you have incorporated the iAd framework correctly into your application. The "real" ads will work automagically when you submit your app to Apple.
I thought you had to do ALL of these:
Make sure your app shows "test ads" while you are developing it.
Make sure you visit iTunesConnect-iAds and turn on iAds.
After your app is 'live for sale' then 'real ads' will start showing.
So far, no one here ever mentioned #2. (Or am I only having to do #2 myself?) I've never seen #2 as "automatic" as soon as #3 happens.
Also... even after doing 1,2,3... I have 1 very odd app that is "live for sale" and iAdsConnect is STILL claiming it's only showing 100s of no-revenue, test-ads. Isn't that impossible? Shouldn't it be displaying "real ads" or "no ads" instead?