i have a problem on Standalone PWA, admin bar login not appear, maybe this same issue, i try this code on footer themes and all work
<?php if (is_user_logged_in()) { ?>
<script>
if (window.matchMedia('(display-mode: standalone)').matches) {*/
jQuery(document).ready(function($) {
var querystring = '?loginapp=true';
$('a').not('[href="#"]').each(function() {
var href = $(this).attr('href');
if (href) {
$(this).attr('href', href + querystring);
}
});
});
}
</script>
<?php }?>
sometimes url cached, for my issue i change the all link on pwa standalone mode when user is login.
i hope this fixed your issue
-
This reply was modified 3 years, 8 months ago by Gunawan Gee.