ContinueInApp not available for insendmessageintent

Is there any posiblity to open app from handle method of insendmessageintent.



"UIApplication.shared.open(url, options: [:], completionHandler: nil)" -> This is not working, as not able to access UiApplcation.Shared from extension.



Please help.

Replies

The response code you return in INSendMessageIntentHandeling needs to be one of the values in the INSendMessageIntentResponseCode enumeration. `continueInApp` is not a valid response code in this scenario. If you have a failure scenario that requires an app launch, such as requiring authentication, you should use the corresponding failure response code for that need; otherwise, you should fully handle the intent in your intent extension.

Is there any posiblitiy to open app from SIRI extension.


If not, please confirm it.

Under what scenarios do you need to launch the app? You are expected to send the message in the intent extension except in exceptional circumstances, such as needing an account or needing to log in.