Prompting To Add To Home Screen Twice
-
I have this plugin installed and the caching strategy plugin you submitted earlier.
I made a pwa-config.php in /wp-content/plugins/ with the following in it:
<?php
/*
* Plugin Name: PWA Config
*/
add_filter( ‘web_app_manifest’, function( $manifest ) { $manifest[‘short_name’] = ‘Carteret NC’; return $manifest; } );function get_manifest_update( $manifest ) {
$manifest[‘start_url’] .= ‘/start/’;
return $manifest;
}
add_filter( ‘web_app_manifest’, ‘get_manifest_update’ );When I go to my site and am prompted to install to my home screen, it does fine.
When I launch my site from the app, it goes to my start_url just fine but then prompts me to add to home screen again even though I have already.
- The topic ‘Prompting To Add To Home Screen Twice’ is closed to new replies.