Help: Appending Query Parameters

Hi everyone!
To begin with, I, as a high school student, just wanted to help my peers by creating a platform where they can share class notes, photos, etc.
So my website lets people download files and photos that other people send.

I converted my website to a mobile app but on iOS when you click on a file, you can’t download nor exit from the file. You just get stuck at the page and you need to exit the app completely, because there is no button.
I talked with the people that converted my website to an app and they told me this:

You need to append “wtn-download-file=true” in query parameter.

1 download File
2 or
3 window.location.href = “download-url?wtn-download-file=true”;

but the problem is that I have no idea about coding and although I did a lot of research, I couldn’t do it as I don’t even know about initializers. Can someone help?

Hello. On your page with the download button, how are you setting the url in the button now?

I didn’t set any url. All I did was set up the Wix’s forum template to the website. When you you click on the uploaded files, a new tab is opened and the file gets automatically downloaded.

I would talk to the company that created your mobile app and have them append the query parameter in the url in their code. Either that or those links should open the site in the users native web browser.

In this particular case you will not be able to add the query parameters to the url without a large amount of work to make the solution custom.