The solution is the following: 1- go to the shortcuts app. 2- Then go to the section that displays your app shortcuts. 3- then press on the arrow besides your app name. 4- you will be navigated to a new screen in it press on the "i" button. 5- you will have a view like the following:
then you should turn Siri on.