Hi,
I have created my own custom SiriKit Intent, and in the handler I am returning the response code of .continueInApp which opens my app in response. I've worked out that I want to open my app in the background, and .handleInApp seems to be the correct response code to do this.
However, .handleInApp is not an option in my intent's enum generated by Xcode. If I look at the auto-generated code, I see .continueInApp, and .success, etc, but no .handleInApp.
My Deployment Target is set to iOS 15.5 everywhere that I can find, so I really can't figure out why .handleInApp is not included in the auto-generated code. I've even tried creating a brand new workspace and project totally separate from my main one, and still creating a SiriKit Intent Definition does not generate code that includes .handleInApp.
Is there something I need to enable to make .handleInApp appear as an enum option?
.handleInApp
is only useful with specific intents. What do you expect to do with your app specifically in the background? Your intent extension is running as a background process, so you can perform work on behalf of your app in the background with this setup. You can also move your intent handling code to your main app entirely (eliminating the extension point) and handle the intent in the background that way, but before you do so, you should be clear on what work you expect to do in the background.