Hi everyone,
I am trying to create a studio project, to have my app open with google assistant, if I can do it I would like to do the same thing with siri.
My goal is to say Ok google open discography, and therefore open my app
I created a very simple project with two views.
I created a rooter to go to the main and second view.
i modified my manifest.
I added an actions.xml, a shortcuts.xml and a strings.
If I try to open from the terminal the app with the command adb shell am start -a android.intent.action.VIEW -d “discography://open”
the app opens correctly
Then then
I connected the project to my firebase.
I verified that it works by adding a button that adds a string to the firebase database.
I then created a project within Actions Console, the project is attached to the firebase project so they have the same Project ID.
Within Actions Console I went into Develop and then Add Action which eventually takes me to dialogflow.
In dialogflow I created an Intents, with basic prases like “open my discography” or “open discography” or “open app discography”
I ran the tests
I also added a response (to make a test ) , enabled “Webhook call for this intent”
In the Hystory it shows me the tests
Pero then when I go to do the tests instead of opening my app it opens my search.
In the Dialogflow Hystory I don’t get the request from the phone.
I also added logs inside the main and rooter, but basically if I use OK GOOLGLE I never access the app
Obviously Google Assistent is active on my phone, and the app appears in the list of Google Assistant apps and the language is the same as Dialogflow.
I asked gemini and chatgpt and they point me to the same steps.
One of the two last thing also had me add an assetlinks file on firebase hosting and added this with permissions to my manifest, but nothing has changed.
I also changed the name of the app several times thinking that the assistent doesn’t understand it.
The only thing I have not mao changed is the namespace of the project which also appears in firebase.
Chatgpt asks me to check if it is the same in Dialogflow, but there in the settings I found only the project name is the project id which is the same as in firebase, where I have the correct namespace.
I honestly thought it was easier but after a week of testing and several projects from 0 I don’t understand what I am missing
Do you have any advice on what I am doing wrong or what I am forgetting.
I am working with Visual Code in the Android part of my Flutter project.
[GitHub - HydraRock/google_assistant](https://Github repository)
Thanks