I am working on a Progressive Web App (PWA) and I have a 'manifest.json' file. I am looking for a way to automatically set the manifest's 'start_url' as the current URL when users install the app. Is there a method to achieve this?
It is important to note that in my PWA, each user has a unique URL to their account. Therefore, when they install the PWA, the 'start_url' should be set to their current URL, such as https://example.com/user/id=abc1322112.
I have attempted to modify the manifest using script.js but without success.