The requirement was to open a Lightning App page and pass some query parameters in the URL. These query parameters were then used to query data and display in a Lightning component present in the Lightning App.
Till Spring 19, it was working fine. This was the URL format:
force.com/lightning/n/Document_Upload?id=0015B00000fS9mzQAC&type=AccountDocument
where Document_Upload was the name of the Lightning App and 'id' and 'type' were the query parameters.
In Summer 19, the same URL format doesn't work.
In fact, any query parameter appended to a page is removed as the page loads.
So, this URL,
force.com/lightning/n/Document_Upload?id=0015B00000fS9mzQAC&type=AccountDocument
becomes
force.com/lightning/n/Document_Upload
How do I pass query parameters here?