I have built a web application for a client in PHP. And I implemented a PWA (Progressive Web App)
app for this web app, which is working quite well.
But recently my client asked me to add window tabs for this PWA application. But the problem is i already finished this job, and i do not want to re-build my architecture from scratch.
I would like it so that (if possible) when the user clicks a link, the page opens in the same app as it is right now, but in a new tab.
When i add target="_blank"
to my links, like so:
<li class="nav-item">
<a target="_blank" class="nav-link raporlarSol" href="/app/bankadurumlari"><i class="material-icons">euro_symbol</i>
<span>Banka Durumları</span>
</a>
</li>
the page opens outside PWA window in a new android browser. Which is not a behaviour he accepts.
I have searched the web, but i haven't been able to find a proper answer. There is link here which didn't help me at all.
I know that i can do it with PHP Sessions
and AJAX
, but this means a lot of work to do.
I want to achieve this natively but do not know if possible.
I appreciate if you share your thoughts on this.