How to Make the Alert Reappear After Allowing It When Opening Another App

I have a question regarding a feature in the app where it calls another app.

We have a feature in our app where a WKWebView opens another app via a custom URL scheme. Initially, the system displays an alert saying, "Do you want to open Target App from My App?". However, once the user allows this action, the alert is no longer shown, and the Target App opens directly on subsequent attempts.

The issue is that if the user no longer wants the app to redirect to the Target App, they cannot reset this preference or re-enable the alert.

Is there a way, from the user's perspective, to make the alert reappear when trying to open the Target App again?

You could create your own flag to show your own alert, but the system prompt response will be persisted.

You can file an enhancement request for the system to do this automatically as well.

How to Make the Alert Reappear After Allowing It When Opening Another App
 
 
Q