When I try to print through the application, a message "This action will take you outside the app

Hello,

I have noticed an issue when using my web application via TestFlight on iOS devices. When I try to print through the application, a message "This action will take you outside the app, press OK to continue" appears. This message prevents the user from printing documents from the application. Steps to reproduce the issue:

Open my web application via TestFlight on an iOS device. Press the print button in the application. Expected behavior: It is expected that the user can print documents from the web application via TestFlight without any obstacles.

Actual behavior: When pressing the print button, a message "This action will take you outside the app, press OK to continue" appears, preventing printing.