how to change conversation language of google assistant from webhook after the action is invoked - google-assistant-sdk

I am working on a app in google assistant using the action builder. My default language is English. Now I want to add another language to my app. I did all the settings related to second language. It works if I call from the other one. Now I want to provide a facility to user to change language while running the action. How to do that?
Please help.

The platform does not provide a mechanism to let you switch languages mid-conversation. If the user has both languages enabled on their Assistant, they will be able to initiate conversation in one of those languages.
The documentation provides more info on localization: https://developers.google.com/assistant/console/add-languages

Related

Opening iOS App from Custom URL in QRCode

I want to open my app from a URL from QRScan , which is common when your custom URL looks like this "myappname://productid". my problem is that I want my app to open from a Website type URL which is something like this "https://myappname.com/productid"
How can i achieve this ?
This can be achieve by using universal links. For simplicity and high level implementation I will recommend you to use Firebase's dynamic link product. It is very well documented and more over its free to use.
Before you began I think you might need apple developer account.
Steps
Create a project and an app on the firebase console.
From the left menu under the Grow section select dynamic links.
Create a domain as per your preferences e.g. https://yourapp.page.link
Now goto apple developer portal and edit your app id and enable associated domains for it.
Now open and select your xcode project under the project navigator section on the left side.
Then goto signing and capabilities section and click on add capability
Add the associated domains in you capabilities.
Then Add your created domain in it like this: applinks:yourapp.page.link
Make sure to add your team id and app id in the firebase console.
Now depending on your requirement you can create fixed dynamic link through firebase console or alternatively you can use their api to create links. in case your link is user specific or you want to add unique info in each link.
Now when someone click on the link depending on the platform the link behave accordingly as per the parameters provided during the link creation process.
These are just high level steps for detailed implementation and available options you can always refer to the dynamic link documentation

How to make my iOS APP share files directily to another APP like Workflow "Open in" action

Here is the Workflow Action. It seems that Workflow can send a file to another APP directily. Any ideas?
The normal way to send a file to another APP is using Share Extension, but Workflow APP could send it directily without showing the Action Sheet and selecting an APP.
If you set an action like this and run your workflow, it just open the selected APP and that APP got the file.
So I just want to know is there any way to make it happen? Or it just a secret API of iOS and Workflow just use it because of the purchase?
Your exact question needs to be stated more clearly (e.g. exactly WHAT you are trying to accomplish instead of just "integrate"). To get you started, some quick info:
At my last check, Workflow integrates with apps in a few main ways:
1) Via the iOS sharing/share-sheet interface.
2) Built-in support for the app within Workflow itself.
3) (of course, Workflow can also leverage Callback URI's of other apps to integrate with them like any other app can.)
If you want to have direct, built-in support from Workflow, the Workflow team itself must add the support into the Workflow app. This is easier for them (and others) if your app exposes a proper API with functions that allow direct integration.
Going into this further is too broad of a topic for a quick answer. I hope this helps some.

Siri Kit For Home Automation App?

after reading the apple doc on SiriKit, there are only 6 services where Siri SDK can be used. But i would like to know if there is any crack or way where i can use this in my home automation app, where the api request is sent to my server on my voice command.
Edited 2018
Is it possible now with the release of iOS 12, WWDC 2018 and the new updates in Siri, Siri Shortcuts.
Thanks in advance
As you have already pointed it out that there are currently only six categories which are supported by SiriKit. If you want to achieve something like Siri, you can give try to SpeechFramework introduced in iOS 10. That is not actually like SiriKit, but you can achieve your goal with some efforts and playing with the framework. Here is the very good tutorial for using SpeechFramework.
For the point of any crack or something, I would highly not recommend it as there may be chances of app disapproval from apple.
EDIT:
Please check the EDIT section in question.
You can kind-of do it with Siri Shortcuts, but it takes effort from the user.
There is no way for the you to create a special voice command. Only users can go into Settings > Siri Shortcuts and define a voice command to execute a shortcut you created from the Application.
Also, note that the voice command cannot have any parameters that are passed to the application. The voice command would have to execute a specific action that was defined by the application via the Shortcut. So, "Turn on light X," is a different shortcut than "Turn on light Y." The user would have to create two different voice commands.
As far as the shortcut goes, you can execute pretty much any code, so making an API call shouldn't be an issue.

Is it possible to create a link between 2 iOS apps?

I'm a semi-technical UX designer looking for a technical solution on a topic where none of our developers are fully informed, so bear with me.
Our organization has multiple iOS apps, each of which does somewhat different things. I'd like to create a link between two of these apps such that an interaction in one app will open the other app and take it to a specific state.
If these were web applications, we could easily do this via a simple link. Is such a thing possible in the iOS world? And if so, without getting deep into the weeds on the technical details, can you point me in the general direction of the technical approach we would want to take so I can have our developers start researching further?
You probably want to forward your developers onto Apple's documentation on "Inter-app communication":
And most likely you'll want to use an app url scheme:
A URL scheme lets you communicate with other apps through a protocol that you define. To communicate with an app that implements such a scheme, you must create an appropriately formatted URL and ask the system to open it. To implement support for a custom scheme, you must declare support for the scheme and handle incoming URLs that use the scheme.

How to integrate tapatalk in my app

I am working on an app in which I need to show product related forums listing using vBulletine and TAPATALK API like the existing website does.
how could I show it in app?
I googled it alot but couldn't find any solution.
First of all you need to register at tapatalk.com.
Then you can "build your own" Tapatalk application here, but it's only a customisation of the Tapatalk app. It's a "all-inclusive" app that you can customize. So basically you can't make your "100% own app" using this feature.
If you need to make your "100% own app", then you can read the API specifications here : Tapatalk API
Afaik, there is no binary / library, so you have to implement the API by your self.

Resources